summaryrefslogtreecommitdiff
path: root/science/py-kimpy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-kimpy/Makefile')
-rw-r--r--science/py-kimpy/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/science/py-kimpy/Makefile b/science/py-kimpy/Makefile
index 442b5c9a82d3..0c537ae18c1e 100644
--- a/science/py-kimpy/Makefile
+++ b/science/py-kimpy/Makefile
@@ -1,6 +1,5 @@
PORTNAME= kimpy
-DISTVERSION= 2.1.1
-PORTREVISION= 1
+DISTVERSION= 2.1.3
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +18,11 @@ RUN_DEPENDS= ${PYNUMPY}
USES= compiler:c++20-lang pkgconfig python
USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://github.com/openkim/kimpy/issues/16
+TEST_WRKSRC= ${WRKSRC}/tests
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/kimpy/*${PYTHON_TAG}.so
+# tests as of 2.1.3: 21 passed in 2.91s
+
.include <bsd.port.mk>