Index: head/devel/py-qutip/Makefile =================================================================== --- head/devel/py-qutip/Makefile (revision 474336) +++ head/devel/py-qutip/Makefile (revision 474337) @@ -1,28 +1,30 @@ # $FreeBSD$ PORTNAME= qutip DISTVERSION= 4.2.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Quantum toolbox in python -LICENSE= BSD2CLAUSE +LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.15:science/py-scipy@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mayavi>0:graphics/py-mayavi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.15:science/py-scipy@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} USES= python USE_PYTHON= distutils cython autoplist do-test: # tests are broken: https://github.com/qutip/qutip/issues/891 @${ECHO} "==> Running tests. Please note that tests require X11 display access." @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -c "import qutip.testing as qt; qt.run();" .include Index: head/devel/py-qutip/files/patch-qutip_hardware__info.py =================================================================== --- head/devel/py-qutip/files/patch-qutip_hardware__info.py (nonexistent) +++ head/devel/py-qutip/files/patch-qutip_hardware__info.py (revision 474337) @@ -0,0 +1,28 @@ +Same as https://github.com/qutip/qutip/pull/895, but the PR patch doesn't merge with this version + +--- qutip/hardware_info.py.orig 2016-12-06 23:45:34 UTC ++++ qutip/hardware_info.py +@@ -80,6 +80,14 @@ def _linux_hardware_info(): + results.update({'os': 'Linux'}) + return results + ++def _freebsd_hardware_info(): ++ results = {} ++ results.update({'cpus': int(os.popen('sysctl -n hw.ncpu').readlines()[0])}) ++ results.update({'cpu_freq': int(os.popen('sysctl -n dev.cpu.0.freq').readlines()[0])}) ++ results.update({'memsize': int(os.popen('sysctl -n hw.realmem').readlines()[0]) / 1024}) ++ # add OS information ++ results.update({'os': 'FreeBSD'}) ++ return results + + def _win_hardware_info(): + try: +@@ -114,6 +122,8 @@ def hardware_info(): + out = _win_hardware_info() + elif sys.platform in ['linux', 'linux2']: + out = _linux_hardware_info() ++ elif sys.platform.startswith('freebsd'): ++ out = _freebsd_hardware_info() + else: + out = {} + except: Property changes on: head/devel/py-qutip/files/patch-qutip_hardware__info.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property