git: d59c500b7375 - main - science/py-arbor: update 0.10.0 → 0.10.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Aug 2024 07:45:32 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d59c500b7375fb70518521eedf67ff0ed6538015 commit d59c500b7375fb70518521eedf67ff0ed6538015 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-08-27 07:45:11 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-08-27 07:45:28 +0000 science/py-arbor: update 0.10.0 → 0.10.1 Reported by: portscout --- science/py-arbor/Makefile | 13 +++++++++++-- science/py-arbor/distinfo | 6 +++--- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/science/py-arbor/Makefile b/science/py-arbor/Makefile index c08858163c7c..5154b6ba0c19 100644 --- a/science/py-arbor/Makefile +++ b/science/py-arbor/Makefile @@ -1,6 +1,6 @@ PORTNAME= arbor DISTVERSIONPREFIX= v -DISTVERSION= 0.10.0 +DISTVERSION= 0.10.1 CATEGORIES= science PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +16,7 @@ BUILD_DEPENDS= pybind11>0:devel/pybind11 \ LIB_DEPENDS= libarbor.so:science/arbor USES= cmake compiler:c++17-lang localbase:ldflags python -USE_PYTHON= flavors +USE_PYTHON= flavors pytest # tests fail to run, see https://github.com/arbor-sim/arbor/issues/2395 USE_GITHUB= yes GH_ACCOUNT= arbor-sim @@ -28,10 +28,19 @@ CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD} \ CXXFLAGS+= -fPIC +TEST_WRKSRC= ${WRKSRC}/test/unit_distributed +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +BINARY_ALIAS= make=${GMAKE} + post-patch: @${ECHO} ${DISTVERSION} > ${WRKSRC}/VERSION post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/arbor/_arbor${PYTHON_EXT_SUFFIX}.so +do-test: # some tests fail with 'make'-related errors + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -munittest discover -v -s ${WRKSRC} + .include <bsd.port.mk> diff --git a/science/py-arbor/distinfo b/science/py-arbor/distinfo index 5171a1ab39a6..4e401f03e334 100644 --- a/science/py-arbor/distinfo +++ b/science/py-arbor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1724615376 -SHA256 (arbor-sim-arbor-v0.10.0_GH0.tar.gz) = b1975da5dc89f830ef2148d57d98c44679cec6be009b34df48a4d8e0f6aa0abe -SIZE (arbor-sim-arbor-v0.10.0_GH0.tar.gz) = 10159008 +TIMESTAMP = 1724740903 +SHA256 (arbor-sim-arbor-v0.10.1_GH0.tar.gz) = 6a9a209dc20ab6edcf9847a70b0b4dbabf0c0d3c7e6e29b5bec7c00de9d7b8ae +SIZE (arbor-sim-arbor-v0.10.1_GH0.tar.gz) = 10159032