git: cf5e9659ef7f - main - science/py-dwave-cloud-client: New port: DWave: REST interface to communicate with D-Wave Solver API servers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Aug 2022 18:38:06 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf5e9659ef7fbaebd172904d3a37446d13eabf28 commit cf5e9659ef7fbaebd172904d3a37446d13eabf28 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-14 17:44:11 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-14 18:37:56 +0000 science/py-dwave-cloud-client: New port: DWave: REST interface to communicate with D-Wave Solver API servers --- science/Makefile | 1 + science/py-dwave-cloud-client/Makefile | 34 +++++++++++++++++++++++++++++++++ science/py-dwave-cloud-client/distinfo | 3 +++ science/py-dwave-cloud-client/pkg-descr | 9 +++++++++ 4 files changed, 47 insertions(+) diff --git a/science/Makefile b/science/Makefile index 9870cdfd19d0..9cd8bb93c0a2 100644 --- a/science/Makefile +++ b/science/Makefile @@ -284,6 +284,7 @@ SUBDIR += py-dimod SUBDIR += py-dipy SUBDIR += py-dlib + SUBDIR += py-dwave-cloud-client SUBDIR += py-dwave-neal SUBDIR += py-dwave-networkx SUBDIR += py-dwave-preprocessing diff --git a/science/py-dwave-cloud-client/Makefile b/science/py-dwave-cloud-client/Makefile new file mode 100644 index 000000000000..c6605afda565 --- /dev/null +++ b/science/py-dwave-cloud-client/Makefile @@ -0,0 +1,34 @@ +PORTNAME= dwave-cloud-client +DISTVERSION= 0.4.0 +CATEGORIES= science python www # quantum-computing +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= DWave: REST interface to communicate with D-Wave Solver API servers + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dateutil>=2.7:devel/py-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dimod>=0.10.5:science/py-dimod@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}diskcache>=5.2.1:devel/py-diskcache@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dwave-networkx>=0.8.9:science/py-dwave-networkx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}homebase>=1.0.0:devel/py-homebase@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}plucky>=0.4.3:devel/py-plucky@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic>=1.7.3:devel/py-pydantic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.18:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.7+ +USE_PYTHON= distutils cython autoplist unittest # 1 test fail, probably due to devel/py-homebase issues + +USE_GITHUB= yes +GH_ACCOUNT= dwavesystems + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +.include <bsd.port.mk> diff --git a/science/py-dwave-cloud-client/distinfo b/science/py-dwave-cloud-client/distinfo new file mode 100644 index 000000000000..2027d4f35ea5 --- /dev/null +++ b/science/py-dwave-cloud-client/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660498468 +SHA256 (dwavesystems-dwave-cloud-client-0.4.0_GH0.tar.gz) = b04da824924df7d9f990615cfa686407c443effaa572ebd744834cacf8ccf93a +SIZE (dwavesystems-dwave-cloud-client-0.4.0_GH0.tar.gz) = 58149 diff --git a/science/py-dwave-cloud-client/pkg-descr b/science/py-dwave-cloud-client/pkg-descr new file mode 100644 index 000000000000..53bf6d78d25c --- /dev/null +++ b/science/py-dwave-cloud-client/pkg-descr @@ -0,0 +1,9 @@ +D-Wave Cloud Client is a minimal implementation of the REST interface used to +communicate with D-Wave Sampler API (SAPI) servers. + +SAPI is an application layer built to provide resource discovery, permissions, +and scheduling for quantum annealing resources at D-Wave Systems. This package +provides a minimal Python interface to that layer without compromising the +quality of interactions and workflow. + +WWW: https://github.com/dwavesystems/dwave-cloud-client