[arch-commits] Commit in python-distutils-extra/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sat Feb 8 21:31:05 UTC 2020
Date: Saturday, February 8, 2020 @ 21:31:05
Author: jelle
Revision: 565016
remove unrequired python2 dep
Modified:
python-distutils-extra/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-08 21:25:45 UTC (rev 565015)
+++ PKGBUILD 2020-02-08 21:31:05 UTC (rev 565016)
@@ -1,15 +1,15 @@
# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: Abhishek Dasgupta <abhidg at gmail.com>
-pkgbase=python-distutils-extra
-pkgname=('python-distutils-extra' 'python2-distutils-extra')
+pkgname=python-distutils-extra
pkgver=2.39
-pkgrel=5
+pkgrel=6
pkgdesc='Enhancements to the Python build system'
arch=('any')
license=('GPL')
url='https://launchpad.net/python-distutils-extra'
-makedepends=('python2-setuptools' 'python-setuptools' 'intltool')
+depends=('intltool' 'python')
+makedepends=('python-setuptools' 'intltool')
source=(https://launchpad.net/$pkgbase/trunk/$pkgver/+download/$pkgbase-$pkgver.tar.gz{,.asc})
# https://launchpad.net/python-distutils-extra/trunk/2.39/+download/python-distutils-extra-2.39.tar.gz.asc
#$pkgbase-$pkgver.tar.gz.sig::http://launchpad.net/$pkgbase/trunk/$pkgver/+download/dist-$pkgbase-$pkgver.tar.gz.sig)
@@ -17,16 +17,7 @@
md5sums=('16e06db0ef73a35b4bff4b9eed5699b5'
'SKIP')
-package_python2-distutils-extra() {
- depends=('intltool' 'python2')
-
+package() {
cd "${srcdir}/$pkgbase-$pkgver"
- python2 setup.py install --root="${pkgdir}"
-}
-
-package_python-distutils-extra() {
- depends=('intltool' 'python')
-
- cd "${srcdir}/$pkgbase-$pkgver"
python3 setup.py install --root="${pkgdir}"
}
More information about the arch-commits
mailing list