From nobody Sun Aug 14 21:36:20 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M5W1x2GbTz4YSy7; Sun, 14 Aug 2022 21:36:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M5W1x1pGNz3qcy; Sun, 14 Aug 2022 21:36:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660512981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yDFUqZEauFegT135ovjIbQ6kl+ItslXsb5kWDPZcQUk=; b=KJCmzelYKkJTUzBJKGGhD/56Li2v/VRwFNxToTZe2ApX1oDe6ZZb1V9trLis1LIlU2oEAl /BqA/pN9iUfxsK1hkY4gBuPfQObW51h1jKbmrAS7D0RrAOd3/kiXb1LHUua3HTPhMnbHqi eK+Rd/zJG3pCUQleHq8Y2K03PtBsYU2MelTvKsI1c+Artq6yVEgg+UJvR6FfNRXazuCW5/ ST3OpnwiBuY1ZJxv4m/EOfyitZnjOh4vNtvaaIQW8EENhE+W6rcPJSs6QrQKH63t27tW5v 6iW52GeenaxP6revc55K6wGtxofbqo/cNh4lDjzmwp8JIm3PUXnfVtjkS8qdbg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M5W1x0bSfz15KF; Sun, 14 Aug 2022 21:36:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27ELaK1t026704; Sun, 14 Aug 2022 21:36:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27ELaK04026703; Sun, 14 Aug 2022 21:36:20 GMT (envelope-from git) Date: Sun, 14 Aug 2022 21:36:20 GMT Message-Id: <202208142136.27ELaK04026703@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: baeb05cc505e - main - math/py-minorminer: New port: Heuristic tool for minor embedding of graphs List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: baeb05cc505ed5d78e459cd64443ede767ec2744 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660512981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yDFUqZEauFegT135ovjIbQ6kl+ItslXsb5kWDPZcQUk=; b=gzXB6GStCqvCwTBNUHEXLDPfaTbGAPntkeq30vf4zIv5ysq8Jqmj5SKnSCV5cZoU8/XoPo ZoHmm5MEUfa7BlJAgny5EyWxBfzAgLDiPok0j8ryLaODTcWqom19gOHC63MJ1mDhKTN4Ne OzyPFreU/APSjSSYg1W78tILm7HIlB87Iilogwl64e85HNFyF90tBx9v7A8lmjgQE3zqJf dvvysXGuA05EOJ/wc8CA1dab4VcPqGNnf/KQwRn+ZevVL5F+FZzAGCAmA7jcBK5szsmAc2 CghoL5H4flFJvrU2O+4gIxQVerTljzmZ7qYUZvJQLsHN4HDy1yudIvgif5qj8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660512981; a=rsa-sha256; cv=none; b=O7sBVwQYfpY6M6hLcbDh+XJKZxYAES54nHj6C8oJvJAEzr7YY9UuYi/yAUug2Ph1Gvo4p+ Nahxa3caInQRqzh+FYLpBZaJfbOzhbwaIKmbjsdHxve3QsypAN0koDtZ4o+q/YmmN2Kg/i rVa7sJ6ptaaCxxGoby/PLoWHGMlTywJPXFGB9XqrRhyKGbgadv4ZcnnYNg1Uq4k0S/jk67 aRy6/LFtL1tB7H8tEF+vtzF3841TM2TayyrCW8SqFvZh9/OhgqCf3dV6tmmdgXC2iyCZ7p aZ8cNHWgHoqWx+y3n2thUgqu6iQCWN5LEfBaHxzFh+Pqdbzy1TFhzb1qqNf8Yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=baeb05cc505ed5d78e459cd64443ede767ec2744 commit baeb05cc505ed5d78e459cd64443ede767ec2744 Author: Yuri Victorovich AuthorDate: 2022-08-14 19:01:03 +0000 Commit: Yuri Victorovich 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 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/