git: 6f4c81523474 - main - science/py-qiskit-experiments: Update 0.3.1 -> 0.4.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 06 Sep 2022 07:08:27 UTC
The branch main has been updated by yuri:

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

commit 6f4c815234747ec69271e82d66da02ba0f5e1c5d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-06 06:49:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-06 07:08:20 +0000

    science/py-qiskit-experiments: Update 0.3.1 -> 0.4.0
    
    Reported by:    portscout
---
 science/py-qiskit-experiments/Makefile | 7 ++++---
 science/py-qiskit-experiments/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/science/py-qiskit-experiments/Makefile b/science/py-qiskit-experiments/Makefile
index 1bdece39b12b..ee8a81524b8f 100644
--- a/science/py-qiskit-experiments/Makefile
+++ b/science/py-qiskit-experiments/Makefile
@@ -1,8 +1,6 @@
 PORTNAME=	qiskit-experiments
-DISTVERSION=	0.3.1
-PORTREVISION=	1
+DISTVERSION=	0.4.0
 CATEGORIES=	science python # quantum-computing
-#MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -21,6 +19,7 @@ PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lmfit>0:math/py-lmfit@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}uncertainties>0:math/py-uncertainties@${PY_FLAVOR}
 BUILD_DEPENDS=	${PY_DEPENDS}
 RUN_DEPENDS=	${PY_DEPENDS}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}qiskit-aer>0:science/py-qiskit-aer@${PY_FLAVOR}
 
 USES=		python:3.7+
 USE_PYTHON=	distutils autoplist pytest # one test hangs forever, see https://github.com/Qiskit/qiskit-experiments/issues/873
@@ -30,4 +29,6 @@ GH_ACCOUNT=	Qiskit
 
 NO_ARCH=	yes
 
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
 .include <bsd.port.mk>
diff --git a/science/py-qiskit-experiments/distinfo b/science/py-qiskit-experiments/distinfo
index 1cce43fdb718..c580860fccc2 100644
--- a/science/py-qiskit-experiments/distinfo
+++ b/science/py-qiskit-experiments/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660248334
-SHA256 (Qiskit-qiskit-experiments-0.3.1_GH0.tar.gz) = 095ff6d8520e01ad96c5e2c3b629eb46c0972df7494e59e71e3ed180be304b01
-SIZE (Qiskit-qiskit-experiments-0.3.1_GH0.tar.gz) = 3339561
+TIMESTAMP = 1662444987
+SHA256 (Qiskit-qiskit-experiments-0.4.0_GH0.tar.gz) = 2cab3b2e906e444d6df6581249db56c2129245fd114dea300ae7f61f41fbb8d4
+SIZE (Qiskit-qiskit-experiments-0.4.0_GH0.tar.gz) = 2894785