Date: Sun, 14 Aug 2022 21:36:20 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: baeb05cc505e - main - math/py-minorminer: New port: Heuristic tool for minor embedding of graphs Message-ID: <202208142136.27ELaK04026703@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=baeb05cc505ed5d78e459cd64443ede767ec2744 commit baeb05cc505ed5d78e459cd64443ede767ec2744 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-14 19:01:03 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-14 21:36:16 +0000 math/py-minorminer: New port: Heuristic tool for minor embedding of graphs --- math/Makefile | 1 + math/py-minorminer/Makefile | 33 +++++++++++++++++++++++++++++++++ math/py-minorminer/distinfo | 3 +++ math/py-minorminer/pkg-descr | 4 ++++ 4 files changed, 41 insertions(+) diff --git a/math/Makefile b/math/Makefile index 5e5bd2db07e7..e6950328b9f2 100644 --- a/math/Makefile +++ b/math/Makefile @@ -899,6 +899,7 @@ SUBDIR += py-matplotlib-inline SUBDIR += py-matplotlib-scalebar SUBDIR += py-matplotlib2 + SUBDIR += py-minorminer SUBDIR += py-mip SUBDIR += py-mixsimulator SUBDIR += py-moarchiving diff --git a/math/py-minorminer/Makefile b/math/py-minorminer/Makefile new file mode 100644 index 000000000000..c23231fd7a1b --- /dev/null +++ b/math/py-minorminer/Makefile @@ -0,0 +1,33 @@ +PORTNAME= minorminer +DISTVERSION= 0.2.9 +CATEGORIES= math python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Heuristic tool for minor embedding of graphs + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fasteners>=0.15:devel/py-fasteners@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}homebase>=1.0.1:devel/py-homebase@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}networkx>=2.4:math/py-networkx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dwave-networkx>=0.8.11:science/py-dwave-networkx@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}rectangle-packer>=2.0.1:math/py-rectangle-packer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.8.0:science/py-scipy@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.6+ +USE_PYTHON= distutils cython autoplist + +USE_GITHUB= yes +GH_ACCOUNT= dwavesystems + +post-install: + @${STRIP_CMD} \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/minorminer/_minorminer${PYTHON_EXT_SUFFIX}.so \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/minorminer/busclique${PYTHON_EXT_SUFFIX}.so + +.include <bsd.port.mk> diff --git a/math/py-minorminer/distinfo b/math/py-minorminer/distinfo new file mode 100644 index 000000000000..65658dac5590 --- /dev/null +++ b/math/py-minorminer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660502687 +SHA256 (dwavesystems-minorminer-0.2.9_GH0.tar.gz) = d74e9c8345094c9dae4c1c6421557e4fdb81b3efce00c0b8b0459e3db09f5083 +SIZE (dwavesystems-minorminer-0.2.9_GH0.tar.gz) = 1262651 diff --git a/math/py-minorminer/pkg-descr b/math/py-minorminer/pkg-descr new file mode 100644 index 000000000000..6abe6c8a6214 --- /dev/null +++ b/math/py-minorminer/pkg-descr @@ -0,0 +1,4 @@ +minorminer is a heuristic tool for minor embedding: given a minor and target +graph, it tries to find a mapping that embeds the minor into the target. + +WWW: https://docs.ocean.dwavesys.com/projects/minorminer/en/latest/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208142136.27ELaK04026703>