2022-09-14 06:35:14 +02:00
|
|
|
PORTNAME= clingcon
|
|
|
|
DISTVERSION= 5.2.0
|
|
|
|
CATEGORIES= math python
|
2023-01-11 16:47:15 +01:00
|
|
|
MASTER_SITES= PYPI
|
2022-09-14 06:35:14 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Extension of clingo to handle constraints over integers
|
|
|
|
WWW= https://potassco.org/clingcon/
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
|
2022-09-14 07:00:24 +02:00
|
|
|
BUILD_DEPENDS= cmake:devel/cmake-core \
|
2022-09-14 06:35:14 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}clingo>0:math/py-clingo@${PY_FLAVOR}
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}clingo>0:math/py-clingo@${PY_FLAVOR}
|
|
|
|
|
2023-06-15 00:00:28 +02:00
|
|
|
USES= compiler:c++17-lang python
|
2022-09-14 06:35:14 +02:00
|
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/clingcon/_clingcon${PYTHON_EXT_SUFFIX}.so
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|