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")
This commit is contained in:
Mark Linimon 2020-09-06 16:54:33 +00:00
parent ddff7366ae
commit ff06598c87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547857

View file

@ -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