git: 875c6ad9130a - main - science/py-qiskit-aer: Update 0.12.1 → 0.12.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 13 Jul 2023 06:46:51 UTC
The branch main has been updated by yuri:

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

commit 875c6ad9130a34cb0ca91c04ec70c8d427e8923b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-13 06:28:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-13 06:28:14 +0000

    science/py-qiskit-aer: Update 0.12.1 → 0.12.2
    
    Reported by:    portscout
---
 science/py-qiskit-aer/Makefile | 11 +++++++++--
 science/py-qiskit-aer/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/science/py-qiskit-aer/Makefile b/science/py-qiskit-aer/Makefile
index 8d74b33beffe..cdcccae45779 100644
--- a/science/py-qiskit-aer/Makefile
+++ b/science/py-qiskit-aer/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	qiskit-aer
-DISTVERSION=	0.12.1
+DISTVERSION=	0.12.2
 CATEGORIES=	science python # quantum-computing
 #MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,8 +18,11 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_
 		${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \
 		${PYNUMPY}
 LIB_DEPENDS=	libmuparserx.so:math/muparserx \
+		libopenblas.so:math/openblas \
 		libspdlog.so:devel/spdlog # binaries aren't linked with these for some reason
-RUN_DEPENDS=	${PYNUMPY}
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}qiskit-terra>=0.21.0:science/py-qiskit-terra@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fixtures>0:devel/py-fixtures@${PY_FLAVOR}
 
 USES=		python localbase:ldflags
@@ -43,5 +46,9 @@ post-install:
 		pyproject.toml \
 		qiskit \
 		src
+	# strip binaries
+	@${STRIP_CMD} \
+		${STAGEDIR}${PYTHON_SITELIBDIR}/qiskit_aer/*/*${PYTHON_EXT_SUFFIX}.so \
+		${STAGEDIR}${PYTHON_SITELIBDIR}/qiskit_aer/*/*/*${PYTHON_EXT_SUFFIX}.so
 
 .include <bsd.port.mk>
diff --git a/science/py-qiskit-aer/distinfo b/science/py-qiskit-aer/distinfo
index 25e257b9d8b8..fac60618952a 100644
--- a/science/py-qiskit-aer/distinfo
+++ b/science/py-qiskit-aer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687080500
-SHA256 (Qiskit-qiskit-aer-0.12.1_GH0.tar.gz) = 5b38fa235d270e33b2b4c5183e22ab91c703c5f850c3518722bbebc93d2ac5a0
-SIZE (Qiskit-qiskit-aer-0.12.1_GH0.tar.gz) = 6976120
+TIMESTAMP = 1689228496
+SHA256 (Qiskit-qiskit-aer-0.12.2_GH0.tar.gz) = 976407198e71ba1b4d2154ae41afeb0d8d129d64e9a9ff07d6f55b01c462ae52
+SIZE (Qiskit-qiskit-aer-0.12.2_GH0.tar.gz) = 6979559