summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Maslowski2021-02-20 14:52:14 +0100
committerDaniel Maslowski2021-02-20 14:52:14 +0100
commit62bc355bafb883c209405b6b3f01e8c86451f274 (patch)
tree82a21ded5a55e6d6f2f0bd0960a7dc207e10e9eb
parent39fed533444ddbd1908fcc223f6dd353c3d1ba10 (diff)
downloadaur-python-pslab-git.tar.gz
update for 2.x
scipy is now a dependency and the udev rules are no longer attempted to be installed.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 02b979d8cf7..86ac9ea9116 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-pslab-git
pkgdesc = Core library for PSlab desktop
- pkgver = v1.0.1.r134.gc7ae417
+ pkgver = v2.0.1.r0.g78973c6
pkgrel = 1
url = https://pslab.io
arch = any
@@ -10,6 +10,7 @@ pkgbase = python-pslab-git
depends = python-setuptools
depends = python-pyserial
depends = python-numpy
+ depends = python-scipy
provides = pslab-python
conflicts = python-pslab
options = !emptydirs
diff --git a/PKGBUILD b/PKGBUILD
index 941207994bb..0874212ddd8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pyname=pslab-python
pkgname=python-pslab-git
-pkgver=v1.0.1.r134.gc7ae417
+pkgver=v2.0.1.r0.g78973c6
pkgrel=1
pkgdesc="Core library for PSlab desktop"
arch=('any')
@@ -13,6 +13,7 @@ depends=(
'python-setuptools'
'python-pyserial'
'python-numpy'
+ 'python-scipy'
)
makedepends=('git')
provides=("$_pyname")
@@ -28,8 +29,6 @@ pkgver() {
package() {
cd "$srcdir/${_pyname}"
- # strip out attempt to install udev rules
- sed -i "/pslab.rules/d" setup.py
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm 644 99-pslab.rules "$pkgdir/usr/lib/udev/rules.d/99-pslab.rules"
}