diff options
author | Tyler Veness | 2019-03-26 19:14:03 -0700 |
---|---|---|
committer | Tyler Veness | 2019-03-26 19:14:03 -0700 |
commit | 48a764e9425a06ecc04fb4bca4d6710a9a457970 (patch) | |
tree | 46aa8f7c9d1e42c804dfcf2a25f7bb84e2d7f00b | |
parent | 7bb3ffb0fc162623a91e3e33f73288c2d639b211 (diff) | |
download | aur-48a764e9425a06ecc04fb4bca4d6710a9a457970.tar.gz |
upgpkg: python-slycot-git 248.2d19788
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 12 insertions, 4 deletions
@@ -1,13 +1,15 @@ pkgbase = python-slycot-git pkgdesc = Python wrapper for selected SLICOT routines, notably including solvers for Riccati, Lyapunov and Sylvester equations. - pkgver = 186.a41ac6e + pkgver = 248.2d19788 pkgrel = 1 url = http://github.com/python-control/Slycot arch = i686 arch = x86_64 license = GPL2 makedepends = git + makedepends = cmake makedepends = gcc-fortran + makedepends = python-scikit-build depends = python-numpy-openblas provides = python-slycot conflicts = python-slycot @@ -2,14 +2,14 @@ # Contributor: James Duley <jagduley gmail> pkgname=python-slycot-git -pkgver=186.a41ac6e +pkgver=248.2d19788 pkgrel=1 pkgdesc="Python wrapper for selected SLICOT routines, notably including solvers for Riccati, Lyapunov and Sylvester equations." arch=('i686' 'x86_64') url="http://github.com/python-control/Slycot" license=('GPL2') depends=('python-numpy-openblas') -makedepends=('git' 'gcc-fortran') +makedepends=('git' 'cmake' 'gcc-fortran' 'python-scikit-build') optdepends=() provides=('python-slycot') conflicts=('python-slycot') @@ -21,11 +21,17 @@ pkgver() { echo $(git rev-list --count master).$(git rev-parse --short master) } +build() { + cd "$srcdir/Slycot" + python setup.py build +} + package() { export LDFLAGS="$LDFLAGS -shared" cd "$srcdir/Slycot" - python setup.py config_fc --fcompiler=gnu95 install --root="$pkgdir/" --optimize=1 + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + mv ${pkgdir}/usr/slycot ${pkgdir}/usr/lib/python*/site-packages } # vim:set ts=2 sw=2 et: |