1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

devel/py-qutip: Update 4.2.0 -> 4.3.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2018-07-13 22:19:32 +00:00
parent a21b4bfb5b
commit e251cbd89b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474608
3 changed files with 15 additions and 16 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= qutip
DISTVERSION= 4.2.0
PORTREVISION= 2
DISTVERSION= 4.3.0
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1531174696
SHA256 (qutip-4.2.0.tar.gz) = 87d677c6450a17a4dd8cfa1c7ae5f1f7646c47b63dab5abd88980093a47611e5
SIZE (qutip-4.2.0.tar.gz) = 2049296
TIMESTAMP = 1531425886
SHA256 (qutip-4.3.0.tar.gz) = 006c141dcca529f8e47e8be3a6fe6dac6d8e1b86468a068307b01004d8db25cb
SIZE (qutip-4.3.0.tar.gz) = 5527638

View File

@ -1,8 +1,8 @@
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.orig 2018-05-09 07:35:04 UTC
+++ qutip/hardware_info.py
@@ -80,6 +80,14 @@ def _linux_hardware_info():
@@ -85,6 +85,14 @@ def _linux_hardware_info():
results.update({'os': 'Linux'})
return results
@ -17,12 +17,12 @@ Same as https://github.com/qutip/qutip/pull/895, but the PR patch doesn't merge
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:
@@ -118,6 +126,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 = {}
return out