git: a44d4daaa2a0 - main - science/py-qiskit-finance: New port: Quantum Finance module from the Qiskit quantum computing framework

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 16 Aug 2022 22:17:01 UTC
The branch main has been updated by yuri:

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

commit a44d4daaa2a0806b669c27b29bd92db0d8df2cd3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-16 20:33:41 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-16 22:16:58 +0000

    science/py-qiskit-finance: New port: Quantum Finance module from the Qiskit quantum computing framework
---
 science/Makefile                    |  1 +
 science/py-qiskit-finance/Makefile  | 36 ++++++++++++++++++++++++++++++++++++
 science/py-qiskit-finance/distinfo  |  3 +++
 science/py-qiskit-finance/pkg-descr |  6 ++++++
 4 files changed, 46 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index 1837c961fd26..dc6dd9d62a78 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -359,6 +359,7 @@
     SUBDIR += py-qiskit
     SUBDIR += py-qiskit-aer
     SUBDIR += py-qiskit-experiments
+    SUBDIR += py-qiskit-finance
     SUBDIR += py-qiskit-ibm-experiment
     SUBDIR += py-qiskit-ibm-provider
     SUBDIR += py-qiskit-ibmq-provider
diff --git a/science/py-qiskit-finance/Makefile b/science/py-qiskit-finance/Makefile
new file mode 100644
index 000000000000..88c0229a55ba
--- /dev/null
+++ b/science/py-qiskit-finance/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	qiskit-finance
+DISTVERSION=	0.3.3.20220816
+CATEGORIES=	science finance python # quantum-computing
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Quantum Finance module from the Qiskit quantum computing framework
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}fastdtw>0:math/py-fastdtw@${PY_FLAVOR} \
+		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}Nasdaq-Data-Link>0:finance/py-Nasdaq-Data-Link@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}psutil>=5:sysutils/py-psutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}qiskit-optimization>=0.2.0:science/py-qiskit-optimization@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}qiskit-terra>=0.20.0:science/py-qiskit-terra@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.4:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yfinance>=0.1.70:finance/py-yfinance@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ddt>0:devel/py-ddt@${PY_FLAVOR}
+
+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
+GH_TAGNAME=	88091bc
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/science/py-qiskit-finance/distinfo b/science/py-qiskit-finance/distinfo
new file mode 100644
index 000000000000..9dcf852e300f
--- /dev/null
+++ b/science/py-qiskit-finance/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660680280
+SHA256 (Qiskit-qiskit-finance-0.3.3.20220816-88091bc_GH0.tar.gz) = 5e4fec4bd3c162bfcf0533b7ebd49506495556c20b7fa59dccad2c5ded94fba5
+SIZE (Qiskit-qiskit-finance-0.3.3.20220816-88091bc_GH0.tar.gz) = 837826
diff --git a/science/py-qiskit-finance/pkg-descr b/science/py-qiskit-finance/pkg-descr
new file mode 100644
index 000000000000..1822f3a154b6
--- /dev/null
+++ b/science/py-qiskit-finance/pkg-descr
@@ -0,0 +1,6 @@
+Qiskit [quiss-kit] is an open-source SDK for working with quantum computers
+at the level of pulses, circuits, and application modules.
+
+Qiskit Finance is one of Qiskit components for quantum finance problems.
+
+WWW: https://qiskit.org/