diff --git a/dev-python/pylibacl/Manifest b/dev-python/pylibacl/Manifest index 83f751451c698..e97742db03d4e 100644 --- a/dev-python/pylibacl/Manifest +++ b/dev-python/pylibacl/Manifest @@ -1 +1,2 @@ DIST pylibacl-0.7.2.tar.gz 49337 BLAKE2B fe567b91af89a7ea275a19744d8b344937feebadea0ce1b5a3468772ff02691920e20363b721854addaeed85766a492cef95d36b8f9777b9bbcd8133dc1387d6 SHA512 1393f76548746e04f258ad5c9873078f894e4f6d4d18754373cd800dfd0ef801e706282908c735ab551182acf72d6b1d93d948452c139220115c2f0b73a2d10c +DIST pylibacl-0.7.3.tar.gz 49494 BLAKE2B 436d4ae0d12a174eae9b4cd85486a5eee7abe9b869443cdd49ab752d6fe79135064ca2b5fa23f52eda28f7c945c8e29ee881a909f5ce9ce96730e892d71bf783 SHA512 7a0dae30bf83acd9a1cb1d4008a6322e537d3e3f2004a6393c499574fa9bed8762c01182df67811e8ae04dfb73b40e4bab14c3f191034519b5d3d9822e9d0880 diff --git a/dev-python/pylibacl/pylibacl-0.7.3.ebuild b/dev-python/pylibacl/pylibacl-0.7.3.ebuild new file mode 100644 index 0000000000000..926a63331e11b --- /dev/null +++ b/dev-python/pylibacl/pylibacl-0.7.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="POSIX ACLs (Access Control Lists) for Python" +HOMEPAGE=" + https://pylibacl.k1024.org/ + https://pypi.org/project/pylibacl/ + https://github.com/iustin/pylibacl/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=" + sys-apps/acl +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_sphinx doc \ + dev-python/recommonmark +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + if ! nonfatal epytest ; 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 +}