diff options
author | Ray Ganardi | 2017-10-27 20:57:12 +0800 |
---|---|---|
committer | Ray Ganardi | 2017-10-27 20:57:12 +0800 |
commit | 245b45dfdf89e63e9980324a4cedbd7cd983ed91 (patch) | |
tree | e14c9128860ca49744659bad135a9b67fb9346c3 | |
parent | 7ae9a55f804a4d7ea92a42128ffdaec1556d3826 (diff) | |
download | aur-245b45dfdf89e63e9980324a4cedbd7cd983ed91.tar.gz |
Update to version 4.1
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 14 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = python-qutip pkgdesc = QuTiP is open-source software for simulating the dynamics of open quantum systems - pkgver = 4.1.0 + pkgver = 4.2.0 pkgrel = 1 url = http://qutip.org/index.html arch = any @@ -16,8 +16,9 @@ pkgbase = python-qutip optdepends = texlive-bin: Optional, Needed if using LaTeX in figures. optdepends = python-nose: Optional, For running tests. optdepends = python-scikit-umfpack: Optional, Faster (~2-5x) steady state calculations. - source = http://qutip.org/downloads/4.1.0/qutip-4.1.0.tar.gz - md5sums = 7a4047aabbc906a84a2a7ca645a6e23a + optdepends = openmp: Optional, For OPENMP support + source = http://qutip.org/downloads/4.2.0/qutip-4.2.0.tar.gz + md5sums = 13de6420c3423b3af0889d127430efe7 pkgname = python-qutip @@ -3,10 +3,10 @@ _name=qutip _pkgname=qutip pkgname=python-qutip -pkgver=4.1.0 +pkgver=4.2.0 pkgrel=1 pkgdesc="QuTiP is open-source software for simulating the dynamics of open quantum systems" -arch=("any") +arch=("x86_64") url="http://qutip.org/index.html" license=('GPL3') depends=("python-numpy" "python-scipy" "python-matplotlib" "cython") @@ -17,19 +17,23 @@ optdepends=( "python-pyqt4: Optional, required only for GUI elements." "texlive-bin: Optional, Needed if using LaTeX in figures." "python-nose: Optional, For running tests." - "python-scikit-umfpack: Optional, Faster (~2-5x) steady state calculations." + "python-scikit-umfpack: Optional, Faster (~2-5x) steady state calculations." + "openmp: Optional, For OPENMP support" ) source=("http://qutip.org/downloads/$pkgver/$_name-$pkgver.tar.gz") -md5sums=('73aefdc714149fa6e1a03de660f2eb2b') +md5sums=('13de6420c3423b3af0889d127430efe7') build() { cd "$srcdir/$_pkgname-$pkgver" - python setup.py build + if pacman -Qq openmp 2&>1 > /dev/null; then + python setup.py build --with-openmp + else + python setup.py build + fi } package() { cd "$srcdir/$_pkgname-$pkgver" python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build } -md5sums=('7a4047aabbc906a84a2a7ca645a6e23a') |