# Maintainer: brent s. validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B') # Bug reports can be filed at https://bugs.square-r00t.net/index.php?project=3 # News updates for packages can be followed at https://devblog.square-r00t.net pkgname=('python-pylibacl' 'python2-pylibacl') pkgver=0.5.3 pkgrel=5 pkgdesc="A python extension module that allows you to manipulate the POSIX.1e ACLs. (Fixed for python 3)" arch=( 'i686' 'x86_64' ) url="http://pylibacl.k1024.org/" license=( 'LGPL' ) depends=( 'python' 'python2' ) makedepends=( 'python' 'python2' 'python-setuptools' 'python2-setuptools') _pkgname=pylibacl install= changelog= noextract=() source=("https://files.pythonhosted.org/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" "${_pkgname}-${pkgver}.tar.gz.sig") sha512sums=('7d58a3a64e939a8891333a0fb8aa6e12dcbbf09e4e829f86fd1bb41693dd4f734a4ab907770e8e341476594aa495b5308a26d495ebf251dcda308ee46e5392ad' 'SKIP') package_python-pylibacl() { depends=('python') cd "${srcdir}/${_pkgname}-${pkgver}" python3 setup.py install --root="${pkgdir}" --optimize=1 } package_python2-pylibacl() { depends=('python2') conflicts=('pylibacl') provides=('pylibacl') pkgdesc="A python extension module that allows you to manipulate the POSIX.1e ACLs." cd "${srcdir}/${_pkgname}-${pkgver}" python2 setup.py install --root="${pkgdir}" --optimize=1 }