Skip to content

Commit

Permalink
devel/py-qutip-qip: Add optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jul 20, 2023
1 parent 6100f46 commit 6199fc2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions 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}
Expand All @@ -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
Expand Down

0 comments on commit 6199fc2

Please sign in to comment.