diff --git a/science/ncrystal/Makefile b/science/ncrystal/Makefile index fb63deb58062..9cfb8da272b6 100644 --- a/science/ncrystal/Makefile +++ b/science/ncrystal/Makefile @@ -1,29 +1,29 @@ PORTNAME= ncrystal DISTVERSIONPREFIX= v -DISTVERSION= 4.2.0 +DISTVERSION= 4.2.6 CATEGORIES= science # physics MAINTAINER= yuri@FreeBSD.org COMMENT= Library for thermal neutron transport in crystals and other materials WWW= https://github.com/mctools/ncrystal LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:testing python:build shebangfix USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= mctools SHEBANG_FILES= tests/scripts/* CMAKE_TESTING_ON= NCRYSTAL_ENABLE_TESTING \ NCRYSTAL_ENABLE_CORE_TEST post-install: # workaround for https://github.com/mctools/ncrystal/issues/150 @${RM} ${STAGEDIR}${PREFIX}/*.sh -# tests as of 4.1.4: 54% tests passed, 37 tests failed out of 80, see https://github.com/mctools/ncrystal/issues/231 +# tests as of 4.2.6: 52% tests passed, 42 tests failed out of 87 .include diff --git a/science/ncrystal/distinfo b/science/ncrystal/distinfo index a9c11355be17..1a8eec6572c9 100644 --- a/science/ncrystal/distinfo +++ b/science/ncrystal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749700880 -SHA256 (mctools-ncrystal-v4.2.0_GH0.tar.gz) = bc01465f4e7db596ebba34df96ad744eea7cd1d2308fb2ff1ae532d0dbc50725 -SIZE (mctools-ncrystal-v4.2.0_GH0.tar.gz) = 2812384 +TIMESTAMP = 1753507988 +SHA256 (mctools-ncrystal-v4.2.6_GH0.tar.gz) = 4e7926d8bb931cce3546e9406a2a3d9b182b864e94ce34e31b1a6d9475479602 +SIZE (mctools-ncrystal-v4.2.6_GH0.tar.gz) = 2821990 diff --git a/science/py-ncrystal/Makefile b/science/py-ncrystal/Makefile index 16b71cb75d5e..ed1e1279b00e 100644 --- a/science/py-ncrystal/Makefile +++ b/science/py-ncrystal/Makefile @@ -1,39 +1,39 @@ PORTNAME= ncrystal DISTVERSIONPREFIX= v -DISTVERSION= 4.2.0 +DISTVERSION= 4.2.6 CATEGORIES= science # physics PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Library for thermal neutron transport in crystals and other materials WWW= https://mctools.github.io/ncrystal/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} \ cmake:devel/cmake-core RUN_DEPENDS= ${PYNUMPY} USES= python USE_PYTHON= pep517 concurrent autoplist USE_GITHUB= yes GH_ACCOUNT= mctools TEST_ENV= ${MAKE_ENV} \ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ PATH=${STAGEDIR}${PREFIX}/bin:${PATH} #TEST_WRKSRC= ${WRKSRC}/ncrystal_python post-install: # strip binary #@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/NCrystal/ncrystal_pyinst_data/lib/libNCrystal.so -do-test: # the third test fails for an unknown reason +do-test: @cd ${TEST_WRKSRC} && \ ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m NCrystal.test all .include diff --git a/science/py-ncrystal/distinfo b/science/py-ncrystal/distinfo index a23e154ff514..aca64d45e427 100644 --- a/science/py-ncrystal/distinfo +++ b/science/py-ncrystal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749705869 -SHA256 (mctools-ncrystal-v4.2.0_GH0.tar.gz) = bc01465f4e7db596ebba34df96ad744eea7cd1d2308fb2ff1ae532d0dbc50725 -SIZE (mctools-ncrystal-v4.2.0_GH0.tar.gz) = 2812384 +TIMESTAMP = 1753507607 +SHA256 (mctools-ncrystal-v4.2.6_GH0.tar.gz) = 4e7926d8bb931cce3546e9406a2a3d9b182b864e94ce34e31b1a6d9475479602 +SIZE (mctools-ncrystal-v4.2.6_GH0.tar.gz) = 2821990