summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Helmling2018-08-26 18:18:50 +0200
committerMichael Helmling2018-08-26 18:18:50 +0200
commit426d10d02360b9d594d89a17e9b874bb40d689b4 (patch)
tree50142ff0c8b746863e14c0cfe7709729bb1f3f62
downloadaur-426d10d02360b9d594d89a17e9b874bb40d689b4.tar.gz
First release of the separate python 2 version
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD26
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b945a40c6e4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python2-pytaglib
+ pkgdesc = Python bindigs for the TagLib audio metadata library (Python 2 version)
+ pkgver = 1.4.3
+ pkgrel = 1
+ url = http://pypi.python.org/pypi/pytaglib
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = python2-setuptools
+ makedepends = taglib
+ options = !emptydirs
+ source = https://files.pythonhosted.org/packages/c7/f0/c6d15860c6ab5953320edd36b5050e9d813d025bd49563ef7a24154b69c7/pytaglib-1.4.3.tar.gz
+ md5sums = e109e5dcf921ed35e7d923712643a423
+
+pkgname = python2-pytaglib
+ depends = python
+ depends = taglib
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..203eb85a711
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Michael Helmling <michaelhelmling@posteo.de>
+
+pkgname=python2-pytaglib
+pkgver=1.4.3
+pkgrel=1
+pkgdesc="Python bindigs for the TagLib audio metadata library (Python 2 version)"
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/pytaglib"
+license=('GPL3')
+makedepends=('python2-setuptools' 'taglib')
+options=(!emptydirs)
+source=("https://files.pythonhosted.org/packages/c7/f0/c6d15860c6ab5953320edd36b5050e9d813d025bd49563ef7a24154b69c7/pytaglib-1.4.3.tar.gz")
+md5sums=('e109e5dcf921ed35e7d923712643a423')
+
+build() {
+ cd "$srcdir/pytaglib-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ depends=('python' 'taglib')
+ cd "$srcdir/pytaglib-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: