Skip to content

Commit

Permalink
devel/py-qutip-qip: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Mar 27, 2023
1 parent 265ea80 commit abcc771
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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}
Expand All @@ -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}

Expand Down

0 comments on commit abcc771

Please sign in to comment.