mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 11:21:50 +01:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-acl
|
|
_pkgname=acl
|
|
pkgver=0.3
|
|
pkgrel=0
|
|
pkgdesc="A python network access control list parsing library"
|
|
url="https://github.com/jathanism/acl"
|
|
arch="noarch"
|
|
license="Apache2"
|
|
depends="python"
|
|
depends_dev=""
|
|
makedepends="python-dev py-setuptools"
|
|
install=""
|
|
subpackages=""
|
|
source="$_pkgname-$pkgver.tar.gz::https://github.com/jathanism/acl/archive/$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$_pkgname-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="211599e441c42feebc4c72ccbefeee2d acl-0.3.tar.gz"
|
|
sha256sums="7680a56830beb5d5b1d57f14aade78ad9823029cb4120caa5e51167119448a7b acl-0.3.tar.gz"
|
|
sha512sums="fcabae34dc55d47c17d9c3c52932e9693605ff9a4ab22be30e18d180946d37d7cbe0b5bd2727550d5535e23e1813f1912905cbed652ed2041b45a5663dd44f7d acl-0.3.tar.gz"
|