1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/py3-libacl/APKBUILD
2022-11-22 20:33:36 +01:00

32 lines
912 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-libacl
_pkgname=pylibacl
pkgver=0.6.0
pkgrel=1
pkgdesc="A python module for manipulating ACLs"
url="https://pylibacl.k1024.org/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="py3-setuptools python3-dev acl-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-libacl" # Backwards compatibility
provides="py-libacl=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
python3 setup.py install --root="$pkgdir"
}
sha512sums="
49e491589e06460fdd89307c754b2d99533ac857b187797b10a2a5aa1692c3401400d9d6e22cdb2369e5c34d91875133cf2d094226def837c603094745cbf904 pylibacl-0.6.0.tar.gz
"