From nobody Sun Aug 14 18:38:06 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 4M5R4G4FB3z4YgtT; Sun, 14 Aug 2022 18:38:06 +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 4M5R4G20nzz3CFQ; Sun, 14 Aug 2022 18:38:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660502286; 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=5aDQ0BWANmTRWlzNFJQGIHlD75sbJjHKj3WA29oPphc=; b=EJoq1dvzRPVRyFDn5axe5FE7PWNpPCUn+TsFqCSbn7N86giBj9yYdzQ/zFtc4PS4Cr0/2t lfRf3dJI+YTYB7f+EXVomNus3NR77pT/6sj/vlp6Q1k49mnobEjigueTDhw4yitQc/q68b pUKHD8NqXzS4AKHNTb3FHII7PVU8CZEAMNcGTa7NkCD4m50dqaVmTVS+fEnXG+biT3ui/J aLoNQeNfpcJVONtuwF75xBxxED/Lqww8VeO2xYu4mkK94dEvKKp3CCGkfOpQtrQ+qSOXEa D3YEj8VM55xXFjQYMIidLy1h9qxFvJYbEg94RkMPVqNfOO7wAGR8+JJUCUbkcA== 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 4M5R4G172yz11PV; Sun, 14 Aug 2022 18:38:06 +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 27EIc6P3073838; Sun, 14 Aug 2022 18:38:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27EIc6K8073837; Sun, 14 Aug 2022 18:38:06 GMT (envelope-from git) Date: Sun, 14 Aug 2022 18:38:06 GMT Message-Id: <202208141838.27EIc6K8073837@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: cf5e9659ef7f - main - science/py-dwave-cloud-client: New port: DWave: REST interface to communicate with D-Wave Solver API servers 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: cf5e9659ef7fbaebd172904d3a37446d13eabf28 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660502286; 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=5aDQ0BWANmTRWlzNFJQGIHlD75sbJjHKj3WA29oPphc=; b=Sk/QRfG4VYzC9R36Nmpzv1SNk7pFhYx5sU+Jg2147GhJrpWJAKwE9e2mpsl0WaFvMR4eHa 0Fjb4C2lWui1MEgiOzGH+p2N63SDQViFQ8WAlNDVnAM08h9pOqTeOTrSC8/EoxLcaqzJSB FwQwxDVfA//v+GBE41yyM5hUyw2ZKPX9fExJ9VRwf0fqz3aZzDB6Uz0P0RcpL3BIMLS5ZD pa1Je7WYIVI90RvtJM9V7e1nWwuusj32ZFKw3Amc9Rop28ddtbhT/FvZE/8U0J+e8MqEdx 8aBbJ7OMsjpRsPLx9BmokqMhoWw+gD2IiuiUyA5DzJtOzPTstK0Y8panwdQ2XA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660502286; a=rsa-sha256; cv=none; b=l1r/r/Ls1oMfs9Fdjz2hqosV/fUtDYKWbRji1ej+8G+aPHcPZkeGeSqqqZv8tSBW//JKI1 chUNsIQys3TnGRoK34VJgH6TO0NjWkQ6B9NCYX46Z+ZW1Y1SDGHnMSGMupQV5aXt9D3lMy V+CTtx05maN/MHGeCKV/s9Dnuwu3+OuyvyXLS6Ea4PcvdfV5GzvjZjucV40hk3K/LLlY9D +dcTcoi5IPBUgqw5NOfaQ5VOPKZ0RN53FoOGYjQgfjnQUesZSVtvdGn9HCmkQdlXw0Q+jK 4/JegEilbcATghAVGDU+O2HY/12y6Xnq6ZO/24SHAcMGC/uVL8Eo5zSf6ZeYiA== 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=cf5e9659ef7fbaebd172904d3a37446d13eabf28 commit cf5e9659ef7fbaebd172904d3a37446d13eabf28 Author: Yuri Victorovich AuthorDate: 2022-08-14 17:44:11 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-14 18:37:56 +0000 science/py-dwave-cloud-client: New port: DWave: REST interface to communicate with D-Wave Solver API servers --- science/Makefile | 1 + science/py-dwave-cloud-client/Makefile | 34 +++++++++++++++++++++++++++++++++ science/py-dwave-cloud-client/distinfo | 3 +++ science/py-dwave-cloud-client/pkg-descr | 9 +++++++++ 4 files changed, 47 insertions(+) diff --git a/science/Makefile b/science/Makefile index 9870cdfd19d0..9cd8bb93c0a2 100644 --- a/science/Makefile +++ b/science/Makefile @@ -284,6 +284,7 @@ SUBDIR += py-dimod SUBDIR += py-dipy SUBDIR += py-dlib + SUBDIR += py-dwave-cloud-client SUBDIR += py-dwave-neal SUBDIR += py-dwave-networkx SUBDIR += py-dwave-preprocessing diff --git a/science/py-dwave-cloud-client/Makefile b/science/py-dwave-cloud-client/Makefile new file mode 100644 index 000000000000..c6605afda565 --- /dev/null +++ b/science/py-dwave-cloud-client/Makefile @@ -0,0 +1,34 @@ +PORTNAME= dwave-cloud-client +DISTVERSION= 0.4.0 +CATEGORIES= science python www # quantum-computing +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= DWave: REST interface to communicate with D-Wave Solver API servers + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dateutil>=2.7:devel/py-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dimod>=0.10.5:science/py-dimod@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}diskcache>=5.2.1:devel/py-diskcache@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dwave-networkx>=0.8.9:science/py-dwave-networkx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}homebase>=1.0.0:devel/py-homebase@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}plucky>=0.4.3:devel/py-plucky@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic>=1.7.3:devel/py-pydantic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.18:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.7+ +USE_PYTHON= distutils cython autoplist unittest # 1 test fail, probably due to devel/py-homebase issues + +USE_GITHUB= yes +GH_ACCOUNT= dwavesystems + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +.include diff --git a/science/py-dwave-cloud-client/distinfo b/science/py-dwave-cloud-client/distinfo new file mode 100644 index 000000000000..2027d4f35ea5 --- /dev/null +++ b/science/py-dwave-cloud-client/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660498468 +SHA256 (dwavesystems-dwave-cloud-client-0.4.0_GH0.tar.gz) = b04da824924df7d9f990615cfa686407c443effaa572ebd744834cacf8ccf93a +SIZE (dwavesystems-dwave-cloud-client-0.4.0_GH0.tar.gz) = 58149 diff --git a/science/py-dwave-cloud-client/pkg-descr b/science/py-dwave-cloud-client/pkg-descr new file mode 100644 index 000000000000..53bf6d78d25c --- /dev/null +++ b/science/py-dwave-cloud-client/pkg-descr @@ -0,0 +1,9 @@ +D-Wave Cloud Client is a minimal implementation of the REST interface used to +communicate with D-Wave Sampler API (SAPI) servers. + +SAPI is an application layer built to provide resource discovery, permissions, +and scheduling for quantum annealing resources at D-Wave Systems. This package +provides a minimal Python interface to that layer without compromising the +quality of interactions and workflow. + +WWW: https://github.com/dwavesystems/dwave-cloud-client