git: 32efa63008d3 - main - math/py-clingo: Fix tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Sep 2022 17:34:24 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=32efa63008d30961b2fbefd80b06a86b965e8daa
commit 32efa63008d30961b2fbefd80b06a86b965e8daa
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-14 17:33:56 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-14 17:34:22 +0000
math/py-clingo: Fix tests
---
math/py-clingo/Makefile | 6 +++---
1 file 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