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/python-neutronclient/
Date: Sat, 11 May 2019 02:15:52
Message-Id: 1557540935.090545fde588de0678c5838c118183e2ae3ee85f.prometheanfire@gentoo
1 commit: 090545fde588de0678c5838c118183e2ae3ee85f
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 11 02:13:23 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat May 11 02:15:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=090545fd
7
8 dev-python/python-neutronclient: cleanup
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/python-neutronclient/Manifest | 2 -
14 .../python-neutronclient-6.5.0.ebuild | 102 ---------------------
15 .../python-neutronclient-6.7.0.ebuild | 99 --------------------
16 3 files changed, 203 deletions(-)
17
18 diff --git a/dev-python/python-neutronclient/Manifest b/dev-python/python-neutronclient/Manifest
19 index f3b383eadef..44c335f3921 100644
20 --- a/dev-python/python-neutronclient/Manifest
21 +++ b/dev-python/python-neutronclient/Manifest
22 @@ -1,4 +1,2 @@
23 DIST python-neutronclient-6.12.0.tar.gz 290025 BLAKE2B f863826a531708fda1b9ddb43f8bfd8f66fbba99ce3fe4afc1135d20fe4718dc7f11789c3e75cf52089690ce0286bf5339c9253d1e7e35916befb52ed905448a SHA512 c7e69e263b37aa14b59b08ecc12f13210e1bd6f10cde10d8b4d5b8b9f912d604e23ff41eed684baf09bb6dc278393a55ca87d6e41e0986235cd3366d321dd85f
24 -DIST python-neutronclient-6.5.0.tar.gz 255893 BLAKE2B f7e6f6225e476c200b82bb4ca224b500078bd8357377a7d5d8a331531647ddce9df4bbc42e9d9cebee689d031bd47216c8fc9bce0ad2b3228890b8cbfd8979f8 SHA512 77d4f86f2bc066026c903c9c694dfe2de747dc7caec268853a3d2ae8e27a47b39695b33bd81b182334717fbab7817873ae468b928e85622204c348e5b18e0930
25 -DIST python-neutronclient-6.7.0.tar.gz 286482 BLAKE2B db64746641ce58cff379ea131f05c37e962cbb64323d4e76436f4b0b9169a954396b13530894e0c09c439072d7d040286f0face1e12ae537b417e7e14ddc600d SHA512 4201ce10173c91ade8b4699d54136e583da1cdd74ac340cad9f419c56d71e0cdcdb78a70795e69a8c5e13d2feba240315b976f32fd96f6561b696425f3c69885
26 DIST python-neutronclient-6.9.0.tar.gz 284879 BLAKE2B 720d26489dae7e50617ec83c266ac1197dc1934a3b8f5e8a0e285227421cf8814d96d57ab30710b63eb92406663aafb29fe8d8d7efa1e1d2e74c116eaac5902c SHA512 89f5a2004c7888f11a1a17f4287ddf6942e083fc3871be4a8590a5bb86ec557584165a75cb6470ea3f19526eea882b0174746b20800211d11d10fea1210df74f
27
28 diff --git a/dev-python/python-neutronclient/python-neutronclient-6.5.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-6.5.0.ebuild
29 deleted file mode 100644
30 index 02bb3151f80..00000000000
31 --- a/dev-python/python-neutronclient/python-neutronclient-6.5.0.ebuild
32 +++ /dev/null
33 @@ -1,102 +0,0 @@
34 -# Copyright 1999-2019 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -PYTHON_COMPAT=( python2_7 python3_5 )
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="A client for the OpenStack Quantum API"
43 -HOMEPAGE="https://launchpad.net/neutron"
44 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 -
46 -LICENSE="Apache-2.0"
47 -SLOT="0"
48 -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
49 -IUSE="doc test"
50 -REQUIRED_USE="test? ( doc )"
51 -
52 -CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
53 - !~dev-python/pbr-2.1.0"
54 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
55 - ${CDEPEND}
56 - test? (
57 - >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
58 - !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
59 - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
60 - >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
61 - !~dev-python/mox3-0.19.0[${PYTHON_USEDEP}]
62 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
63 - >=dev-python/openstackdocstheme-1.11.0[${PYTHON_USEDEP}]
64 - >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
65 - >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
66 - >=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}]
67 - !~dev-python/python-openstackclient-3.10.0[${PYTHON_USEDEP}]
68 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
69 - >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
70 - !~dev-python/reno-2.3.1[${PYTHON_USEDEP}]
71 - >=dev-python/requests-mock-1.1.0[${PYTHON_USEDEP}]
72 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
73 - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
74 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
75 - )
76 - doc? (
77 - >=dev-python/openstackdocstheme-1.11.0[${PYTHON_USEDEP}]
78 - >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
79 - )"
80 -
81 -RDEPEND="
82 - ${CDEPEND}
83 - >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}]
84 - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
85 - >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
86 - >=dev-python/netaddr-0.7.13[${PYTHON_USEDEP}]
87 - !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}]
88 - >=dev-python/osc-lib-1.7.0[${PYTHON_USEDEP}]
89 - >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
90 - !~dev-python/oslo-i18n-3.15.0[${PYTHON_USEDEP}]
91 - >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
92 - !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
93 - >=dev-python/oslo-utils-3.20.0[${PYTHON_USEDEP}]
94 - >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}]
95 - >=dev-python/keystoneauth-3.0.1[${PYTHON_USEDEP}]
96 - >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
97 - >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
98 - >=dev-python/simplejson-2.2.0[${PYTHON_USEDEP}]
99 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
100 - >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
101 - !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]"
102 -
103 -python_prepare_all() {
104 - # built in...
105 - sed -i '/^hacking/d' test-requirements.txt || die
106 - sed -i '/^flake8-import-order/d' test-requirements.txt || die
107 - distutils-r1_python_prepare_all
108 -}
109 -
110 -python_compile_all() {
111 - use doc && "${PYTHON}" setup.py build_sphinx
112 -}
113 -
114 -python_test() {
115 - testr init
116 - testr run || die "tests failed under python2.7"
117 - flake8 neutronclient/tests || die "run by flake8 over tests folder yielded error"
118 -}
119 -
120 -python_install() {
121 - distutils-r1_python_install
122 - #stupid stupid
123 - local SITEDIR="${D%/}$(python_get_sitedir)" || die
124 - cd "${SITEDIR}" || die
125 - local egg=( python_neutronclient*.egg-info )
126 - #[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found"
127 - ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die
128 - ln -s neutronclient quantumclient || die
129 - ln -s neutron quantumclient/quantum || die
130 -}
131 -
132 -python_install_all() {
133 - use doc && local HTML_DOCS=( doc/build/html/. )
134 - distutils-r1_python_install_all
135 -}
136
137 diff --git a/dev-python/python-neutronclient/python-neutronclient-6.7.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-6.7.0.ebuild
138 deleted file mode 100644
139 index a1155db039e..00000000000
140 --- a/dev-python/python-neutronclient/python-neutronclient-6.7.0.ebuild
141 +++ /dev/null
142 @@ -1,99 +0,0 @@
143 -# Copyright 1999-2019 Gentoo Authors
144 -# Distributed under the terms of the GNU General Public License v2
145 -
146 -EAPI=6
147 -PYTHON_COMPAT=( python2_7 python3_{5,6} )
148 -
149 -inherit distutils-r1
150 -
151 -DESCRIPTION="A client for the OpenStack Quantum API"
152 -HOMEPAGE="https://launchpad.net/neutron"
153 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
154 -
155 -LICENSE="Apache-2.0"
156 -SLOT="0"
157 -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
158 -IUSE="doc test"
159 -REQUIRED_USE="test? ( doc )"
160 -
161 -CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
162 - !~dev-python/pbr-2.1.0"
163 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
164 - ${CDEPEND}
165 - test? (
166 - >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
167 - !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
168 - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
169 - >=dev-python/mox3-0.20.0[${PYTHON_USEDEP}]
170 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
171 - >=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}]
172 - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
173 - >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
174 - >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}]
175 - >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
176 - >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
177 - >=dev-python/requests-mock-1.1.0[${PYTHON_USEDEP}]
178 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
179 - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
180 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
181 - )
182 - doc? (
183 - >=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}]
184 - >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
185 - !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}]
186 - )"
187 -
188 -RDEPEND="
189 - ${CDEPEND}
190 - >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}]
191 - !~dev-python/cliff-2.9.0[${PYTHON_USEDEP}]
192 - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
193 - >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
194 - >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
195 - >=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}]
196 - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
197 - >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}]
198 - !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
199 - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
200 - >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}]
201 - >=dev-python/keystoneauth-3.3.0[${PYTHON_USEDEP}]
202 - >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
203 - >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
204 - >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}]
205 - >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
206 - >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
207 - !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]"
208 -
209 -python_prepare_all() {
210 - # built in...
211 - sed -i '/^hacking/d' test-requirements.txt || die
212 - sed -i '/^flake8-import-order/d' test-requirements.txt || die
213 - distutils-r1_python_prepare_all
214 -}
215 -
216 -python_compile_all() {
217 - use doc && "${PYTHON}" setup.py build_sphinx
218 -}
219 -
220 -python_test() {
221 - testr init
222 - testr run || die "tests failed under python2.7"
223 - flake8 neutronclient/tests || die "run by flake8 over tests folder yielded error"
224 -}
225 -
226 -python_install() {
227 - distutils-r1_python_install
228 - #stupid stupid
229 - local SITEDIR="${D%/}$(python_get_sitedir)" || die
230 - cd "${SITEDIR}" || die
231 - local egg=( python_neutronclient*.egg-info )
232 - #[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found"
233 - ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die
234 - ln -s neutronclient quantumclient || die
235 - ln -s neutron quantumclient/quantum || die
236 -}
237 -
238 -python_install_all() {
239 - use doc && local HTML_DOCS=( doc/build/html/. )
240 - distutils-r1_python_install_all
241 -}