diff --git a/science/dwave-preprocessing/Makefile b/science/dwave-preprocessing/Makefile index 72d49e260fb0..713b97a6c223 100644 --- a/science/dwave-preprocessing/Makefile +++ b/science/dwave-preprocessing/Makefile @@ -1,44 +1,44 @@ PORTNAME= dwave-preprocessing -DISTVERSION= 0.6.2 +DISTVERSION= 0.6.3 CATEGORIES= science # quantum-computing MAINTAINER= yuri@FreeBSD.org COMMENT= DWave: Preprocessing tools to aid in solving binary quadratic models WWW= https://github.com/dwavesystems/dwave-preprocessing LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= dimod>0:science/dimod TEST_DEPENDS= catch>0:devel/catch \ spdlog>0:devel/spdlog USES= compiler:c++11-lang pkgconfig USE_GITHUB= yes GH_ACCOUNT= dwavesystems CXXFLAGS+= `pkg-config --cflags catch2 spdlog` LDFLAGS+= `pkg-config --libs catch2 spdlog` NO_BUILD= yes NO_ARCH= yes PLIST_FILES= include/dwave-preprocessing/fix_variables.hpp \ include/dwave-preprocessing/helper_data_structures.hpp \ include/dwave-preprocessing/helper_graph_algorithms.hpp \ include/dwave-preprocessing/implication_network.hpp \ include/dwave-preprocessing/mapping_policy.hpp \ include/dwave-preprocessing/posiform_info.hpp \ include/dwave-preprocessing/push_relabel.hpp BINARY_ALIAS= git=true do-install: cd ${WRKSRC}/dwave/preprocessing/include && \ ${COPYTREE_SHARE} dwave-preprocessing ${STAGEDIR}${PREFIX}/include do-test: # tests fail to link, see https://github.com/dwavesystems/dwave-preprocessing/issues/119 @cd ${WRKSRC}/testscpp && ${SETENV} ${MAKE_ENV} ${MAKE} DIMOD="-I${LOCALBASE}/include" .include diff --git a/science/dwave-preprocessing/distinfo b/science/dwave-preprocessing/distinfo index c37a7fdd4f11..0b5390946fca 100644 --- a/science/dwave-preprocessing/distinfo +++ b/science/dwave-preprocessing/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1689134786 -SHA256 (dwavesystems-dwave-preprocessing-0.6.2_GH0.tar.gz) = e73f9fcb9210351f02d3982cd497b7fcd2eb935275ba1f2ef798fb87805ef699 -SIZE (dwavesystems-dwave-preprocessing-0.6.2_GH0.tar.gz) = 125568 +TIMESTAMP = 1690000435 +SHA256 (dwavesystems-dwave-preprocessing-0.6.3_GH0.tar.gz) = 146b66859dc113ba17734deb518d0a6f23e29f6e692313f3051148e5c4107907 +SIZE (dwavesystems-dwave-preprocessing-0.6.3_GH0.tar.gz) = 125755 diff --git a/science/py-dwave-preprocessing/Makefile b/science/py-dwave-preprocessing/Makefile index 4bacfde25a9d..30d520254ead 100644 --- a/science/py-dwave-preprocessing/Makefile +++ b/science/py-dwave-preprocessing/Makefile @@ -1,39 +1,39 @@ PORTNAME= dwave-preprocessing -DISTVERSION= 0.6.2 +DISTVERSION= 0.6.3 CATEGORIES= science python # quantum-computing PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= DWave: Preprocessing tools to aid in solving binary quadratic models WWW= https://github.com/dwavesystems/dwave-preprocessing LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.12.2:science/py-dimod@${PY_FLAVOR} \ ${PYNUMPY} BUILD_DEPENDS= ${PY_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.30.0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libspdlog.so:devel/spdlog RUN_DEPENDS= ${PY_DEPENDS} USES= localbase:ldflags python USE_PYTHON= distutils cython unittest # 1 test fails, see https://github.com/dwavesystems/dwave-preprocessing/issues/74 USE_GITHUB= yes GH_ACCOUNT= dwavesystems TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/tests post-install: # strip binaries @${STRIP_CMD} \ ${STAGEDIR}${PYTHON_SITELIBDIR}/dwave/preprocessing/cyfix_variables${PYTHON_EXT_SUFFIX}.so \ ${STAGEDIR}${PYTHON_SITELIBDIR}/dwave/preprocessing/presolve/cypresolve${PYTHON_EXT_SUFFIX}.so # remove conflicting __init__.py, see https://github.com/dwavesystems/dwave-preprocessing/issues/45 @${RM} -r \ ${STAGEDIR}${PYTHON_SITELIBDIR}/dwave/__init__.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/dwave/__pycache__ .include diff --git a/science/py-dwave-preprocessing/distinfo b/science/py-dwave-preprocessing/distinfo index 28a918f2ae43..f3f2099a4b43 100644 --- a/science/py-dwave-preprocessing/distinfo +++ b/science/py-dwave-preprocessing/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1689135265 -SHA256 (dwavesystems-dwave-preprocessing-0.6.2_GH0.tar.gz) = e73f9fcb9210351f02d3982cd497b7fcd2eb935275ba1f2ef798fb87805ef699 -SIZE (dwavesystems-dwave-preprocessing-0.6.2_GH0.tar.gz) = 125568 +TIMESTAMP = 1690000633 +SHA256 (dwavesystems-dwave-preprocessing-0.6.3_GH0.tar.gz) = 146b66859dc113ba17734deb518d0a6f23e29f6e692313f3051148e5c4107907 +SIZE (dwavesystems-dwave-preprocessing-0.6.3_GH0.tar.gz) = 125755