aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-08-16 02:27:55 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-08-16 02:58:42 +0000
commit075186968b42551def5942f3d609b819afd5f615 (patch)
treea8e1cf6a492f1ef67c227042cdb13e3698f53d42
parentefafc686296692077a5c57748576399f5822da85 (diff)
downloadports-075186968b42551def5942f3d609b819afd5f615.tar.gz
ports-075186968b42551def5942f3d609b819afd5f615.zip
science/py-dwave-ocean-sdk: New port: DWave: Meta-package for D-Wave's Ocean tools
-rw-r--r--science/Makefile1
-rw-r--r--science/py-dwave-ocean-sdk/Makefile38
-rw-r--r--science/py-dwave-ocean-sdk/distinfo3
-rw-r--r--science/py-dwave-ocean-sdk/pkg-descr4
4 files changed, 46 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 301137238f68..1837c961fd26 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -290,6 +290,7 @@
SUBDIR += py-dwave-inspector
SUBDIR += py-dwave-neal
SUBDIR += py-dwave-networkx
+ SUBDIR += py-dwave-ocean-sdk
SUBDIR += py-dwave-preprocessing
SUBDIR += py-dwave-samplers
SUBDIR += py-dwave-system
diff --git a/science/py-dwave-ocean-sdk/Makefile b/science/py-dwave-ocean-sdk/Makefile
new file mode 100644
index 000000000000..6eca33cc29b4
--- /dev/null
+++ b/science/py-dwave-ocean-sdk/Makefile
@@ -0,0 +1,38 @@
+PORTNAME= dwave-ocean-sdk
+DISTVERSION= 5.3.0
+CATEGORIES= science python # quantum-computing
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= DWave: Meta-package for D-Wave's Ocean tools
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>0:science/py-dimod@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dwave-cloud-client>0:science/py-dwave-cloud-client@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dwave-greedy>0:science/py-dwave-greedy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dwave-hybrid>0:science/py-dwave-hybrid@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dwave-inspector>0:science/py-dwave-inspector@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dwave-neal>0:science/py-dwave-neal@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dwave-networkx>0:science/py-dwave-networkx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dwave-preprocessing>0:science/py-dwave-preprocessing@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dwave-system>0:science/py-dwave-system@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dwave-tabu>0:science/py-dwave-tabu@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dwavebinarycsp>0:science/py-dwavebinarycsp@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}minorminer>0:math/py-minorminer@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}penaltymodel>0:science/py-penaltymodel@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_DEPENDS}
+RUN_DEPENDS= ${PY_DEPENDS}
+
+USES= python:3.9+
+USE_PYTHON= distutils autoplist unittest
+
+USE_GITHUB= yes
+GH_ACCOUNT= dwavesystems
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/science/py-dwave-ocean-sdk/distinfo b/science/py-dwave-ocean-sdk/distinfo
new file mode 100644
index 000000000000..b3352f58e6b4
--- /dev/null
+++ b/science/py-dwave-ocean-sdk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660615677
+SHA256 (dwavesystems-dwave-ocean-sdk-5.3.0_GH0.tar.gz) = 644acafff9d5049ed134d8d94a1beaf92fc048eba1d55b33776e3f04266f9652
+SIZE (dwavesystems-dwave-ocean-sdk-5.3.0_GH0.tar.gz) = 10256616
diff --git a/science/py-dwave-ocean-sdk/pkg-descr b/science/py-dwave-ocean-sdk/pkg-descr
new file mode 100644
index 000000000000..4bd3d49b8c86
--- /dev/null
+++ b/science/py-dwave-ocean-sdk/pkg-descr
@@ -0,0 +1,4 @@
+dwave-ocean-sdk is a meta-package that installs Ocean, a D-Wave's suite of
+tools for solving hard problems with quantum computers.
+
+WWW: https://docs.ocean.dwavesys.com/en/stable/