Date: Sun, 14 Aug 2022 08:22:02 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: d092c6e0aca1 - main - science/py-dwave-networkx: New port: DWave: Extension of the NetworkX Python package for graphs Message-ID: <202208140822.27E8M2s2013918@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=d092c6e0aca1bf96c2bb307d5157bb9f90aa2f1a commit d092c6e0aca1bf96c2bb307d5157bb9f90aa2f1a Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-14 08:21:02 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-14 08:22:00 +0000 science/py-dwave-networkx: New port: DWave: Extension of the NetworkX Python package for graphs --- science/Makefile | 1 + science/py-dwave-networkx/Makefile | 30 ++++++++++++++++++++++++++++++ science/py-dwave-networkx/distinfo | 3 +++ science/py-dwave-networkx/pkg-descr | 7 +++++++ 4 files changed, 41 insertions(+) diff --git a/science/Makefile b/science/Makefile index bdc55284f279..f3d473705fe7 100644 --- a/science/Makefile +++ b/science/Makefile @@ -285,6 +285,7 @@ SUBDIR += py-dipy SUBDIR += py-dlib SUBDIR += py-dwave-neal + SUBDIR += py-dwave-networkx SUBDIR += py-dwave-samplers SUBDIR += py-dwave-tabu SUBDIR += py-eccodes diff --git a/science/py-dwave-networkx/Makefile b/science/py-dwave-networkx/Makefile new file mode 100644 index 000000000000..8db0e5a9bc82 --- /dev/null +++ b/science/py-dwave-networkx/Makefile @@ -0,0 +1,30 @@ +PORTNAME= dwave-networkx +DISTVERSION= 0.8.12 +CATEGORIES= science graphics # quantum-computing +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= DWave: Extension of the NetworkX Python package for graphs + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.10.8:science/py-dimod@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}networkx>=2.4:math/py-networkx@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= distutils cython autoplist unittest + +USE_GITHUB= yes +GH_ACCOUNT= dwavesystems + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +.include <bsd.port.mk> diff --git a/science/py-dwave-networkx/distinfo b/science/py-dwave-networkx/distinfo new file mode 100644 index 000000000000..0b57394b1d19 --- /dev/null +++ b/science/py-dwave-networkx/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660463286 +SHA256 (dwavesystems-dwave-networkx-0.8.12_GH0.tar.gz) = 92c1ada60d08c63bbd8e3ad408f49d61089ec95a1460b492a90da20d8b84bb86 +SIZE (dwavesystems-dwave-networkx-0.8.12_GH0.tar.gz) = 1405917 diff --git a/science/py-dwave-networkx/pkg-descr b/science/py-dwave-networkx/pkg-descr new file mode 100644 index 000000000000..e00150f775c2 --- /dev/null +++ b/science/py-dwave-networkx/pkg-descr @@ -0,0 +1,7 @@ +D-Wave NetworkX is an extension of NetworkX - a Python language package for +exploration and analysis of networks and network algorithms - for users of +D-Wave Systems. It provides tools for working with Chimera graphs and +implementations of graph-theory algorithms on the D-Wave system and other +binary quadratic model samplers. + +WWW: https://github.com/dwavesystems/dwave-networkx
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208140822.27E8M2s2013918>