summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Helmling <michaelhelmling@posteo.de>2018-08-26 18:20:41 +0200
committerMichael Helmling <michaelhelmling@posteo.de>2018-08-26 18:20:49 +0200
commit5a14d504dab4232fc8ba05eae7aa56d59ed7fffe (patch)
tree328aa327c9bbb477d936b6642a5e77ae34e32827
parent1a792b6f18c743f769b9d4ba7a5c22b7915b9a81 (diff)
Remove python2 support
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD20
2 files changed, 4 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48c08f2..305758d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,7 +7,6 @@ pkgbase = python-pytaglib
arch = x86_64
license = GPL3
makedepends = python-setuptools
- makedepends = python2-setuptools
makedepends = taglib
options = !emptydirs
source = https://files.pythonhosted.org/packages/c7/f0/c6d15860c6ab5953320edd36b5050e9d813d025bd49563ef7a24154b69c7/pytaglib-1.4.3.tar.gz
@@ -17,7 +16,3 @@ pkgname = python-pytaglib
depends = python
depends = taglib
-pkgname = python2-pytaglib
- depends = python2
- depends = taglib
-
diff --git a/PKGBUILD b/PKGBUILD
index 0ff5fd6..ff37cdb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,26 @@
# Maintainer: Michael Helmling <michaelhelmling@posteo.de>
-pkgbase='python-pytaglib'
-pkgname=('python-pytaglib' 'python2-pytaglib')
+pkgname=python-pytaglib
pkgver=1.4.3
pkgrel=1
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')
+makedepends=('python-setuptools' 'taglib')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/c7/f0/c6d15860c6ab5953320edd36b5050e9d813d025bd49563ef7a24154b69c7/pytaglib-1.4.3.tar.gz")
md5sums=('e109e5dcf921ed35e7d923712643a423')
-build_python-pytaglib() {
+build() {
cd "$srcdir/pytaglib-$pkgver"
python setup.py build
}
-build_python2-pytaglib() {
- cd "$srcdir/pytaglib-$pkgver"
- python2 setup.py build
-}
-
-package_python-pytaglib() {
+package() {
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: