summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnavigator2020-05-30 23:08:57 +0200
committerbnavigator2020-05-30 23:08:57 +0200
commitd8aaaeb5f5af97e43feb465f950e2636ec1e799a (patch)
tree06a2af7525f861c39a3fc34102f0403500df41f1
parent3c099a12a5f97be6b6bfd218c7f50f7ea6e96e53 (diff)
downloadaur-d8aaaeb5f5af97e43feb465f950e2636ec1e799a.tar.gz
Update to 0.4.0.0
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD21
2 files changed, 16 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 50aba5b4282..ad69801083c 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 = 4
+ pkgver = 0.4.0.0
+ pkgrel = 1
url = http://github.com/python-control/Slycot
arch = i686
arch = x86_64
@@ -11,15 +11,14 @@ pkgbase = python-slycot
makedepends = lapack
makedepends = python-coverage
makedepends = python-distro
- makedepends = python-nose
+ makedepends = python-pytest
+ makedepends = python-scipy
makedepends = python-scikit-build>=0.8.1
depends = python-numpy
provides = python-slycot
conflicts = python-slycot-git
- source = https://files.pythonhosted.org/packages/source/s/slycot/slycot-0.3.5.0.tar.gz
- sha256sums = cad98d5ea4f0a034cf398c39189f587620a0b03f1d4b71e77cd622a327f13adf
+ source = https://files.pythonhosted.org/packages/source/s/slycot/slycot-0.4.0.0.tar.gz
+ sha256sums = 1d9921e9b04a5b9892870fd3481f7b08e6fa083a1a3848ad262819de19eb5e02
pkgname = python-slycot
- depends = python-numpy
- conflicts = python-slycot-git
diff --git a/PKGBUILD b/PKGBUILD
index d91dc0ce265..2e3719586f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
_name=slycot
pkgname="python-${_name}"
-pkgver=0.3.5.0
-pkgrel=4
+pkgver=0.4.0.0
+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"
@@ -12,36 +12,35 @@ makedepends=('cmake'
'lapack'
'python-coverage'
'python-distro'
- 'python-nose'
+ 'python-pytest'
+ 'python-scipy'
'python-scikit-build>=0.8.1')
opts=(!strip)
optdepends=()
provides=('python-slycot')
conflicts=('python-slycot-git')
source=(https://files.pythonhosted.org/packages/source/s/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('cad98d5ea4f0a034cf398c39189f587620a0b03f1d4b71e77cd622a327f13adf')
+sha256sums=('1d9921e9b04a5b9892870fd3481f7b08e6fa083a1a3848ad262819de19eb5e02')
build() {
cd "$srcdir/${_name}-${pkgver}"
- python setup.py build -G "Unix Makefiles" -- -DF2PY_EXECUTABLE=/usr/bin/f2py3
+ python setup.py build -G "Unix Makefiles"
}
check() {
export PYTHONDONTWRITEBYTECODE=1
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
- cd "$srcdir/${_name}-${pkgver}"
- export PYTHONPATH="$PWD/_skbuild/linux-$CARCH-$python_version/setuptools/lib"
- python runtests.py --coverage --no-build
+ export PYTHONPATH="${srcdir}/${_name}-${pkgver}/_skbuild/linux-$CARCH-$python_version/setuptools/lib"
+ pytest --pyargs slycot
}
package() {
- depends=('python-numpy')
- conflicts=('python-slycot-git')
-
export LDFLAGS="$LDFLAGS -shared"
cd "$srcdir/${_name}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build -G "Unix Makefiles"
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et: