svn commit: r547857 - head/devel/py-qutip
Mark Linimon
linimon at FreeBSD.org
Sun Sep 6 16:54:34 UTC 2020
Author: linimon
Date: Sun Sep 6 16:54:33 2020
New Revision: 547857
URL: https://svnweb.freebsd.org/changeset/ports/547857
Log:
Restrict to python 3.x due to failure building under 2.7:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 50
raise ImportError("numpy is required at installation") from e
^
SyntaxError: invalid syntax
Nothing depends on the py27 flavor.
Approved by: portmgr ("just fix it")
Modified:
head/devel/py-qutip/Makefile
Modified: head/devel/py-qutip/Makefile
==============================================================================
--- head/devel/py-qutip/Makefile Sun Sep 6 16:05:53 2020 (r547856)
+++ head/devel/py-qutip/Makefile Sun Sep 6 16:54:33 2020 (r547857)
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYNUMPY} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
# the optional graphics/py-mayavi dependency is omitted because it is python-2.7 -only
-USES= python
+USES= python:3.5+
USE_PYTHON= distutils cython cython_run autoplist
post-patch: # https://github.com/qutip/qutip/issues/1059
More information about the svn-ports-all
mailing list