Skip to content

Commit

Permalink
science/py-dwave-ocean-sdk: New port: DWave: Meta-package for D-Wave'…
Browse files Browse the repository at this point in the history
…s Ocean tools
  • Loading branch information
yurivict committed Aug 16, 2022
1 parent efafc68 commit 0751869
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions science/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
38 changes: 38 additions & 0 deletions science/py-dwave-ocean-sdk/Makefile
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 3 additions & 0 deletions science/py-dwave-ocean-sdk/distinfo
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions science/py-dwave-ocean-sdk/pkg-descr
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit 0751869

Please sign in to comment.