From nobody Sun Aug 14 18:37:59 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 4M5R4745xfz4YgZC; Sun, 14 Aug 2022 18:37:59 +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 4M5R473cb8z3C6S; Sun, 14 Aug 2022 18:37:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660502279; 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=LGoKGyUJq8+HkZ2xUrYVJpByyIFUJ+MGD8fHBleERiM=; b=M6weNWkEvYbL/SVU65NyT5/oli6eYtDWnlI9oSg64Qiao+YBj6WY0cIx+3TshAIprm4pxI uxj4QhG9fRihWx8WEK86C/geAU6AIB4bFf+dwm8HNsMsUM9Fqf2KCFG2fVwh/f+ozW5poR N3rhwp+c9Sq79vOFf43WEj0qVPu7oB3p1ZfeMgyU56yaG/3lCMS65AiqJ8T0C9VAFliMDM mKdQnSxiPHN+wmKjTzuIqglChFM13wYf09whV7+xp4FCIlhcUi86V7MOsSlJ2fkYT/Tyca 15kDyfm1RrStXTevCmguuSEY58p6hlwV6ZOFb0RKi8OEVgj2ZwzxIFNLQiwVUQ== 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 4M5R472fRGz10bc; Sun, 14 Aug 2022 18:37:59 +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 27EIbxZn073686; Sun, 14 Aug 2022 18:37:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27EIbxGF073685; Sun, 14 Aug 2022 18:37:59 GMT (envelope-from git) Date: Sun, 14 Aug 2022 18:37:59 GMT Message-Id: <202208141837.27EIbxGF073685@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: b4c44944055c - main - science/py-dwave-preprocessing: New port: DWave: Preprocessing tools to aid in solving 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: b4c44944055c3af8e8510e9f1c20c334c47c9cf5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660502279; 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=LGoKGyUJq8+HkZ2xUrYVJpByyIFUJ+MGD8fHBleERiM=; b=nR7TXjqrMBKK7CdesylKRpslN3C7/TRyaX81mKBeyMYBjvDI2Ur0G8+rCHS6sRo0Hk3ARI UKyquhfAcEvDxn9bAYevC2fdlPs29Glcy3l/ETNBx2lJAfwSvVl64AjoeIALbeGtMA3SUz DEGh5XQjl6rWbzrkAFgC6ElF6qBZi70gQsqOOUZwo++RaO6NGGsI7sIM+guNh33V120O1N 1JJNiDOrcDkKesmQqoWvrteboxFK9BO4B3I5Lj9l/izQAoCRONxsZZcHj6nVYh2nDQPL6H Qc5YmHaLE9AQSEPwhhx68Ey04roF48kFsqYZBNRjK7xWWW8lKRr1o10JiGmQGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660502279; a=rsa-sha256; cv=none; b=PgYWG6ZJ3jS2fJdwMftPBw3BPvsknrs1wfIecVVDkg4kDFl/4GnYsrPlxI3bojZ0+b0RwU 9yZtO2qLVXXY42ff+hMLEJ+j81QGWtHb/bYDAXgpl/CBdF4jUU122wzmrzyY90UGBddzpk t0/sq+3ebDM1QApq5Rm4PM73K5H0k0P1N1PFmVHhDiQZgXNBN5lUX4PT4moCiId92jKTBV FBVzWlCgHJDmgRnRvdE2BU1xlORnJqAu8raJ+g1iBf4KUkRfebdWZoiiu5LtkRihU1INts y4nYnoftlFWRe/8Yhnei0gGxmnZXc8AzYc8Bs0POcaaplSCyLoqxIy2eB+J/aQ== 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=b4c44944055c3af8e8510e9f1c20c334c47c9cf5 commit b4c44944055c3af8e8510e9f1c20c334c47c9cf5 Author: Yuri Victorovich AuthorDate: 2022-08-14 16:29:28 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-14 18:37:54 +0000 science/py-dwave-preprocessing: New port: DWave: Preprocessing tools to aid in solving binary quadratic models --- science/Makefile | 1 + science/py-dwave-preprocessing/Makefile | 32 ++++++++++++++++++++++++++++++++ science/py-dwave-preprocessing/distinfo | 3 +++ science/py-dwave-preprocessing/pkg-descr | 4 ++++ 4 files changed, 40 insertions(+) diff --git a/science/Makefile b/science/Makefile index f3d473705fe7..9870cdfd19d0 100644 --- a/science/Makefile +++ b/science/Makefile @@ -286,6 +286,7 @@ SUBDIR += py-dlib SUBDIR += py-dwave-neal SUBDIR += py-dwave-networkx + SUBDIR += py-dwave-preprocessing SUBDIR += py-dwave-samplers SUBDIR += py-dwave-tabu SUBDIR += py-eccodes diff --git a/science/py-dwave-preprocessing/Makefile b/science/py-dwave-preprocessing/Makefile new file mode 100644 index 000000000000..9d4e9d96d53f --- /dev/null +++ b/science/py-dwave-preprocessing/Makefile @@ -0,0 +1,32 @@ +PORTNAME= dwave-preprocessing +DISTVERSION= 0.4.0 +CATEGORIES= science python # quantum-computing +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= DWave: Preprocessing tools to aid in solving binary quadratic models + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>0:science/py-dimod@${PY_FLAVOR} \ + ${PYNUMPY} +BUILD_DEPENDS= ${PY_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.30.0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PY_DEPENDS} +xTEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dwave-system>0:science/dwave-system@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= distutils cython autoplist unittest # 3 tests fail, see https://github.com/dwavesystems/dwave-preprocessing/issues/44 + +USE_GITHUB= yes +GH_ACCOUNT= dwavesystems + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/tests + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/dwave/preprocessing/cyfix_variables${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/science/py-dwave-preprocessing/distinfo b/science/py-dwave-preprocessing/distinfo new file mode 100644 index 000000000000..a83055cb266e --- /dev/null +++ b/science/py-dwave-preprocessing/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660494073 +SHA256 (dwavesystems-dwave-preprocessing-0.4.0_GH0.tar.gz) = 04ff8937b131af3520d4197f256c4ba68cad0783af131c57ce20083d3f36fad3 +SIZE (dwavesystems-dwave-preprocessing-0.4.0_GH0.tar.gz) = 80577 diff --git a/science/py-dwave-preprocessing/pkg-descr b/science/py-dwave-preprocessing/pkg-descr new file mode 100644 index 000000000000..602f35493d33 --- /dev/null +++ b/science/py-dwave-preprocessing/pkg-descr @@ -0,0 +1,4 @@ +dwave-preprocessing is a package of common preprocessing tools that can aid in +solving binary quadratic models (BQM). + +WWW: https://github.com/dwavesystems/dwave-preprocessing