aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-01-05 23:08:16 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-01-05 23:08:16 +0000
commit574a8827513daacbbe8c198977a542dfe227b666 (patch)
tree6812b20e456db8663c14c11806550c23ee663a86
parent7e737274e0d3d52451555c61aabb33f587cd3aec (diff)
downloadaports-574a8827513daacbbe8c198977a542dfe227b666.tar.bz2
aports-574a8827513daacbbe8c198977a542dfe227b666.tar.xz
testing/py-audioread: upgrade to 2.1.5 and modernize
-rw-r--r--testing/py-audioread/APKBUILD29
1 files changed, 8 insertions, 21 deletions
diff --git a/testing/py-audioread/APKBUILD b/testing/py-audioread/APKBUILD
index ccdf05fd6a..fb0578dd5b 100644
--- a/testing/py-audioread/APKBUILD
+++ b/testing/py-audioread/APKBUILD
@@ -1,40 +1,27 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-audioread
-pkgver=1.0.3
+_pkgname=audioread
+pkgver=2.1.5
pkgrel=0
pkgdesc="Cross-library audio decoding for Python"
url="https://github.com/sampsyo/audioread"
arch="noarch"
license="MIT"
depends="python2"
-depends_dev=""
makedepends="python2-dev"
-install=""
-subpackages=""
source="https://files.pythonhosted.org/packages/source/a/audioread/audioread-$pkgver.tar.gz"
-_builddir="$srcdir"/audioread-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python2 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="b3836586618c09acf4b868bdc2cbcc66 audioread-1.0.3.tar.gz"
-sha256sums="4ae8de1997e47797879c6484296d466a6a750ad93c6cd0b26c05bf71c6aa1ba5 audioread-1.0.3.tar.gz"
-sha512sums="7868d8ac48c55bf70dce10be094681737edd07530a1ff29d2ab2ec4f5eb6d51d89145d2c5dc5e661d9ecdafdcb27032c767f4bd9a01236b8d23e7fb7634b4eda audioread-1.0.3.tar.gz"
+sha512sums="7589b03f9f4b11475e97ab9d114ab1bf08be8e5f9d20f3db70c9d421607f99ed66747a65d1b5e124595e520ab698e17ae9fb9a2eb453ee904ee2b6debf8b3a5c audioread-2.1.5.tar.gz"