aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-28 21:25:15 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-28 21:52:53 -0300
commit5e471ec9ef15dca5fd1c41170efbf8d43ae21d90 (patch)
treebe3a0ea610c309d5ef3a5f48601e8a40b8a5acec
parent766f5765d51814c98fea8ac49ee427fb342d9e8f (diff)
downloadaports-5e471ec9ef15dca5fd1c41170efbf8d43ae21d90.tar.bz2
aports-5e471ec9ef15dca5fd1c41170efbf8d43ae21d90.tar.xz
community/py3-pyo: upgrade to 0.9.1
-rw-r--r--community/py3-pyo/APKBUILD16
-rw-r--r--community/py3-pyo/remove-O3.patch16
2 files changed, 16 insertions, 16 deletions
diff --git a/community/py3-pyo/APKBUILD b/community/py3-pyo/APKBUILD
index 13b9c6f3fe..99a1c445a7 100644
--- a/community/py3-pyo/APKBUILD
+++ b/community/py3-pyo/APKBUILD
@@ -2,30 +2,28 @@
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=py3-pyo
_pkgname=pyo
-pkgver=0.8.7
-pkgrel=1
+pkgver=0.9.1
+pkgrel=0
pkgdesc="dedicated Python module for digital signal processing"
url="http://ajaxsoundstudio.com/software/pyo/"
arch="all"
-license="GPL"
+license="LGPL-3.0-or-later"
options="!check"
depends="python3 python3-tkinter"
makedepends="python3-dev portaudio-dev libsndfile-dev"
-source="http://ajaxsoundstudio.com/downloads/${_pkgname}_${pkgver}-src.tar.bz2
+source="http://ajaxsoundstudio.com/downloads/${_pkgname}_$pkgver-src.tar.bz2
portaudio-only.patch
remove-O3.patch"
-builddir="$srcdir/${_pkgname}_${pkgver}-src"
+builddir="$srcdir/${_pkgname}_$pkgver-src"
build() {
- cd "$builddir"
python3 setup.py build --minimal
}
package() {
- cd "$builddir"
python3 setup.py install --root="$pkgdir" --optimize=1
}
-sha512sums="da4d80bf507f47680415712dc1092b3fafba53d344ad6944b362d5d44bd730a5789174a6d8d0b561e78ce6d9f0916064185102c57791ba986981d8cd388ad84d pyo_0.8.7-src.tar.bz2
+sha512sums="d536eaece5ccd87b4d751819f3cb5167e3b93f98009ff4a06c09e7c62e414a019ec197dc353714661f27147c6b54aed84b9d5b0135a520896cd89fde15345ab5 pyo_0.9.1-src.tar.bz2
b3c3a659df4b9de9982898d2a6cc7462e88ee2b1c4ecac2b49a8220e42cf1c2fb583a7ca722cb2e77bed0e0b6fe3a70d88bda807ee46c9b096fe3e34514b5420 portaudio-only.patch
-bc4d319ba491b02828b3e061daa23be1421def8331550d68be18a08831526a1a890ddf76210df38bfed104ad1c1a24ac7c45770d212e308fdadb2d657c7cd333 remove-O3.patch"
+b19dc6bd526d96e0d76214f944cfb0788fa4386bce99f701cf2d2ef76ee08d01b2a66807f7eeb27538af171b34c3809687c440279ff09fb626c295a21f986d98 remove-O3.patch"
diff --git a/community/py3-pyo/remove-O3.patch b/community/py3-pyo/remove-O3.patch
index 513289a4c6..de03148327 100644
--- a/community/py3-pyo/remove-O3.patch
+++ b/community/py3-pyo/remove-O3.patch
@@ -1,12 +1,14 @@
-diff -ruN a/setup.py b/setup.py
---- a/setup.py 2017-08-29 21:11:55.290997348 +0200
-+++ b/setup.py 2017-08-29 21:12:13.690639738 +0200
-@@ -89,7 +89,7 @@
+diff --git a/setup.py b/setup.py
+index 261338e..66188a5 100644
+--- a/setup.py
++++ b/setup.py
+@@ -94,7 +94,7 @@ if '--fast-compile' in sys.argv:
sys.argv.remove('--fast-compile')
- oflag = "-O0"
+ oflag = ["-O0"]
else:
-- oflag = "-O3"
-+ oflag = "-Os"
+- oflag = ["-O3"]
++ oflag = ["-Os"]
# Specific audio drivers source files to compile
ad_files = []
+