From nobody Mon Aug 15 23:48:56 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 4M69wS5gDYz4ZL4x; Mon, 15 Aug 2022 23:48:56 +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 4M69wS5FJqz3sxS; Mon, 15 Aug 2022 23:48:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660607336; 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=n9JLo60IhK086a6NEDRa5cEqDVZzu3psc7H7t719UyI=; b=mEJSEwd/KZ7x1u+q4mq+S5zFOpu3CnBASdeBptsCFa9wDwMibXXioYQVy8/Z7kgyeQjDsh CwAYjzRyTW1fjoQIE/L2uKg0zGS0rvjYmL0mNHqRAe8FOrMDKnM7sxMcSLOikSUKu7DEft nCBds3gtL5RhtOAgYOJ+jRrGAYuy12XlBJlq2zbvfyzmhcPSn2iV7x54FGTqDJvy6PdBMa vbHX+fXfJFQkKYJH0sbx+p1aPZ5HiRSxcnq2QuKhKB1IEnrO70vPQfKt4JUi7FhQgias4o rdvfpSalc6E2AbpaCg7GTfwmmNn4neXfRo3hYAsfa//aX4EwPZPSLn/zy5kd7g== 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 4M69wS3vbPzp24; Mon, 15 Aug 2022 23:48:56 +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 27FNmuHD051648; Mon, 15 Aug 2022 23:48:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27FNmuSV051647; Mon, 15 Aug 2022 23:48:56 GMT (envelope-from git) Date: Mon, 15 Aug 2022 23:48:56 GMT Message-Id: <202208152348.27FNmuSV051647@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: ee99418086d7 - main - science/py-dwavebinarycsp: New port: DWave: Map CSP with binary variables to binary quadratic models 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: ee99418086d76768347fa8699fd32792b9fccb93 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660607336; 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=n9JLo60IhK086a6NEDRa5cEqDVZzu3psc7H7t719UyI=; b=Vhsu8oUIawjzPry7MwBT5LdwZN7rvcK8Ey26lAGcL9s37kPf0beyWwDBVrfBUr7WpOozVC 4WVj8++sazx75L5YyJRlqcp+7Q/9zJRkMP5MfslqASvsfNk/Tqyj+AU+JPy4zOULW76xT1 tJpzj2nnZ73cYlgnAw2nOqo5tAGEvKqGgjNHPySsUqO1ztcxQixUGFWTxsMyDP2U9yMmnT t4NtMfo3pxfePtEQ3tfUY6sy3q5cchs2MxcldL65CcJ7EEHWkfikGI1XtCSDJ4PJ0BRdXW fgHPkKAGtuReMXebBSnU//gdsQalmI7A77MupPydNXUuJszu1M6XKjPRHLd0fg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660607336; a=rsa-sha256; cv=none; b=nL2mgh02BvkT7YTFdYV7OAP2V4nyZjYK5Dz8CfWDQrXE5YK4i4oqUSEw0V7hzH/dKPz9vg eKCx2GB9Zt3KhiWqmRKoZ1yrCXzSoehv4HIEfJOxHE61NMbF/18zflLiPi8i1qKLE0iuhY b7P6cnVwrd03Wi1NY2kmoXwjCrwxx20f9L9mnclzbve1ef01SmJUMSdMkhLTaKAtHduFTN pkiHkkY253AJQYnjz89KQ5c7OSu1g2fxZ4bvNDlmhYXsYPjOPrp+OEvtCvtFxgxv5qdBKM 6ufARQ0JerUSo42mwqTNU3R3ox3vdkuP2Q6frMDhqBlmJF4n5ntpAN5lgZkqBw== 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=ee99418086d76768347fa8699fd32792b9fccb93 commit ee99418086d76768347fa8699fd32792b9fccb93 Author: Yuri Victorovich AuthorDate: 2022-08-15 23:48:12 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-15 23:48:53 +0000 science/py-dwavebinarycsp: New port: DWave: Map CSP with binary variables to binary quadratic models --- science/Makefile | 1 + science/py-dwavebinarycsp/Makefile | 29 +++++++++++++++++++++++++++++ science/py-dwavebinarycsp/distinfo | 3 +++ science/py-dwavebinarycsp/pkg-descr | 4 ++++ 4 files changed, 37 insertions(+) diff --git a/science/Makefile b/science/Makefile index 07f14d75a923..1af7a0dfe3f0 100644 --- a/science/Makefile +++ b/science/Makefile @@ -293,6 +293,7 @@ SUBDIR += py-dwave-samplers SUBDIR += py-dwave-system SUBDIR += py-dwave-tabu + SUBDIR += py-dwavebinarycsp SUBDIR += py-eccodes SUBDIR += py-esda SUBDIR += py-fresnel diff --git a/science/py-dwavebinarycsp/Makefile b/science/py-dwavebinarycsp/Makefile new file mode 100644 index 000000000000..71ef3e763058 --- /dev/null +++ b/science/py-dwavebinarycsp/Makefile @@ -0,0 +1,29 @@ +PORTNAME= dwavebinarycsp +DISTVERSION= 0.2.0 +CATEGORIES= science python # quantum-computing +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= DWave: Map CSP with binary variables to binary quadratic models + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.10.17:science/py-dimod@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}penaltymodel>=1.0.0:science/py-penaltymodel@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} +xTEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy@${PY_FLAVOR} + +USES= python:3.9+ +USE_PYTHON= distutils cython autoplist unittest + +USE_GITHUB= yes +GH_ACCOUNT= dwavesystems + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include diff --git a/science/py-dwavebinarycsp/distinfo b/science/py-dwavebinarycsp/distinfo new file mode 100644 index 000000000000..1969f2877b1a --- /dev/null +++ b/science/py-dwavebinarycsp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660606505 +SHA256 (dwavesystems-dwavebinarycsp-0.2.0_GH0.tar.gz) = 637a7b8452c7e385c84405b021eb1b95f2450ed8844e76ef7d2e43465383849b +SIZE (dwavesystems-dwavebinarycsp-0.2.0_GH0.tar.gz) = 197915 diff --git a/science/py-dwavebinarycsp/pkg-descr b/science/py-dwavebinarycsp/pkg-descr new file mode 100644 index 000000000000..ffc8572d8620 --- /dev/null +++ b/science/py-dwavebinarycsp/pkg-descr @@ -0,0 +1,4 @@ +dwavebinarycsp is a library to construct a binary quadratic model from a +constraint satisfaction problem with small constraints over binary variables. + +WWW: https://docs.ocean.dwavesys.com/projects/binarycsp/en/latest/