Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibacl/
Date: Sun, 29 Nov 2020 08:19:00
Message-Id: 1606637931.bd0cd8a7848b21572e811d8798e9e96516a871e5.mgorny@gentoo
1 commit: bd0cd8a7848b21572e811d8798e9e96516a871e5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 08:06:28 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 08:18:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd0cd8a7
7
8 dev-python/pylibacl: Bump to 0.6.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pylibacl/Manifest | 1 +
13 dev-python/pylibacl/pylibacl-0.6.0.ebuild | 38 +++++++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/pylibacl/Manifest b/dev-python/pylibacl/Manifest
17 index 3100c2755e0..468d71210f0 100644
18 --- a/dev-python/pylibacl/Manifest
19 +++ b/dev-python/pylibacl/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pylibacl-0.5.4_p20191217.tar.gz 40283 BLAKE2B dfe5baababe4cce24bc12dd61263c30160e93be7dc0625abdcad9e4daed19c5ac1ebf43351f9f5815884162258884cd8c7e2edb323ec9ce51247a43d53fea20e SHA512 6d4a84e1885a2000226f956580a8e767216d6280d4b8ae1066e6a1c1f82708d06a4f2eacc3ae45ff7ae3b122125da9fb6afbaae038e117b63cd7d91ac95e2624
22 +DIST pylibacl-0.6.0.gh.tar.gz 40231 BLAKE2B ba76f5540de62cec8572960b65f65289d7fe2066f76861240849c4c8175a9219b7ced086739b5a9b4d560a125c8fe759cc7b5b688bd4dc3d84ca4dc78897ea75 SHA512 a93ad199d9946490a863906411893a204bf801df71cf70217d6b29940a9365f05fd121116f22e054a3b8d27cd62e35c73566c1e0dd246ae5c0edd2f967df50ba
23 DIST pylibacl-v0.5.3.tar.gz 32792 BLAKE2B 005785dda2b7933ff71dd1296b1d4315a6492fc893aba56136c775f78b9aa3bd8f9d4898bbe0160fac53a306329977ddaecd073739531ba42dd0b6cc622b9eef SHA512 ea648acc3df9e1cf2fd68576b0b691a353b257d00b74fc80aa7f60089b9dbc912452ebe6b84da2930cac888b9047740530dd0e38b4d5be52c37fc6d3a29a7ce2
24
25 diff --git a/dev-python/pylibacl/pylibacl-0.6.0.ebuild b/dev-python/pylibacl/pylibacl-0.6.0.ebuild
26 new file mode 100644
27 index 00000000000..5b4469c6178
28 --- /dev/null
29 +++ b/dev-python/pylibacl/pylibacl-0.6.0.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6..9} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="POSIX ACLs (Access Control Lists) for Python"
41 +HOMEPAGE="
42 + https://pylibacl.k1024.org/
43 + https://pypi.org/project/pylibacl/
44 + https://github.com/iustin/pylibacl/"
45 +SRC_URI="
46 + https://github.com/iustin/${PN}/archive/v${PV}.tar.gz
47 + -> ${P}.gh.tar.gz"
48 +
49 +LICENSE="LGPL-2.1"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
52 +
53 +RDEPEND="sys-apps/acl"
54 +DEPEND=${RDEPEND}
55 +
56 +distutils_enable_tests pytest
57 +
58 +python_test() {
59 + if ! pytest -vv; then
60 + eerror
61 + eerror "If you got the following errors:"
62 + eerror "\"IOError: [Errno 95] Operation not supported\","
63 + eerror "then you should remount the filesystem containing"
64 + eerror "build directory with \"acl\" option enabled."
65 + eerror
66 + die "Tests fail with ${EPYTHON}"
67 + fi
68 +}