Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
Remove python2 module
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-community/svn@663317 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
jelly authored and svntogit committed Jul 12, 2020
1 parent a79db34 commit fe08d8a
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions trunk/PKGBUILD
@@ -1,14 +1,15 @@
# Maintainer: Lukas Fleischer <lfleischer@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')
Expand All @@ -18,22 +19,9 @@ build() {
cd "${srcdir}/${pkgbase}-${pkgver}"

python setup.py build
python2 setup.py build
}

package_python2-pylibacl() {
depends=('python2')
provides=('pylibacl')
conflicts=('pylibacl')
replaces=('pylibacl')

cd "${srcdir}/${pkgbase}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}

package_python-pylibacl() {
depends=('python')

package() {
cd "${srcdir}/${pkgbase}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}

0 comments on commit fe08d8a

Please sign in to comment.