Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oslo-rootwrap/
Date: Mon, 28 Aug 2017 21:52:11
Message-Id: 1503957054.343a85aae491a6d1429cfd6ae7fe439b11207828.prometheanfire@gentoo
1 commit: 343a85aae491a6d1429cfd6ae7fe439b11207828
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 28 20:06:24 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 28 21:50:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=343a85aa
7
8 dev-python/oslo-rootwrap: 5.9.0 bup
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-python/oslo-rootwrap/Manifest | 1 +
13 .../oslo-rootwrap/oslo-rootwrap-5.9.0.ebuild | 49 ++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/oslo-rootwrap/Manifest b/dev-python/oslo-rootwrap/Manifest
17 index f254d86481e..adc35c181e2 100644
18 --- a/dev-python/oslo-rootwrap/Manifest
19 +++ b/dev-python/oslo-rootwrap/Manifest
20 @@ -1 +1,2 @@
21 DIST oslo.rootwrap-5.4.1.tar.gz 42202 SHA256 a76cf545515c1cf6d4d9b1a01a339c1356d1eb78ff3b2190e168dafead3c7e7d SHA512 71980ea266703c7880834cf75b69be9f7bee834a3be314f13ade1bb9903ecf6337237a32a1ed06d020c2fdd3807642af1dd676b6736052d4e57784942782d960 WHIRLPOOL 321a2e9774e3702015510d608e4e145d9fc69c4069865dd5215ad6e94e3692e7e56e029298e908fc007f487d54737d3cd4218dfc93d0625c6950edba45da56b2
22 +DIST oslo.rootwrap-5.9.0.tar.gz 42352 SHA256 f8947b42d02ae26942f0c1166b410016c7e1796b00f00983f685e9eccb91ba91 SHA512 5c299b8701d308f0f02a8edde08d56145781dfe9d25f4b064b2ce926e38a0be5a5dab20d6d57ebaf289af2758d97b81089407e1851edaca23c36436abf8433fd WHIRLPOOL 94ada80d8cf286fd20786106f37ac3579d387157a8125bd74f819b3fbccb31cbd5a00117507e836609c5dcaa64ce6983cd179aa8cd82333fdffeac7f0ddc3d5b
23
24 diff --git a/dev-python/oslo-rootwrap/oslo-rootwrap-5.9.0.ebuild b/dev-python/oslo-rootwrap/oslo-rootwrap-5.9.0.ebuild
25 new file mode 100644
26 index 00000000000..30c95fc65be
27 --- /dev/null
28 +++ b/dev-python/oslo-rootwrap/oslo-rootwrap-5.9.0.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
35 +
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Allows fine filtering of shell commands to run as root from OpenStack services"
39 +HOMEPAGE="https://pypi.python.org/pypi/oslo.config"
40 +SRC_URI="mirror://pypi/${PN:0:1}/oslo.rootwrap/oslo.rootwrap-${PV}.tar.gz"
41 +S="${WORKDIR}/oslo.rootwrap-${PV}"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~x86"
46 +IUSE="test"
47 +
48 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
49 + !~dev-python/pbr-2.1.0"
50 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
51 + ${CDEPEND}
52 + test? (
53 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
54 + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
55 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
56 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
57 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
58 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
59 + >=dev-python/openstackdocstheme-1.11.0[${PYTHON_USEDEP}]
60 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
61 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
62 + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
63 + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
64 + <dev-python/eventlet-0.21.0[${PYTHON_USEDEP}]
65 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
66 + !~dev-python/reno-2.3.1[${PYTHON_USEDEP}]
67 + dev-python/nose[${PYTHON_USEDEP}] )"
68 +RDEPEND=">=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
69 +
70 +python_prepare_all() {
71 + sed -i '/^hacking/d' test-requirements.txt || die
72 + distutils-r1_python_prepare_all
73 +}
74 +
75 +python_test() {
76 + sed -i 's/sbin\/ip/bin\/ip/g' tests/test_rootwrap.py
77 + nosetests tests/ || die "test failed under ${EPYTHON}"
78 +}