[arch-commits] Commit in pylibacl/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Jul 12 11:45:10 UTC 2020
Date: Sunday, July 12, 2020 @ 11:45:10
Author: jelle
Revision: 663317
Remove python2 module
Modified:
pylibacl/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++-----------------
1 file changed, 5 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-12 11:36:31 UTC (rev 663316)
+++ PKGBUILD 2020-07-12 11:45:10 UTC (rev 663317)
@@ -1,14 +1,15 @@
# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-pkgname=(python2-pylibacl python-pylibacl)
+pkgname=python-pylibacl
pkgbase=pylibacl
pkgver=0.5.4
-pkgrel=2
+pkgrel=3
pkgdesc='A python extension module that allows you to manipulate the POSIX.1e ACLs.'
arch=('x86_64')
url='https://pylibacl.k1024.org/'
license=('LGPL')
-makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
+depends=('python')
+makedepends=('python-setuptools')
source=("${url}/downloads/${pkgbase}-${pkgver}.tar.gz"{,.asc})
md5sums=('aba415da393e5b6dc791fd860ed9c5a9'
'SKIP')
@@ -18,22 +19,9 @@
cd "${srcdir}/${pkgbase}-${pkgver}"
python setup.py build
- python2 setup.py build
}
-package_python2-pylibacl() {
- depends=('python2')
- provides=('pylibacl')
- conflicts=('pylibacl')
- replaces=('pylibacl')
-
+package() {
cd "${srcdir}/${pkgbase}-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
-
-package_python-pylibacl() {
- depends=('python')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
More information about the arch-commits
mailing list