aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-09-14 17:33:56 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-09-14 17:34:22 +0000
commit32efa63008d30961b2fbefd80b06a86b965e8daa (patch)
tree25651c2edd99cf9d178e297f622ed944115262a6 /math
parent6a86622c40d8773051a9c585e2f7b72af2426a0a (diff)
downloadports-32efa63008d30961b2fbefd80b06a86b965e8daa.tar.gz
ports-32efa63008d30961b2fbefd80b06a86b965e8daa.zip
math/py-clingo: Fix tests
Diffstat (limited to 'math')
-rw-r--r--math/py-clingo/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/py-clingo/Makefile b/math/py-clingo/Makefile
index f1a8fc9a9a32..bee12094035c 100644
--- a/math/py-clingo/Makefile
+++ b/math/py-clingo/Makefile
@@ -1,5 +1,5 @@
PORTNAME= clingo
-PORTVERSION= 5.6.0
+DISTVERSION= 5.6.0
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,8 +18,8 @@ BUILD_DEPENDS= cmake:devel/cmake-core \
USES= compiler:c++14-lang python:3.6+
USE_PYTHON= distutils autoplist unittest # some tests break, see https://github.com/potassco/clingo/issues/390
-TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-TEST_WRKSRC= ${WRKSRC}/libpyclingo/clingo/tests
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/clingo
+TEST_WRKSRC= ${WRKSRC}/libpyclingo
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/clingo/_clingo${PYTHON_EXT_SUFFIX}.so