Skip to content

Commit

Permalink
math/py-clingo: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Sep 14, 2022
1 parent 6a86622 commit 32efa63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions math/py-clingo/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= clingo
PORTVERSION= 5.6.0
DISTVERSION= 5.6.0
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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
Expand Down

0 comments on commit 32efa63

Please sign in to comment.