From 7e4aa4b8a16a229eec21bfbe518baf5deae9c613 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Oct 2011 15:46:44 +0000 Subject: Initial APKBUILD for pylibacl Package description: This module provides support for manipulating POSIX.1e ACLS Depending on the operating system support for POSIX.1e, the ACL type will have more or less capabilities: - level 1, only basic support, you can create ACLs from files and text descriptions; once created, the type is immutable - level 2, complete support, you can alter the ACL once it is created Also, in level 2, more types are available, corresponding to acl_entry_t (the Entry type), acl_permset_t (the Permset type). The existence of level 2 support and other extensions can be checked by the constants: - HAS_ACL_ENTRY for level 2 and the Entry/Permset classes - HAS_ACL_FROM_MODE for ACL(mode=...) usage - HAS_ACL_CHECK for the ACL().check function - HAS_EXTENDED_CHECK for the module-level has_extended function - HAS_EQUIV_MODE for the ACL().equiv_mode method --- testing/py-libacl/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/py-libacl/APKBUILD (limited to 'testing/py-libacl') diff --git a/testing/py-libacl/APKBUILD b/testing/py-libacl/APKBUILD new file mode 100644 index 0000000000..975524ea8f --- /dev/null +++ b/testing/py-libacl/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=py-libacl +_pkgname=pylibacl +pkgver=0.5.0 +pkgrel=0 +pkgdesc="A python module for manipulating ACLs" +url="http://pylibacl.sourceforge.net/" +arch="all" +license="LGPL2+" +depends="" +depends_dev="" +makedepends="python-dev acl-dev py-setuptools" +install="" +subpackages="" +source="http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --root="$pkgdir" || return 1 +} + +md5sums="b9d34da90e6da0813115071b3a1ab204 pylibacl-0.5.0.tar.gz" -- cgit v1.2.3