Date: Mon, 15 Aug 2022 23:48:55 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0943bfd0362c - main - science/py-dwave-inspector: New port: DWave: Problem Inspector Message-ID: <202208152348.27FNmtIJ051623@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0943bfd0362c41346ff33ce94f09278c00f0f13d commit 0943bfd0362c41346ff33ce94f09278c00f0f13d Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-15 23:32:20 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-15 23:48:52 +0000 science/py-dwave-inspector: New port: DWave: Problem Inspector --- science/Makefile | 1 + science/py-dwave-inspector/Makefile | 36 ++++++++++++++++++++++++++++++++++++ science/py-dwave-inspector/distinfo | 3 +++ science/py-dwave-inspector/pkg-descr | 5 +++++ science/py-dwave-inspector/pkg-plist | 21 +++++++++++++++++++++ 5 files changed, 66 insertions(+) diff --git a/science/Makefile b/science/Makefile index ce9926eeff35..07f14d75a923 100644 --- a/science/Makefile +++ b/science/Makefile @@ -286,6 +286,7 @@ SUBDIR += py-dlib SUBDIR += py-dwave-cloud-client SUBDIR += py-dwave-greedy + SUBDIR += py-dwave-inspector SUBDIR += py-dwave-neal SUBDIR += py-dwave-networkx SUBDIR += py-dwave-preprocessing diff --git a/science/py-dwave-inspector/Makefile b/science/py-dwave-inspector/Makefile new file mode 100644 index 000000000000..b5524a1f2ce4 --- /dev/null +++ b/science/py-dwave-inspector/Makefile @@ -0,0 +1,36 @@ +PORTNAME= dwave-inspector +DISTVERSION= 0.3.0 +CATEGORIES= science python # quantum-computing +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= DWave: Problem Inspector + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.8.17:science/py-dimod@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dwave-cloud-client>=0.8.3:science/py-dwave-cloud-client@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dwave-system>=1.3.0:science/py-dwave-system@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Flask>=1.1.1:www/py-flask@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy@${PY_FLAVOR} + +USES= python:3.9+ +USE_PYTHON= distutils cython unittest + +USE_GITHUB= yes +GH_ACCOUNT= dwavesystems + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +post-install: + # 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__ + +.include <bsd.port.mk> diff --git a/science/py-dwave-inspector/distinfo b/science/py-dwave-inspector/distinfo new file mode 100644 index 000000000000..c92d33d9cfc0 --- /dev/null +++ b/science/py-dwave-inspector/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660605010 +SHA256 (dwavesystems-dwave-inspector-0.3.0_GH0.tar.gz) = 8f96d87177ecd1a11473e515f383ec61c67f1b3d7c02ddffc226baea528dc7ae +SIZE (dwavesystems-dwave-inspector-0.3.0_GH0.tar.gz) = 842401 diff --git a/science/py-dwave-inspector/pkg-descr b/science/py-dwave-inspector/pkg-descr new file mode 100644 index 000000000000..f63683fd73e5 --- /dev/null +++ b/science/py-dwave-inspector/pkg-descr @@ -0,0 +1,5 @@ +dwave-inspector is a tool for visualizing problems submitted to, and answers +received from, a D-Wave structured solver such as an Advantage(TM) quantum +computer. + +WWW: https://docs.ocean.dwavesys.com/projects/inspector/en/latest/ diff --git a/science/py-dwave-inspector/pkg-plist b/science/py-dwave-inspector/pkg-plist new file mode 100644 index 000000000000..4ddd12f8bcc1 --- /dev/null +++ b/science/py-dwave-inspector/pkg-plist @@ -0,0 +1,21 @@ +%%PYTHON_SITELIBDIR%%/dwave/inspector/__init__.py +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/adapters%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/adapters%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/package_info%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/package_info%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/server%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/server%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/storage%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/storage%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/utils%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/utils%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/viewers%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/__pycache__/viewers%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/dwave/inspector/adapters.py +%%PYTHON_SITELIBDIR%%/dwave/inspector/package_info.py +%%PYTHON_SITELIBDIR%%/dwave/inspector/server.py +%%PYTHON_SITELIBDIR%%/dwave/inspector/storage.py +%%PYTHON_SITELIBDIR%%/dwave/inspector/utils.py +%%PYTHON_SITELIBDIR%%/dwave/inspector/viewers.py
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208152348.27FNmtIJ051623>