Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 2020 16:54:34 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547857 - head/devel/py-qutip
Message-ID:  <202009061654.086GsYnI036565@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009061654.086GsYnI036565>