git: 6199fc23ac81 - main - devel/py-qutip-qip: Add optional dependency

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 20 Jul 2023 16:19:45 UTC
The branch main has been updated by yuri:

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

commit 6199fc23ac81b1a93085ee89c33e81f0a0e98c1f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-18 14:21:39 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-20 16:19:42 +0000

    devel/py-qutip-qip: Add optional dependency
---
 devel/py-qutip-qip/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/devel/py-qutip-qip/Makefile b/devel/py-qutip-qip/Makefile
index bbe4bd086871..890d7615f662 100644
--- a/devel/py-qutip-qip/Makefile
+++ b/devel/py-qutip-qip/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	qutip-qip
 DISTVERSION=	0.3.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,9 +17,9 @@ RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}qutip>=4.6: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
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}qiskit>0:science/py-qiskit@${PY_FLAVOR}
-#RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pyqir>0:science/py-pyqir@${PY_FLAVOR}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} # optional dependency required for tests
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}qiskit>0:science/py-qiskit@${PY_FLAVOR} # optional
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pyqir>0:misc/py-pyqir@${PY_FLAVOR} # optional
 
 USES=		python
 USE_PYTHON=	distutils autoplist pytest # 1 test fails, see https://github.com/qutip/qutip-qip/issues/214