Matthias Andree 1403bb7765 *: Revise USES=python:... version range constraints
and strip all lower bounds of 3.9 or 3.10 because they are implied now.

python:3.9-X  -> python:-X
python:3.9+   -> python
python:3.10-X -> python:-X
python:3.10+  -> python
(options such as ,build preserved)
2025-11-01 18:23:22 +01:00

32 lines
931 B
Makefile

PORTNAME= dwavebinarycsp
DISTVERSION= 0.3.0
PORTREVISION= 2
CATEGORIES= science python # quantum-computing
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= DWave: Map CSP with binary variables to binary quadratic models
WWW= https://docs.ocean.dwavesys.com/projects/binarycsp/en/latest/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.12.13:science/py-dimod@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}networkx>=3.0:math/py-networkx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}penaltymodel>=1.1.0:science/py-penaltymodel@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PY_DEPENDS}
USES= python
USE_PYTHON= distutils autoplist unittest
USE_GITHUB= yes
GH_ACCOUNT= dwavesystems
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
NO_ARCH= yes
.include <bsd.port.mk>