summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnavigator2020-01-07 22:52:42 -0800
committerbnavigator2020-01-07 22:52:42 -0800
commit3c099a12a5f97be6b6bfd218c7f50f7ea6e96e53 (patch)
treed0cb322e5a3ed8c3beb235370969c03af689d67b
parentf79484000a2bbe201d2758afa5178514765339f5 (diff)
downloadaur-3c099a12a5f97be6b6bfd218c7f50f7ea6e96e53.tar.gz
use obs rev5 and update SRCINFO
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD16
2 files changed, 14 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d08fe29b220..50aba5b4282 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-slycot
pkgdesc = Python wrapper for selected SLICOT routines, notably including solvers for Riccati, Lyapunov and Sylvester equations.
pkgver = 0.3.5.0
- pkgrel = 3
+ pkgrel = 4
url = http://github.com/python-control/Slycot
arch = i686
arch = x86_64
@@ -9,9 +9,10 @@ pkgbase = python-slycot
makedepends = cmake
makedepends = gcc-fortran
makedepends = lapack
- makedepends = python-scikit-build>=0.8.1
- makedepends = python-nose
makedepends = python-coverage
+ makedepends = python-distro
+ makedepends = python-nose
+ makedepends = python-scikit-build>=0.8.1
depends = python-numpy
provides = python-slycot
conflicts = python-slycot-git
@@ -21,3 +22,4 @@ pkgbase = python-slycot
pkgname = python-slycot
depends = python-numpy
conflicts = python-slycot-git
+
diff --git a/PKGBUILD b/PKGBUILD
index d5cf19985e6..d91dc0ce265 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,19 @@
_name=slycot
pkgname="python-${_name}"
pkgver=0.3.5.0
-pkgrel=3
+pkgrel=4
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')
-makedepends=('cmake' 'gcc-fortran' 'lapack'
- 'python-scikit-build>=0.8.1'
+makedepends=('cmake'
+ 'gcc-fortran'
+ 'lapack'
+ 'python-coverage'
+ 'python-distro'
'python-nose'
- 'python-coverage')
+ 'python-scikit-build>=0.8.1')
opts=(!strip)
optdepends=()
provides=('python-slycot')
@@ -25,10 +28,9 @@ build() {
check() {
export PYTHONDONTWRITEBYTECODE=1
-
- cd "$srcdir/${_name}-${pkgver}"
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
- export PYTHONPATH="$PWD/_skbuild/linux-$CARCH-${python_version}/setuptools/lib"
+ cd "$srcdir/${_name}-${pkgver}"
+ export PYTHONPATH="$PWD/_skbuild/linux-$CARCH-$python_version/setuptools/lib"
python runtests.py --coverage --no-build
}