science/py-dwave-inspector: New port: DWave: Problem Inspector

This commit is contained in:
Yuri Victorovich 2022-08-15 16:32:20 -07:00
parent d23db5b655
commit 0943bfd036
5 changed files with 66 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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/

View File

@ -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