ports/math/py-clingo/Makefile
Yuri Victorovich e62d8e4ae7 math/{,py-}clingo: update 5.6.2 → 5.7.1
Reported by:	portscout
2024-04-20 21:01:37 -07:00

28 lines
841 B
Makefile

PORTNAME= clingo
DISTVERSION= 5.7.1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Grounder and solver for logic programs
WWW= https://potassco.org/clingo/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= cmake:devel/cmake-core \
${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR}
USES= compiler:c++14-lang python
USE_PYTHON= distutils autoplist unittest
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
.include <bsd.port.mk>