mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
pylibacl: update to 0.5.3 and package python3 edition
This commit is contained in:
parent
2f9d155aac
commit
59bed1755f
@ -1,21 +1,30 @@
|
|||||||
#
|
pkgbase=pylibacl
|
||||||
# Part of chakra-project.org
|
pkgname=('python2-pylibacl' 'python3-pylibacl')
|
||||||
#
|
pkgver=0.5.3
|
||||||
# Maintainer: FranzMari <franzmari@chakra-project.it>
|
pkgrel=1
|
||||||
|
|
||||||
pkgname=pylibacl
|
|
||||||
pkgver=0.5.1
|
|
||||||
pkgrel=2
|
|
||||||
pkgdesc='A python extension module that allows you to manipulate the POSIX.1e ACLs.'
|
pkgdesc='A python extension module that allows you to manipulate the POSIX.1e ACLs.'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='http://pylibacl.k1024.org/'
|
url='http://pylibacl.k1024.org/'
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('python2')
|
makedepends=('python2' 'python2-setuptools' 'python3' 'python3-setuptools')
|
||||||
makedepends=('python2-setuptools')
|
source=("http://${pkgbase}.k1024.org/downloads/${pkgbase}-${pkgver}.tar.gz")
|
||||||
source=("https://github.com/downloads/iustin/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
md5sums=('5d161e22ba5d94618d50ccffbfeb6050')
|
||||||
md5sums=('a429256345ffdc2cea57fd24da0d980d')
|
|
||||||
|
|
||||||
package() {
|
prepare() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd $srcdir
|
||||||
|
cp -r $pkgbase-$pkgver python3-$pkgbase-$pkgver
|
||||||
|
}
|
||||||
|
|
||||||
|
package_python2-pylibacl() {
|
||||||
|
depends=('python2')
|
||||||
|
conflicts=('pylibacl')
|
||||||
|
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||||
python2 setup.py install --root="${pkgdir}"
|
python2 setup.py install --root="${pkgdir}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package_python3-pylibacl() {
|
||||||
|
depends=('python3')
|
||||||
|
conflicts=('pylibacl')
|
||||||
|
cd "${srcdir}/python3-${pkgbase}-${pkgver}"
|
||||||
|
python3 setup.py install --root="${pkgdir}"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user