summaryrefslogtreecommitdiff
path: root/science/py-icet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-icet/Makefile')
-rw-r--r--science/py-icet/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/science/py-icet/Makefile b/science/py-icet/Makefile
index 2a01864fa3b9..9797bd59dace 100644
--- a/science/py-icet/Makefile
+++ b/science/py-icet/Makefile
@@ -1,5 +1,5 @@
PORTNAME= icet
-DISTVERSION= 3.1
+DISTVERSION= 3.2
CATEGORIES= science # chemistry, physics
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,10 +16,10 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-ase@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numba>=0.55:devel/py-numba@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pandas>=0.23:math/py-pandas@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0.0:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}spglib>=1.12.0:science/py-spglib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}trainstation>=1.1:science/py-trainstation@${PY_FLAVOR}
@@ -28,13 +28,16 @@ USE_PYTHON= pep517 autoplist pytest
USE_GITLAB= yes
GL_ACCOUNT= materials-modeling
-GL_TAGNAME= 3.1
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC= ${WRKSRC}/tests
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_icet.cpython-311.so
-# tests fail to run, see https://gitlab.com/materials-modeling/icet/-/issues/623
+pre-test: # this test causes the whole testsuite to hard-fail in the beginning for some reason
+ @${RM} -rf ${TEST_WRKSRC}/unittest/test_mchammer/test_site_occupancy_observer.py
+
+# tests as of 3.2: 33 failed, 794 passed, 5 warnings in 166.64s (0:02:46), see https://gitlab.com/materials-modeling/icet/-/issues/630
.include <bsd.port.mk>