Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oslo-rootwrap/
Date: Wed, 10 Apr 2019 05:08:38
Message-Id: 1554872883.31aba518708508114a13f7f774497ef909264866.prometheanfire@gentoo
1 commit: 31aba518708508114a13f7f774497ef909264866
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 10 04:28:47 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 10 05:08:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31aba518
7
8 dev-python/oslo-rootwrap: 5.15.2 bump
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 dev-python/oslo-rootwrap/Manifest | 1 +
14 .../oslo-rootwrap/oslo-rootwrap-5.15.2.ebuild | 49 ++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/dev-python/oslo-rootwrap/Manifest b/dev-python/oslo-rootwrap/Manifest
18 index fc31a60a053..4b2df6e21ad 100644
19 --- a/dev-python/oslo-rootwrap/Manifest
20 +++ b/dev-python/oslo-rootwrap/Manifest
21 @@ -1 +1,2 @@
22 DIST oslo.rootwrap-5.13.0.tar.gz 43433 BLAKE2B 8d53587f63022255683d18b8ce22dca07a160d7692e9d2fcd5e6c466bb6969da11a9a1af4646809921724b9f1b63b2532728bd3ade82312354793b6b4d15f0d4 SHA512 ff716e1e5900f754617578eb8bf60c1d2794474706f22a0c619c94177602ed3c3acde42ad499a7a613f310d6dffe526339b5cd1c96ecc727dcc43e1a9afd606c
23 +DIST oslo.rootwrap-5.15.2.tar.gz 45566 BLAKE2B 1755a52d1e380a512c50f5314f7a4f249da9e62030abfef531bf973277a98f1f42f1c27a69a4e6e5cf64441e6a7263a3780355da4860461cfafed172ea087946 SHA512 9fc4c4678a25ebecb08026e71ef8da44bf1214f177d5330de8d68cfce8c3d85f4085a9e19f282bc8b498a36d8a7e384cde354a95619a800e3a68aba088df5aad
24
25 diff --git a/dev-python/oslo-rootwrap/oslo-rootwrap-5.15.2.ebuild b/dev-python/oslo-rootwrap/oslo-rootwrap-5.15.2.ebuild
26 new file mode 100644
27 index 00000000000..6386ba45a63
28 --- /dev/null
29 +++ b/dev-python/oslo-rootwrap/oslo-rootwrap-5.15.2.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Allows fine filtering of shell commands to run as root from OpenStack services"
40 +HOMEPAGE="https://pypi.org/project/oslo.config/"
41 +SRC_URI="mirror://pypi/${PN:0:1}/oslo.rootwrap/oslo.rootwrap-${PV}.tar.gz"
42 +S="${WORKDIR}/oslo.rootwrap-${PV}"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm64 ~x86"
47 +IUSE="test"
48 +
49 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
50 + !~dev-python/pbr-2.1.0"
51 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
52 + ${CDEPEND}
53 + test? (
54 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
55 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
56 + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
57 + >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
58 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
59 + !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}]
60 + !~dev-python/sphinx-1.6.7[${PYTHON_USEDEP}]
61 + >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}]
62 + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
63 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
64 + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
65 + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
66 + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
67 + >dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
68 + dev-python/nose[${PYTHON_USEDEP}] )"
69 +RDEPEND=">=dev-python/six-1.10.0[${PYTHON_USEDEP}]"
70 +
71 +python_prepare_all() {
72 + sed -i '/^hacking/d' test-requirements.txt || die
73 + distutils-r1_python_prepare_all
74 +}
75 +
76 +python_test() {
77 + sed -i 's/sbin\/ip/bin\/ip/g' tests/test_rootwrap.py
78 + nosetests tests/ || die "test failed under ${EPYTHON}"
79 +}