aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2020-09-13 00:48:26 +0300
committerprspkt <prspkt@protonmail.com>2020-09-13 01:00:20 +0300
commit824a25ef412a71117620f8d9657d7c1dd01473ec (patch)
tree8df9abd8ecee419b0315f98b39a391223fe25226
parent87089375d4d07a7c0a4b0a85c7b5c8f164c15f8b (diff)
downloadaports-824a25ef412a71117620f8d9657d7c1dd01473ec.tar.gz
aports-824a25ef412a71117620f8d9657d7c1dd01473ec.tar.bz2
aports-824a25ef412a71117620f8d9657d7c1dd01473ec.tar.xz
testing/py3-pytaglib: new aport
-rw-r--r--testing/py3-pytaglib/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-pytaglib/APKBUILD b/testing/py3-pytaglib/APKBUILD
new file mode 100644
index 0000000000..8348769463
--- /dev/null
+++ b/testing/py3-pytaglib/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: prspkt <prspkt@protonmail.com>
+# Maintainer: prspkt <prspkt@protonmail.com>
+pkgname=py3-pytaglib
+pkgver=1.4.6
+pkgrel=0
+pkgdesc="Python bindigs for the TagLib audio metadata library"
+url="https://taglib.org"
+arch="all"
+license="GPL-3.0-or-later"
+depends="python3"
+makedepends="py3-setuptools python3-dev taglib-dev"
+checkdepends="py3-pytest"
+source="https://files.pythonhosted.org/packages/source/p/pytaglib/pytaglib-$pkgver.tar.gz"
+builddir="$srcdir/pytaglib-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ export PYTHONPATH="$(echo $builddir/build/lib.*)"
+ py.test-3
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="fe70b456a7c68d5ddad3baeb780b32cc1a617b2f259f561755c9ef61009f44addf16f5f08b4710fdfac460e34147d98b7107692095fdb2c968b46739de3e8c4e pytaglib-1.4.6.tar.gz"