summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Helmling <michaelhelmling@posteo.de>2015-06-21 17:31:50 +0200
committerMichael Helmling <michaelhelmling@posteo.de>2015-06-21 17:31:50 +0200
commit5eadc7ccace2ab457bdfe2a977382938b7252ad4 (patch)
treec43f73146f2e183faa6cf392804ebcc0575450db
Initial import
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD38
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..2fc2c95
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = python-pytaglib
+ pkgdesc = Python bindigs for the TagLib audio metadata library
+ pkgver = 1.0.3
+ pkgrel = 2
+ url = http://pypi.python.org/pypi/pytaglib
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = python-setuptools
+ makedepends = python2-setuptools
+ makedepends = taglib
+ options = !emptydirs
+ source = http://pypi.python.org/packages/source/p/pytaglib/pytaglib-1.0.3.tar.gz
+ md5sums = 6761a43e051b15ab499cc48d5d21f231
+
+pkgname = python-pytaglib
+ depends = python
+ depends = taglib
+
+pkgname = python2-pytaglib
+ depends = python2
+ depends = taglib
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..68148ac
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Michael Helmling <michaelhelmling@posteo.de>
+
+pkgbase='python-pytaglib'
+pkgname=('python-pytaglib' 'python2-pytaglib')
+pkgver=1.0.3
+pkgrel=2
+pkgdesc="Python bindigs for the TagLib audio metadata library"
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/pytaglib"
+license=('GPL3')
+makedepends=('python-setuptools' 'python2-setuptools' 'taglib')
+options=(!emptydirs)
+source=("http://pypi.python.org/packages/source/p/pytaglib/pytaglib-$pkgver.tar.gz")
+md5sums=('6761a43e051b15ab499cc48d5d21f231')
+
+build_python-pytaglib() {
+ cd "$srcdir/pytaglib-$pkgver"
+ python setup.py build
+}
+
+build_python2-pytaglib() {
+ cd "$srcdir/pytaglib-$pkgver"
+ python2 setup.py build
+}
+
+package_python-pytaglib() {
+ depends=('python' 'taglib')
+ cd "$srcdir/pytaglib-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-pytaglib() {
+ depends=('python2' 'taglib')
+ cd "$srcdir/pytaglib-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: