blob: 028dee7dac5d4fbe7035073b1821135dc90003a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-acl
_pkgname=acl
pkgver=0.4
pkgrel=0
pkgdesc="A python network access control list parsing library"
url="https://github.com/jathanism/acl"
arch="noarch"
license="ASL 2.0"
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="3015448d787469e6d9b250d07ca877d1 acl-0.4.tar.gz"
sha256sums="805a8568c6c1584f35a32b2a212547f479d064bc0fedd5a06531725caf4c65c1 acl-0.4.tar.gz"
sha512sums="57b0bf0d444084de55b7d2f98b08ee97bb3e740a2fbf469e6dc2b294ac5c70bd67cd506417de791d7c67acca4ea0ed66873a6e84c5a28ad44e590616ae7d5ef5 acl-0.4.tar.gz"
|