mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
science/py-arbor: update 0.10.0 → 0.10.1
Reported by: portscout
This commit is contained in:
parent
5ee73d9fb9
commit
d59c500b73
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user