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: Wed, 06 Dec 2017 00:58:14
Message-Id: 1512521873.b6a6523096bb2802de8a7f8bf3f9a658522ce352.prometheanfire@gentoo
1 commit: b6a6523096bb2802de8a7f8bf3f9a658522ce352
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 6 00:57:35 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 6 00:57:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a65230
7
8 dev-python/oslo-rootwrap: 5.4.2 and 5.9.2 bups
9
10 Package-Manager: Portage-2.3.14, Repoman-2.3.6
11
12 dev-python/oslo-rootwrap/Manifest | 8 ++--
13 .../oslo-rootwrap/oslo-rootwrap-5.4.2.ebuild | 47 +++++++++++++++++++++
14 .../oslo-rootwrap/oslo-rootwrap-5.9.2.ebuild | 49 ++++++++++++++++++++++
15 3 files changed, 101 insertions(+), 3 deletions(-)
16
17 diff --git a/dev-python/oslo-rootwrap/Manifest b/dev-python/oslo-rootwrap/Manifest
18 index 99393859381..898cca8de6e 100644
19 --- a/dev-python/oslo-rootwrap/Manifest
20 +++ b/dev-python/oslo-rootwrap/Manifest
21 @@ -1,3 +1,5 @@
22 -DIST oslo.rootwrap-5.4.1.tar.gz 42202 SHA256 a76cf545515c1cf6d4d9b1a01a339c1356d1eb78ff3b2190e168dafead3c7e7d SHA512 71980ea266703c7880834cf75b69be9f7bee834a3be314f13ade1bb9903ecf6337237a32a1ed06d020c2fdd3807642af1dd676b6736052d4e57784942782d960 WHIRLPOOL 321a2e9774e3702015510d608e4e145d9fc69c4069865dd5215ad6e94e3692e7e56e029298e908fc007f487d54737d3cd4218dfc93d0625c6950edba45da56b2
23 -DIST oslo.rootwrap-5.9.0.tar.gz 42352 SHA256 f8947b42d02ae26942f0c1166b410016c7e1796b00f00983f685e9eccb91ba91 SHA512 5c299b8701d308f0f02a8edde08d56145781dfe9d25f4b064b2ce926e38a0be5a5dab20d6d57ebaf289af2758d97b81089407e1851edaca23c36436abf8433fd WHIRLPOOL 94ada80d8cf286fd20786106f37ac3579d387157a8125bd74f819b3fbccb31cbd5a00117507e836609c5dcaa64ce6983cd179aa8cd82333fdffeac7f0ddc3d5b
24 -DIST oslo.rootwrap-5.9.1.tar.gz 42056 SHA256 11df3567e52f4cfd77e498713248f981c95a0cf01511610dd3bcc604c576799e SHA512 1c2505970217676954948546bd161a9038504f14ee3425c4d9a91807abe0e282e8e44c493c3d20e2e1c17ae506f3b768cf87c75ee46a0194c360663856796460 WHIRLPOOL 1b5f892d7d222e3ab7a1c3f1ee3fc3c18f11766ed085eb83bfb726d2e114623bd6806429a81dda63014874e8d215b48852ee19deb01ba6e33b6b663050f55caf
25 +DIST oslo.rootwrap-5.4.1.tar.gz 42202 BLAKE2B 3ae54e9a10bcf3b1073731ca6800d9c2b1fa100667760142a7ba33c32ba308810525e61768ad353f6cf3c4a78370012698ff77b60884be55b2205a8d793d6e31 SHA512 71980ea266703c7880834cf75b69be9f7bee834a3be314f13ade1bb9903ecf6337237a32a1ed06d020c2fdd3807642af1dd676b6736052d4e57784942782d960
26 +DIST oslo.rootwrap-5.4.2.tar.gz 42789 BLAKE2B f6587ff6f57bbef75f39808373b6d76b86fb0cbb5129c0c3421aceeab29ecfc5b2cab61471dc80d7ce4a6519a432b4d572f158ac513c7a76ec4148f717346e44 SHA512 32f692248e4006e5809edb2669d4f1105cd8592c69b36bd17c4cac786f26face4971e60505e7d2d775d4b2f54a369c7acdfb3da85e19dbd96d65203f5d8df7a7
27 +DIST oslo.rootwrap-5.9.0.tar.gz 42352 BLAKE2B ea689dc299ccb02e0268792916f595127e060fa43c0ae33eae669307b249c34a5125e2267be418d008ad8f1127b86c20e84d76b70c5d89f749a3ee1996619480 SHA512 5c299b8701d308f0f02a8edde08d56145781dfe9d25f4b064b2ce926e38a0be5a5dab20d6d57ebaf289af2758d97b81089407e1851edaca23c36436abf8433fd
28 +DIST oslo.rootwrap-5.9.1.tar.gz 42056 BLAKE2B e6601f75a5b843ec97ae51b86d475b3c2646d1ccfaf52fd3289f29b08da429c15a7d1df1a0e68bd22ab0038b745653d1a1a1c2547b3f0bd5111048fa51de6f0f SHA512 1c2505970217676954948546bd161a9038504f14ee3425c4d9a91807abe0e282e8e44c493c3d20e2e1c17ae506f3b768cf87c75ee46a0194c360663856796460
29 +DIST oslo.rootwrap-5.9.2.tar.gz 43716 BLAKE2B 4e455fe52c6f20824bf220a8444dfcdc916dfd85f0ff42edf8e3a6b8a065a45344122f56272943cc06f88fc272522af9914dd2a961d3c98c30ba66741419aa1e SHA512 3ad7c2d028c3052476bc26c00bf34c421b44db59cae2d45b5d1041902c14227f6de89a9b8fb36f123c9a9e477dcee42e567425439d9d3eb12a5f701c5a13be6b
30
31 diff --git a/dev-python/oslo-rootwrap/oslo-rootwrap-5.4.2.ebuild b/dev-python/oslo-rootwrap/oslo-rootwrap-5.4.2.ebuild
32 new file mode 100644
33 index 00000000000..42e6fb2940b
34 --- /dev/null
35 +++ b/dev-python/oslo-rootwrap/oslo-rootwrap-5.4.2.ebuild
36 @@ -0,0 +1,47 @@
37 +# Copyright 1999-2017 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
42 +
43 +inherit distutils-r1
44 +
45 +DESCRIPTION="Allows fine filtering of shell commands to run as root from OpenStack services"
46 +HOMEPAGE="https://pypi.python.org/pypi/oslo.config"
47 +SRC_URI="mirror://pypi/${PN:0:1}/oslo.rootwrap/oslo.rootwrap-${PV}.tar.gz"
48 +S="${WORKDIR}/oslo.rootwrap-${PV}"
49 +
50 +LICENSE="Apache-2.0"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm64 ~x86"
53 +IUSE="test"
54 +
55 +CDEPEND="
56 + >=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
57 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
58 + ${CDEPEND}
59 + test? (
60 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
61 + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
62 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
63 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
64 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
65 + >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
66 + <dev-python/sphinx-1.4[${PYTHON_USEDEP}]
67 + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
68 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
69 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
70 + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
71 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
72 + dev-python/nose[${PYTHON_USEDEP}] )"
73 +RDEPEND=">=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
74 +
75 +python_prepare_all() {
76 + sed -i '/^hacking/d' test-requirements.txt || die
77 + distutils-r1_python_prepare_all
78 +}
79 +
80 +python_test() {
81 + sed -i 's/sbin\/ip/bin\/ip/g' tests/test_rootwrap.py
82 + nosetests tests/ || die "test failed under ${EPYTHON}"
83 +}
84
85 diff --git a/dev-python/oslo-rootwrap/oslo-rootwrap-5.9.2.ebuild b/dev-python/oslo-rootwrap/oslo-rootwrap-5.9.2.ebuild
86 new file mode 100644
87 index 00000000000..2f4f9872915
88 --- /dev/null
89 +++ b/dev-python/oslo-rootwrap/oslo-rootwrap-5.9.2.ebuild
90 @@ -0,0 +1,49 @@
91 +# Copyright 1999-2017 Gentoo Foundation
92 +# Distributed under the terms of the GNU General Public License v2
93 +
94 +EAPI=6
95 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
96 +
97 +inherit distutils-r1
98 +
99 +DESCRIPTION="Allows fine filtering of shell commands to run as root from OpenStack services"
100 +HOMEPAGE="https://pypi.python.org/pypi/oslo.config"
101 +SRC_URI="mirror://pypi/${PN:0:1}/oslo.rootwrap/oslo.rootwrap-${PV}.tar.gz"
102 +S="${WORKDIR}/oslo.rootwrap-${PV}"
103 +
104 +LICENSE="Apache-2.0"
105 +SLOT="0"
106 +KEYWORDS="~amd64 ~arm64 ~x86"
107 +IUSE="test"
108 +
109 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
110 + !~dev-python/pbr-2.1.0"
111 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
112 + ${CDEPEND}
113 + test? (
114 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
115 + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
116 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
117 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
118 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
119 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
120 + >=dev-python/openstackdocstheme-1.16.0[${PYTHON_USEDEP}]
121 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
122 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
123 + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
124 + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
125 + <dev-python/eventlet-0.21.0[${PYTHON_USEDEP}]
126 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
127 + !~dev-python/reno-2.3.1[${PYTHON_USEDEP}]
128 + dev-python/nose[${PYTHON_USEDEP}] )"
129 +RDEPEND=">=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
130 +
131 +python_prepare_all() {
132 + sed -i '/^hacking/d' test-requirements.txt || die
133 + distutils-r1_python_prepare_all
134 +}
135 +
136 +python_test() {
137 + sed -i 's/sbin\/ip/bin\/ip/g' tests/test_rootwrap.py
138 + nosetests tests/ || die "test failed under ${EPYTHON}"
139 +}