summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Sutton2020-01-14 15:36:21 +0000
committerPeter Sutton2020-01-14 15:36:21 +0000
commit9686e8ad9511a9436de48de8c0b5eca6595c85c7 (patch)
tree0f1a2c60dbea34ff4aaceab97b43c0ccac2c29a1
parent8a1413552b2e3d7efa0b9624a2348d276752ade1 (diff)
downloadaur-9686e8ad9511a9436de48de8c0b5eca6595c85c7.tar.gz
Update to 1.0.1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD36
2 files changed, 15 insertions, 36 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6bcb0c6db67..11231a2f306 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = python-pyo
- pkgdesc = A Python module written in C to help digital signal processing script creation.
- pkgver = 0.9.1
+ pkgdesc = Python DSP module
+ pkgver = 1.0.1
pkgrel = 1
url = http://ajaxsoundstudio.com/software/pyo/
- arch = i686
arch = x86_64
license = GPL
depends = python
@@ -12,13 +11,11 @@ pkgbase = python-pyo
depends = liblo
depends = libsndfile
optdepends = wxpython: wxWidgets GUI
- provides = pyo=0.9.1
- provides = python-pyo=0.9.1
+ provides = pyo=1.0.1
+ provides = python-pyo=1.0.1
conflicts = pyo
- source = http://ajaxsoundstudio.com/downloads/pyo_0.9.1-src.tar.bz2
- source = http://ajaxsoundstudio.com/downloads/pyo_0.9.1-doc.tar.bz2
- md5sums = f3ba1c4b9330bca4a241a4caabf42a67
- md5sums = 0ee8263a533e9ba5619cb72397d5d7ba
+ source = https://codeload.github.com/belangeo/pyo/tar.gz/1.0.1
+ sha512sums = 701e9461bebdfc6a117c65fb4198015389f7e2cfb50f3d53423add307541bd732bf80f416f2bc36f20311eebf1ea8d75e0b0784f6ff206f7b6ab70c3f6081c4a
pkgname = python-pyo
diff --git a/PKGBUILD b/PKGBUILD
index e2db8fc1bfa..bfbd0c83a5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,43 +5,25 @@
# Based on python2-pyo by amiguet
pkgname=python-pyo
-pkgver=0.9.1
+pkgver=1.0.1
pkgrel=1
-pkgdesc="A Python module written in C to help digital signal processing script creation."
-arch=('i686' 'x86_64')
+pkgdesc="Python DSP module"
+arch=('x86_64')
url="http://ajaxsoundstudio.com/software/pyo/"
license=('GPL')
depends=('python' 'portmidi' 'portaudio' 'liblo' 'libsndfile')
optdepends=('wxpython: wxWidgets GUI')
provides=("pyo=$pkgver" "python-pyo=$pkgver")
conflicts=('pyo')
-source=("http://ajaxsoundstudio.com/downloads/pyo_$pkgver-src.tar.bz2"
- "http://ajaxsoundstudio.com/downloads/pyo_$pkgver-doc.tar.bz2")
-md5sums=('f3ba1c4b9330bca4a241a4caabf42a67'
- '0ee8263a533e9ba5619cb72397d5d7ba')
-
-export PYTHON=python
+source=("https://codeload.github.com/belangeo/pyo/tar.gz/$pkgver")
+sha512sums=('701e9461bebdfc6a117c65fb4198015389f7e2cfb50f3d53423add307541bd732bf80f416f2bc36f20311eebf1ea8d75e0b0784f6ff206f7b6ab70c3f6081c4a')
build() {
- cd "$srcdir/pyo_$pkgver-src"
-
- $PYTHON setup.py build --use-double --use-jack
+ cd "$srcdir/pyo-$pkgver"
+ python setup.py build --use-double --use-jack
}
package() {
- cd "$srcdir/pyo_$pkgver-src"
- $PYTHON setup.py install --use-double \
- --use-jack \
- --root="$pkgdir/"
-
- # examples
- install -d "$pkgdir/usr/share/$pkgname"
- cp -a examples "$pkgdir/usr/share/$pkgname"
-
- # docs
- install -d "$pkgdir/usr/share/doc/$pkgname"
- cp -a ../pyo_$pkgver-doc/* "$pkgdir/usr/share/doc/$pkgname"
-
- # python2 fix
- #sed -i "s|env python|&2|g" `grep -rl "env python" "$pkgdir"`
+ cd "$srcdir/pyo-$pkgver"
+ python setup.py install --use-double --use-jack --root="$pkgdir"/
}