git: 075186968b42 - main - science/py-dwave-ocean-sdk: New port: DWave: Meta-package for D-Wave's Ocean tools

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 16 Aug 2022 02:58:47 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=075186968b42551def5942f3d609b819afd5f615

commit 075186968b42551def5942f3d609b819afd5f615
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-16 02:27:55 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-16 02:58:42 +0000

    science/py-dwave-ocean-sdk: New port: DWave: Meta-package for D-Wave's Ocean tools
---
 science/Makefile                     |  1 +
 science/py-dwave-ocean-sdk/Makefile  | 38 ++++++++++++++++++++++++++++++++++++
 science/py-dwave-ocean-sdk/distinfo  |  3 +++
 science/py-dwave-ocean-sdk/pkg-descr |  4 ++++
 4 files changed, 46 insertions(+)

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/