git: abcc771263a7 - main - devel/py-qutip-qip: Fix tests

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 27 Mar 2023 08:31:26 UTC
The branch main has been updated by yuri:

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

commit abcc771263a75d2b30cba7b7e61d081e5fcf21bf
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-27 08:30:37 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-27 08:31:23 +0000

    devel/py-qutip-qip: Fix tests
---
 devel/py-qutip-qip/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/py-qutip-qip/Makefile b/devel/py-qutip-qip/Makefile
index c1bf8531bb4f..12afa303682d 100644
--- a/devel/py-qutip-qip/Makefile
+++ b/devel/py-qutip-qip/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	qutip-qip
 DISTVERSION=	0.2.3
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,9 +17,10 @@ RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}qutip>=4.5:devel/py-qutip@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} # optional dependency, but required for tests
 
 USES=		python:3.7+
-USE_PYTHON=	distutils autoplist pytest # 5 tests fail, see https://github.com/qutip/qutip-qip/issues/196
+USE_PYTHON=	distutils autoplist pytest
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}