Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibacl/
Date: Thu, 18 Apr 2019 04:05:45
Message-Id: 1555560319.3d0e07a3b8532dcee2691a2ce8e6937b1be4176f.robbat2@gentoo
1 commit: 3d0e07a3b8532dcee2691a2ce8e6937b1be4176f
2 Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
3 AuthorDate: Mon Mar 18 07:33:33 2019 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 18 04:05:19 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0e07a3
7
8 dev-python/pylibacl: bump version 0.5.3, EAPI 7
9
10 Closes: https://bugs.gentoo.org/672860
11 Package-Manager: Portage-2.3.62, Repoman-2.3.12
12 Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
13 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
14
15 dev-python/pylibacl/Manifest | 1 +
16 dev-python/pylibacl/pylibacl-0.5.3.ebuild | 35 +++++++++++++++++++++++++++++++
17 2 files changed, 36 insertions(+)
18
19 diff --git a/dev-python/pylibacl/Manifest b/dev-python/pylibacl/Manifest
20 index 6f0e67f861c..6c928c50eea 100644
21 --- a/dev-python/pylibacl/Manifest
22 +++ b/dev-python/pylibacl/Manifest
23 @@ -1 +1,2 @@
24 DIST pylibacl-0.5.0.tar.gz 23886 BLAKE2B fdc447701d2856a460ad6cf5d4a31e9334cf5cda668af7d44c780bfb3320d2aa9d58e44d43d2b43b134a9fbac76d657a03f9190fd0c8ce1b6f4061da93cee56a SHA512 c12390b6a0ca73fd351b84860a9d68d74126dbcd8656916d677a39002a6e4abbac704d450b0b0118bba40987cdd11cc11ad14008de39dac8dc9ca7587ae54c46
25 +DIST pylibacl-v0.5.3.tar.gz 32792 BLAKE2B 005785dda2b7933ff71dd1296b1d4315a6492fc893aba56136c775f78b9aa3bd8f9d4898bbe0160fac53a306329977ddaecd073739531ba42dd0b6cc622b9eef SHA512 ea648acc3df9e1cf2fd68576b0b691a353b257d00b74fc80aa7f60089b9dbc912452ebe6b84da2930cac888b9047740530dd0e38b4d5be52c37fc6d3a29a7ce2
26
27 diff --git a/dev-python/pylibacl/pylibacl-0.5.3.ebuild b/dev-python/pylibacl/pylibacl-0.5.3.ebuild
28 new file mode 100644
29 index 00000000000..623d3c0f5de
30 --- /dev/null
31 +++ b/dev-python/pylibacl/pylibacl-0.5.3.ebuild
32 @@ -0,0 +1,35 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="POSIX ACLs (Access Control Lists) for Python"
43 +HOMEPAGE="https://pylibacl.k1024.org/
44 + https://pypi.org/project/pylibacl/"
45 +SRC_URI="https://github.com/iustin/${PN}/archive/${PN}-v${PV}.tar.gz"
46 +
47 +LICENSE="LGPL-2.1"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
50 +
51 +RDEPEND="sys-apps/acl"
52 +DEPEND="${RDEPEND}
53 + dev-python/setuptools[${PYTHON_USEDEP}]"
54 +
55 +S="${WORKDIR}/${PN}-${PN}-v${PV}"
56 +
57 +python_test() {
58 + if ! "${PYTHON}" test/test_acls.py; then
59 + eerror
60 + eerror "If you got the following errors:"
61 + eerror "\"IOError: [Errno 95] Operation not supported\","
62 + eerror "then you should remount the filesystem containing"
63 + eerror "build directory with \"acl\" option enabled."
64 + eerror
65 + die "Tests fail with ${EPYTHON}"
66 + fi
67 +}