diff --git a/science/py-dwave-samplers/Makefile b/science/py-dwave-samplers/Makefile index 4a4d82668249..283f87a4e43e 100644 --- a/science/py-dwave-samplers/Makefile +++ b/science/py-dwave-samplers/Makefile @@ -1,49 +1,49 @@ PORTNAME= dwave-samplers -DISTVERSION= 1.2.0 +DISTVERSION= 1.3.0 CATEGORIES= science python # quantum-computing PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= DWave: Classical algorithms for solving binary quadratic models WWW= https://github.com/dwavesystems/dwave-samplers LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.12.13:science/py-dimod@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.6.3:math/py-networkx@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}reno>0:textproc/py-reno@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR} RUN_DEPENDS= ${PY_DEPENDS} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR} USES= python -USE_PYTHON= distutils unittest +USE_PYTHON= distutils unittest # 2 tests fail, see https://github.com/dwavesystems/dwave-samplers/issues/66 USE_GITHUB= yes GH_ACCOUNT= dwavesystems TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/tests post-install: # fix file paths, workaround for https://github.com/dwavesystems/dwave-samplers/issues/31 @cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ( \ for f in `${FIND} samplers -name "*.so"`; do \ ${MV} $$f dwave/$$f; \ done; \ ${RM} -r samplers; \ ) # strip binaries @${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/dwave/samplers -name "*${PYTHON_EXT_SUFFIX}.so" | ${XARGS} ${STRIP_CMD} # remove conflicting __init__.py, see https://github.com/dwavesystems/dwave-system/issues/462 @${RM} -r \ ${STAGEDIR}${PYTHON_SITELIBDIR}/dwave/__init__.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/dwave/__pycache__ post-test: @${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${FILESDIR}/example.py .include diff --git a/science/py-dwave-samplers/distinfo b/science/py-dwave-samplers/distinfo index fecdbb1d4f3b..17abea740f3f 100644 --- a/science/py-dwave-samplers/distinfo +++ b/science/py-dwave-samplers/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1705614591 -SHA256 (dwavesystems-dwave-samplers-1.2.0_GH0.tar.gz) = 080fd7d78a173efb14a5333315a587725a8b3c9ce084865e78cff66afc793204 -SIZE (dwavesystems-dwave-samplers-1.2.0_GH0.tar.gz) = 147099 +TIMESTAMP = 1721009758 +SHA256 (dwavesystems-dwave-samplers-1.3.0_GH0.tar.gz) = ed4b3a4e3da76c35dfb3d70e4bb45fe3c0b5eb277115d41894381cf8c9cd5999 +SIZE (dwavesystems-dwave-samplers-1.3.0_GH0.tar.gz) = 147340