Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2022 04:17:40 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 846dbccb37bb - main - science/py-qiskit-experiments: New port: Experiments submodule for Quiskit framework for quantum computing
Message-ID:  <202208100417.27A4HeQF007889@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=846dbccb37bb3f4c4b54317466d16cf3190549c5

commit 846dbccb37bb3f4c4b54317466d16cf3190549c5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-10 04:16:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-10 04:17:32 +0000

    science/py-qiskit-experiments: New port: Experiments submodule for Quiskit framework for quantum computing
---
 science/Makefile                        |  1 +
 science/py-qiskit-experiments/Makefile  | 33 +++++++++++++++++++++++++++++++++
 science/py-qiskit-experiments/distinfo  |  3 +++
 science/py-qiskit-experiments/pkg-descr |  8 ++++++++
 science/py-qiskit/Makefile              |  6 +++---
 5 files changed, 48 insertions(+), 3 deletions(-)

diff --git a/science/Makefile b/science/Makefile
index 2d2eca0b7afe..04cb2440123e 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -340,6 +340,7 @@
     SUBDIR += py-qcengine
     SUBDIR += py-qiskit
     SUBDIR += py-qiskit-aer
+    SUBDIR += py-qiskit-experiments
     SUBDIR += py-qiskit-ibm-experiment
     SUBDIR += py-qiskit-ibm-provider
     SUBDIR += py-qiskit-ibmq-provider
diff --git a/science/py-qiskit-experiments/Makefile b/science/py-qiskit-experiments/Makefile
new file mode 100644
index 000000000000..ac1ac99b2063
--- /dev/null
+++ b/science/py-qiskit-experiments/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	qiskit-experiments
+DISTVERSION=	0.3.0-39
+DISTVERSIONSUFFIX=	-g08ace14
+CATEGORIES=	science python # quantum-computing
+#MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Experiments submodule for Quiskit framework for quantum computing
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lmfit>0:math/py-lmfit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4:math/py-matplotlib@${PY_FLAVOR} \
+		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}qiskit-terra>=0.21.1:science/py-qiskit-terra@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}qiskit-ibm-experiment>=0.2.5:science/py-qiskit-ibm-experiment@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}qiskit-ibmq-provider>=0.16.0:science/py-qiskit-ibmq-provider@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.4:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}uncertainties>0:math/py-uncertainties@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+
+USES=		python:3.7+
+USE_PYTHON=	distutils autoplist pytest # one test hangs forever, see https://github.com/Qiskit/qiskit-experiments/issues/873
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Qiskit
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/science/py-qiskit-experiments/distinfo b/science/py-qiskit-experiments/distinfo
new file mode 100644
index 000000000000..0b3b0528afe5
--- /dev/null
+++ b/science/py-qiskit-experiments/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660103275
+SHA256 (Qiskit-qiskit-experiments-0.3.0-39-g08ace14_GH0.tar.gz) = 3a347a234f3496201ded385d48498ea70b39386000f7f130b7dbcf7d1323e7a0
+SIZE (Qiskit-qiskit-experiments-0.3.0-39-g08ace14_GH0.tar.gz) = 2895472
diff --git a/science/py-qiskit-experiments/pkg-descr b/science/py-qiskit-experiments/pkg-descr
new file mode 100644
index 000000000000..4651d7383666
--- /dev/null
+++ b/science/py-qiskit-experiments/pkg-descr
@@ -0,0 +1,8 @@
+Qiskit [quiss-kit] is an open-source SDK for working with quantum computers
+at the level of pulses, circuits, and application modules.
+
+Qiskit Experiments is one of Qiskit components. Qiskit Experiments is a
+repository that builds tools for building, running, and analysis of
+experiments on noisy quantum computers.
+
+WWW: https://qiskit.org/
diff --git a/science/py-qiskit/Makefile b/science/py-qiskit/Makefile
index d30fa0af83c1..d7645be9f078 100644
--- a/science/py-qiskit/Makefile
+++ b/science/py-qiskit/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	qiskit
 DISTVERSION=	0.37.1-4
-PORTREVISION=	2
 DISTVERSIONSUFFIX=	-gf178fcc98
+PORTREVISION=	3
 CATEGORIES=	science python # quantum-computing
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,8 +18,8 @@ PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}qiskit-aer>0:science/py-qiskit-aer@${PY_FLAVO
 # optional submodules (list: https://github.com/Qiskit/qiskit#optional-components)
 OPT_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} \
-		${PYTHON_PKGNAMEPREFIX}qiskit-nature>0:science/py-qiskit-nature@${PY_FLAVOR}
-
+		${PYTHON_PKGNAMEPREFIX}qiskit-nature>0:science/py-qiskit-nature@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}qiskit-experiments>0:science/py-qiskit-experiments@${PY_FLAVOR}
 BUILD_DEPENDS=	${PY_DEPENDS}
 RUN_DEPENDS=	${PY_DEPENDS} \
 		${OPT_DEPENDS}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208100417.27A4HeQF007889>