summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortuftedocelot2016-03-26 08:49:05 -0500
committertuftedocelot2016-03-26 08:49:05 -0500
commitc2feef1053670c453e858652e809629da4b28bac (patch)
tree5128bbedbdf0106d2130ddbd870a1e79a6593f13
parentc405f707eed8fce70dffc21b52be1209ca578b0d (diff)
downloadaur-c2feef1053670c453e858652e809629da4b28bac.tar.gz
python-filterpy: unsplit package to reduce overhead
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD32
2 files changed, 6 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7418cd19cd3..49ae9c590a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,18 @@
# Generated by mksrcinfo v8
-# Wed Mar 2 01:15:24 UTC 2016
+# Sat Mar 26 13:48:02 UTC 2016
pkgbase = python-filterpy
pkgdesc = Kalman filtering and optimal estimation library in Python.
pkgver = 0.1.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rlabbe/filterpy
arch = any
license = MIT
makedepends = python-setuptools
- makedepends = python2-setuptools
makedepends = python-numpy
- makedepends = python2-numpy
makedepends = python-scipy
- makedepends = python2-scipy
makedepends = python-matplotlib
- makedepends = python2-matplotlib
source = https://github.com/rlabbe/filterpy/archive/0.1.2.tar.gz
sha256sums = 42542b8a3e1792b4393ba0288cea2158ee922d029103b6cf8d52f3d11103554d
pkgname = python-filterpy
- depends = python-setuptools
-
-pkgname = python2-filterpy
- depends = python2-setuptools
diff --git a/PKGBUILD b/PKGBUILD
index 55fce60712c..85400a1da83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,44 +1,20 @@
# Contributor: tuftedocelot <tuftedocelot@fastmail.fm>
-pkgbase=python-filterpy
-pkgname=(python-filterpy python2-filterpy)
+pkgname=python-filterpy
pkgver=0.1.2
-pkgrel=1
+pkgrel=2
pkgdesc='Kalman filtering and optimal estimation library in Python.'
arch=('any')
url='https://github.com/rlabbe/filterpy'
license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-numpy' 'python2-numpy'
- 'python-scipy' 'python2-scipy' 'python-matplotlib' 'python2-matplotlib')
+makedepends=('python-setuptools' 'python-numpy' 'python-scipy' 'python-matplotlib')
source=("https://github.com/rlabbe/filterpy/archive/$pkgver.tar.gz")
sha256sums=('42542b8a3e1792b4393ba0288cea2158ee922d029103b6cf8d52f3d11103554d')
-prepare() {
- cp -a filterpy-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/filterpy-$pkgver
- python setup.py build
-
- cd "$srcdir"/filterpy-$pkgver-py2
- python2 setup.py build
-}
-
-package_python-filterpy() {
- depends=('python-setuptools')
-
+package() {
cd "$srcdir"/filterpy-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
}
-package_python2-filterpy() {
- depends=('python2-setuptools')
-
- cd "$srcdir"/filterpy-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
-}
-
# vim:set ts=2 sw=2 et: