[arch-commits] Commit in python2-eyed3/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Mar 3 12:39:27 UTC 2019
Date: Sunday, March 3, 2019 @ 12:39:26
Author: jelle
Revision: 437453
Remove python2 variant
Modified:
python2-eyed3/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-03 12:24:07 UTC (rev 437452)
+++ PKGBUILD 2019-03-03 12:39:26 UTC (rev 437453)
@@ -3,7 +3,7 @@
# Contributor: cdhotfire <cdhotfire at gmail.com>
pkgbase=python2-eyed3
-pkgname=('python2-eyed3' 'python-eyed3')
+pkgname=('python-eyed3')
pkgver=0.8
pkgrel=4
# 0.8.1 breaks with python-magic in our repos requires https://github.com/ahupp/python-magic
@@ -12,21 +12,18 @@
arch=('any')
url="http://eyed3.nicfit.net/"
license=('GPL')
-makedepends=('python2-setuptools' 'python-setuptools')
+depends=('python-setuptools')
+makedepends=('python-setuptools')
source=(https://files.pythonhosted.org/packages/source/e/eyeD3/eyeD3-$pkgver.tar.gz)
-md5sums=('840626686e6b1bc6afca9eab99a0873a')
+sha256sums=('10109b76508a726042b2cd6a8fd02b6d6e551dc277901d74016b70e3c0e29ab5')
options=(!emptydirs)
-package_python2-eyed3() {
- depends=('python2-pathlib' 'python2-setuptools')
- conflicts=('python-eyed3')
-
- cd $srcdir/eyeD3-$pkgver
- python2 setup.py install --root="${pkgdir}" --optimize=1
+build() {
+ cd eyeD3-$pkgver
+ python setup.py build
}
package_python-eyed3() {
- depends=('python-setuptools')
- cd $srcdir/eyeD3-$pkgver
- python setup.py install --root="${pkgdir}" --optimize=1
+ cd eyeD3-$pkgver
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
More information about the arch-commits
mailing list