From nobody Sun Aug 14 05:12:18 2022 X-Original-To: dev-commits-ports-main@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 4M55BW1k4nz4Yr8J; Sun, 14 Aug 2022 05:12:19 +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 4M55BW1G5Zz3Gjv; Sun, 14 Aug 2022 05:12:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660453939; 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=rcsBROTn34GJy9UpD/0SMSa7NP7eYnUuEmOdhtDnGlk=; b=P6yLcUElR79uh1+ffgqR4m9dxnNHUOxavfX3XAjLnvnfHJyMjqBZDz0ZZwZwfXz3bLiWVz zsrhRYtVHvS4ieISkMN/D26Kg3A5GzwJV3S/TZr0dWxSa4qQszr1fWvS3TPbzwvjOIQzPh qgH9T16QMI/WNHtf2eqQ673u844ta3hRvkJ/9ctOosKHL7F1QalZgmVSXFFG4VdLF1bmK3 EBmkG8H+n8ppqUyVQvJH6yisLObBHVfxQpslpNfS6zhST9x4kFh6ZzBWlMcWC9+o7IgS0v lbTe1IAl4WRwCyxnaWrR65+DEOfjdbbkj2dcgvqEkvA1mjCiZXV7LpG7cRDsNw== 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 4M55BW0LN4zfFn; Sun, 14 Aug 2022 05:12:19 +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 27E5CItX045727; Sun, 14 Aug 2022 05:12:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27E5CIul045726; Sun, 14 Aug 2022 05:12:18 GMT (envelope-from git) Date: Sun, 14 Aug 2022 05:12:18 GMT Message-Id: <202208140512.27E5CIul045726@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: 29ad935bb800 - main - science/py-dimod: New port: DWave: Shared API for QUBO/Ising samplers List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 29ad935bb800a12512d3b5ad319a543a68429737 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660453939; 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=rcsBROTn34GJy9UpD/0SMSa7NP7eYnUuEmOdhtDnGlk=; b=vIatOAf593eJd9iYmc+LadbODISI1YPAzYvJyI/o4IEvfoQq/FHjgIghk6bAPAON1NiRBH J5RpUhwGgSRg8BTqeNFVfLmYT+J4G/FdHRWdiPfIt8BbdWbih7+R13T4gSjWR8M52lab74 H4KtcLrQNpqTcK7PFjb8hMCAkIyJF6IU23CNjZf3EaArJ20mPXMTl6KBB3U/AKWi/6TNVx 3TvXKcZ8d/cRPxMdiUA85YVdd4NT3L38MVofBx4X2VCxXViKXbvbUx0q30ItrBd6Prvn4j 9hJCwTPBXQvauyhhO4QBUaM+lr+8+WNTqYKPqzg9zE1SKyV9+OM2B43AoTlrgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660453939; a=rsa-sha256; cv=none; b=NWkgvecQbrYZUdsqMS1G2Bf5muNesI6IUX1PCz47XknmXuSEFRREeyA8OYR3iyUj6JGQCo Jd9GKimgl9ZH5wOawpOkejh9L7mAK3Xx8CJFSvKB+SPkOpbTI3ZgVRzzy16f5JAh0rfSxw +kyzw7y+awKdrBv0B74dpZoO2o+fSiRmUHiUScz5XSWfMNlZs7AbHfRz1Eox0WLhBZcpcL vuYM4wQNcjmUS72g39rJCC9zTUXzsDFQrIMgWXt8JUB9w0FRVPQETqekns/DzCztz9Rit3 tkqCfWdxYPTL2oV5eKU3Jhp+CqdsUHMNNzTj6z9SCYuZH/+nStXreXylISVPUQ== 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=29ad935bb800a12512d3b5ad319a543a68429737 commit 29ad935bb800a12512d3b5ad319a543a68429737 Author: Yuri Victorovich AuthorDate: 2022-08-14 05:09:15 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-14 05:12:16 +0000 science/py-dimod: New port: DWave: Shared API for QUBO/Ising samplers --- science/Makefile | 2 ++ science/py-dimod/Makefile | 26 ++++++++++++++++++++++++++ science/py-dimod/distinfo | 3 +++ science/py-dimod/pkg-descr | 11 +++++++++++ 4 files changed, 42 insertions(+) diff --git a/science/Makefile b/science/Makefile index 6e3bc001aab0..269b4ca052c4 100644 --- a/science/Makefile +++ b/science/Makefile @@ -248,6 +248,7 @@ SUBDIR += plumed SUBDIR += pnetcdf SUBDIR += precice + SUBDIR += psi4 SUBDIR += pulseview SUBDIR += py-DendroPy SUBDIR += py-GPy @@ -281,6 +282,7 @@ SUBDIR += py-cirq-pasqal SUBDIR += py-cirq-rigetti SUBDIR += py-coards + SUBDIR += py-dimod SUBDIR += py-dipy SUBDIR += py-dlib SUBDIR += py-eccodes diff --git a/science/py-dimod/Makefile b/science/py-dimod/Makefile new file mode 100644 index 000000000000..6aed1b4e64f5 --- /dev/null +++ b/science/py-dimod/Makefile @@ -0,0 +1,26 @@ +PORTNAME= dimod +DISTVERSION= 0.11.4 +CATEGORIES= science graphics +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= DWave: Shared API for QUBO/Ising samplers + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}reno>0:textproc/py-reno@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.7+ +USE_PYTHON= distutils cython autoplist unittest # tests are broken, see https://github.com/dwavesystems/dimod/issues/1234 + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +post-install: + @${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} -name "*${PYTHON_EXT_SUFFIX}.so" | ${XARGS} ${STRIP_CMD} + +.include diff --git a/science/py-dimod/distinfo b/science/py-dimod/distinfo new file mode 100644 index 000000000000..73d6a71a1597 --- /dev/null +++ b/science/py-dimod/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660431665 +SHA256 (dimod-0.11.4.tar.gz) = 3b0db8f6cb37d2679658dbaaec8d6291675b35f36d7b1f8ee1a132b57b4dee3e +SIZE (dimod-0.11.4.tar.gz) = 1858324 diff --git a/science/py-dimod/pkg-descr b/science/py-dimod/pkg-descr new file mode 100644 index 000000000000..dcaf688769da --- /dev/null +++ b/science/py-dimod/pkg-descr @@ -0,0 +1,11 @@ +dimod is a part of the software stack for accessing quantum computing hardware +made by D-Wave company. + +dimod is a shared API for samplers. It provides: +* classes for quadratic models - such as the binary quadratic model (BQM) class + that contains Ising and QUBO models used by samplers such as the D-Wave system + - and higher-order (non-quadratic) models +* reference examples of samplers and composed samplers +* abstract base classes for constructing new samplers and composed samplers + +WWW: https://github.com/dwavesystems/dimod