From nobody Tue Aug 9 19:35:11 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 4M2NZR680Lz3j3DV; Tue, 9 Aug 2022 19:35:11 +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 4M2NZR5T09z3blD; Tue, 9 Aug 2022 19:35:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660073711; 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=5cFpyjnj+Bp9I+U6KU37V0lFw2fnAok9I8TLpuoF1S4=; b=Qq8i4ykjxD19iHWhstHQTsKBwII4/8fOOaJzwirauRgNiFweCr0f52S6M73L0fAPVymTw0 RqtROIGskInjpGd/wswh0tYqO0b3xYcwaLoYuZ5+ZnSzBe+qJ8OoT/0nevoi9XeYBe+V2s meNWXiMht3N07h89MeA9kO41Vx47kjzc/hp/6bwaI2CM+p3/G5flvNhrI0qb+NZQL1qHeA sW8HTZ0UvyG516UIxsTZpSgw5rhXqyknt6a+5IS7vS9zgIxD5BaKpUUe7pAQYJb8ERWVJr g0oq5WcWwCHIHF81HE3Y/1tQP3+wJ/+JFiNvNWOX+HmGQoUHre3giCAyAFhoGw== 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 4M2NZR4PDdzk0K; Tue, 9 Aug 2022 19:35:11 +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 279JZBZE094164; Tue, 9 Aug 2022 19:35:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 279JZBuT094163; Tue, 9 Aug 2022 19:35:11 GMT (envelope-from git) Date: Tue, 9 Aug 2022 19:35:11 GMT Message-Id: <202208091935.279JZBuT094163@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: 7a1a1ec4aa5e - main - misc/py-qiskit-machine-learning: New port: Quantum Machine Learning for Quiskit framework for quantum computing 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: 7a1a1ec4aa5e062830accca9d25333b97e31e876 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660073711; 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=5cFpyjnj+Bp9I+U6KU37V0lFw2fnAok9I8TLpuoF1S4=; b=QpfGlqHge9+wIQ35a3Sfv/rdPhbzPWYcStgTS2Ji0qwxhr3RS/jY6kROP0265zyd65X+7k yJGczi2JRG6/1V0HnQK+YPl6WGpW4DFbm5jP5QRQjAF4QgxjEsFeaoqB9ZXcMVfZ/OlQEk CsTJxKU1TbNE5BOjarDU49Zsgp0Ma/9e8KRGMjbBijllA8gR0S7954hGrHDdtQ7cP+Oq0p Do1AztJ9nG3tL71EgWJyIrCfMarhn1E++cRWTObnN6EdLe5VJnMWb1ONJlzzp3PYu3F6S1 0pN8kfivW85ctYqGho4gW1bcQQhbHEf/xSEKaGpamJWyf91setQMbxdQIH8Dlg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660073711; a=rsa-sha256; cv=none; b=x+luw8ukdVIcswcJ7vV2ycW+WHPlZntqTOpXsCWsOgEB6tnKspYHKWE3HR/hqkouH314cI XHU9rTL39+SmGajv+ctyOb0Tl+YS+h0Jl6YlB+/9RDW4gcOy//UBAsbfEr6pnOM+ijBjmI kAwqWrZPuLsNVUwHIRZxHVBTLsfo0HrKRlpWGegxh3gdcFDYuIPX6jN8AaVxy04UfzG5gG XUxQ0+6v0KX/zb0UO2il+2go2BNDJeczHJqlWvAaYkuyvkRv1ThCH+5gnw3k2x2eQnQy4j HdJPKLMthgVHiNwxK6vqGG1yrr/Fmi9GJZQ4k1q5MhUNbdRTr7tL4ruXjBcc4A== 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=7a1a1ec4aa5e062830accca9d25333b97e31e876 commit 7a1a1ec4aa5e062830accca9d25333b97e31e876 Author: Yuri Victorovich AuthorDate: 2022-08-09 19:12:41 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-09 19:35:07 +0000 misc/py-qiskit-machine-learning: New port: Quantum Machine Learning for Quiskit framework for quantum computing --- misc/Makefile | 1 + misc/py-qiskit-machine-learning/Makefile | 32 +++++++++++++++++++++++++++++++ misc/py-qiskit-machine-learning/distinfo | 3 +++ misc/py-qiskit-machine-learning/pkg-descr | 12 ++++++++++++ science/py-qiskit/Makefile | 5 ++++- 5 files changed, 52 insertions(+), 1 deletion(-) diff --git a/misc/Makefile b/misc/Makefile index 1dbe785ac433..029adc9509a1 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -412,6 +412,7 @@ SUBDIR += py-pyprind SUBDIR += py-python-geohash SUBDIR += py-python-utils + SUBDIR += py-qiskit-machine-learning SUBDIR += py-scikit-fusion SUBDIR += py-serverfiles SUBDIR += py-soapy_power diff --git a/misc/py-qiskit-machine-learning/Makefile b/misc/py-qiskit-machine-learning/Makefile new file mode 100644 index 000000000000..5bc5b3708add --- /dev/null +++ b/misc/py-qiskit-machine-learning/Makefile @@ -0,0 +1,32 @@ +PORTNAME= qiskit-machine-learning +DISTVERSION= 0.4.0-30 +DISTVERSIONSUFFIX= -g149a2ef +CATEGORIES= misc python # quantum-computing, machine-learning +#MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Quantum Machine Learning for Quiskit framework for quantum computing + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dill>=0.3.4:devel/py-dill@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fastdtw>0:math/py-fastdtw@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psutil>=5:sysutils/py-psutil@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}qiskit-terra>=0.20.0:science/py-qiskit-terra@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.20.0:science/py-scikit-learn@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.4:science/py-scipy@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.7+ +USE_PYTHON= distutils autoplist pytest # several tests fail with "No module named 'threadpoolctl'", see https://reviews.freebsd.org/D35513 + +USE_GITHUB= yes +GH_ACCOUNT= Qiskit + +NO_ARCH= yes + +.include diff --git a/misc/py-qiskit-machine-learning/distinfo b/misc/py-qiskit-machine-learning/distinfo new file mode 100644 index 000000000000..a4ca45f1c4a4 --- /dev/null +++ b/misc/py-qiskit-machine-learning/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660069923 +SHA256 (Qiskit-qiskit-machine-learning-0.4.0-30-g149a2ef_GH0.tar.gz) = b648d0df586275bcf61092ea29f73c68449bee7752b4acb42cb3facfa4a97435 +SIZE (Qiskit-qiskit-machine-learning-0.4.0-30-g149a2ef_GH0.tar.gz) = 975283 diff --git a/misc/py-qiskit-machine-learning/pkg-descr b/misc/py-qiskit-machine-learning/pkg-descr new file mode 100644 index 000000000000..ff2533a1dd88 --- /dev/null +++ b/misc/py-qiskit-machine-learning/pkg-descr @@ -0,0 +1,12 @@ +Qiskit [quiss-kit] is an open-source SDK for working with quantum computers +at the level of pulses, circuits, and application modules. + +Qiskit Machine Learning is one of Qiskit components. It introduces fundamental +computational building blocks - such as Quantum Kernels and Quantum Neural +Networks - used in different applications, including classification and +regression. On the one hand, this design is very easy to use and allows users to +rapidly prototype a first model without deep quantum computing knowledge. On the +other hand, Qiskit Machine Learning is very flexible, and users can easily +extend it to support cutting-edge quantum machine learning research. + +WWW: https://qiskit.org/ diff --git a/science/py-qiskit/Makefile b/science/py-qiskit/Makefile index 0b4945ed6703..5ca42cd04fbd 100644 --- a/science/py-qiskit/Makefile +++ b/science/py-qiskit/Makefile @@ -1,5 +1,6 @@ PORTNAME= qiskit DISTVERSION= 0.37.1-4 +PORTREVISION= 1 DISTVERSIONSUFFIX= -gf178fcc98 CATEGORIES= science python # quantum-computing MASTER_SITES= CHEESESHOP @@ -15,7 +16,9 @@ PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qiskit-aer>0:science/py-qiskit-aer@${PY_FLAVO ${PYTHON_PKGNAMEPREFIX}qiskit-terra>0:science/py-qiskit-terra@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qiskit-ibmq-provider>0:science/py-qiskit-ibmq-provider@${PY_FLAVOR} # optional submodules (list: https://github.com/Qiskit/qiskit#optional-components) -PY_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}qiskit-optimization>0:science/py-qiskit-optimization@${PY_FLAVOR} +PY_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}qiskit-optimization>0:science/py-qiskit-optimization@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}qiskit-machine-learning>0:misc/py-qiskit-machine-learning@${PY_FLAVOR} + BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS}