dev-python/pylibacl: bump version 0.5.3, EAPI 7
authorZamarin Arthur <arthurzam@gmail.com>
Mon, 18 Mar 2019 07:33:33 +0000 (09:33 +0200)
committerRobin H. Johnson <robbat2@gentoo.org>
Thu, 18 Apr 2019 04:05:19 +0000 (21:05 -0700)
Closes: https://bugs.gentoo.org/672860
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zamarin Arthur <arthurzam@gmail.com>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
dev-python/pylibacl/Manifest
dev-python/pylibacl/pylibacl-0.5.3.ebuild [new file with mode: 0644]

index 6f0e67f861c2e9c145a90d0cd0860b63465afc91..6c928c50eea551176da4645a2dd57041a3ffd4d0 100644 (file)
@@ -1 +1,2 @@
 DIST pylibacl-0.5.0.tar.gz 23886 BLAKE2B fdc447701d2856a460ad6cf5d4a31e9334cf5cda668af7d44c780bfb3320d2aa9d58e44d43d2b43b134a9fbac76d657a03f9190fd0c8ce1b6f4061da93cee56a SHA512 c12390b6a0ca73fd351b84860a9d68d74126dbcd8656916d677a39002a6e4abbac704d450b0b0118bba40987cdd11cc11ad14008de39dac8dc9ca7587ae54c46
+DIST pylibacl-v0.5.3.tar.gz 32792 BLAKE2B 005785dda2b7933ff71dd1296b1d4315a6492fc893aba56136c775f78b9aa3bd8f9d4898bbe0160fac53a306329977ddaecd073739531ba42dd0b6cc622b9eef SHA512 ea648acc3df9e1cf2fd68576b0b691a353b257d00b74fc80aa7f60089b9dbc912452ebe6b84da2930cac888b9047740530dd0e38b4d5be52c37fc6d3a29a7ce2
diff --git a/dev-python/pylibacl/pylibacl-0.5.3.ebuild b/dev-python/pylibacl/pylibacl-0.5.3.ebuild
new file mode 100644 (file)
index 0000000..623d3c0
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="POSIX ACLs (Access Control Lists) for Python"
+HOMEPAGE="https://pylibacl.k1024.org/
+       https://pypi.org/project/pylibacl/"
+SRC_URI="https://github.com/iustin/${PN}/archive/${PN}-v${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
+
+RDEPEND="sys-apps/acl"
+DEPEND="${RDEPEND}
+               dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/${PN}-${PN}-v${PV}"
+
+python_test() {
+       if ! "${PYTHON}" test/test_acls.py; then
+               eerror
+               eerror "If you got the following errors:"
+               eerror "\"IOError: [Errno 95] Operation not supported\","
+               eerror "then you should remount the filesystem containing"
+               eerror "build directory with \"acl\" option enabled."
+               eerror
+               die "Tests fail with ${EPYTHON}"
+       fi
+}