Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/glance/
Date: Thu, 30 Aug 2018 18:07:27
Message-Id: 1535652430.599365d2e428c161bf380056992efa00f2e48eb8.prometheanfire@gentoo
1 commit: 599365d2e428c161bf380056992efa00f2e48eb8
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 30 18:06:43 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 30 18:07:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=599365d2
7
8 app-admin/glance: rocky bump
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 app-admin/glance/Manifest | 1 +
13 app-admin/glance/glance-17.0.0.ebuild | 143 +++++++++++++++++++++++++++++
14 app-admin/glance/glance-2018.2.9999.ebuild | 143 +++++++++++++++++++++++++++++
15 3 files changed, 287 insertions(+)
16
17 diff --git a/app-admin/glance/Manifest b/app-admin/glance/Manifest
18 index 41c40aa2348..214599d2107 100644
19 --- a/app-admin/glance/Manifest
20 +++ b/app-admin/glance/Manifest
21 @@ -1,2 +1,3 @@
22 DIST glance-15.0.1.tar.gz 1815463 BLAKE2B ec6e51340fc4d737e2bd777baf03163a0b515d19c1dc8e5203918e07b304a9539f47ba763207e26def985c6a384d21250ffe1386b433d8b606b55d3d70e4431a SHA512 2da3ada256424a7817d0c49aac0940443cbefcfff3df77a623d7099badf356808b5df59f109ac233f84ac561b7310d3b8d53cafd6c9955a8e2b296a1655cedd3
23 DIST glance-16.0.1.tar.gz 1957403 BLAKE2B a58a37b1926432ff227ebbd2b8538d25276085c4183244f930cdb6432ce00ed3927130ede24faeb9ebd25489f649c7f6542d71b9fe9614859ed3953bded13ab2 SHA512 dad883c308cfa6799bd5fc4111585af2bd7f2c5a20126976d1044e2bf573f94756f2ecea87f3b04fe611f80602709e0501c0efceed5061d0c752416b6255a2a2
24 +DIST glance-17.0.0.tar.gz 1961137 BLAKE2B ff649ce366739320bcc5073cb60cc24ab09e098bd6808374007f89808d6caf020a77f711a714b34f8a1ef5b0754220aab7c35c02fbdc0d3d0f44e24185a8cdc4 SHA512 cd10bd2d3e98ab1a80ec4f09b5954dbc334079a36d3dfc0d27c5a4f40e5920e0a6fb91c0fc5430c9e625a375e44a8d886568f2a712190dc0f80df10b4998e9af
25
26 diff --git a/app-admin/glance/glance-17.0.0.ebuild b/app-admin/glance/glance-17.0.0.ebuild
27 new file mode 100644
28 index 00000000000..4a3501f76ee
29 --- /dev/null
30 +++ b/app-admin/glance/glance-17.0.0.ebuild
31 @@ -0,0 +1,143 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
37 +
38 +inherit distutils-r1 user
39 +
40 +DESCRIPTION="Services for discovering, registering, and retrieving VM images"
41 +HOMEPAGE="https://launchpad.net/glance"
42 +
43 +if [[ ${PV} == *9999 ]];then
44 + inherit git-r3
45 + EGIT_REPO_URI="https://github.com/openstack/glance.git"
46 + EGIT_BRANCH="stable/rocky"
47 +else
48 + SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
49 + KEYWORDS="~amd64 ~arm64 ~x86"
50 +fi
51 +
52 +LICENSE="Apache-2.0"
53 +SLOT="0"
54 +IUSE="doc mysql postgres +sqlite +swift"
55 +REQUIRED_USE="|| ( mysql postgres sqlite )"
56 +
57 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
58 + !~dev-python/pbr-2.1.0"
59 +DEPEND="
60 + dev-python/setuptools[${PYTHON_USEDEP}]
61 + ${CDEPEND}"
62 +
63 +#note to self, wsgiref is a python builtin, no need to package it
64 +#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
65 +
66 +RDEPEND="
67 + ${CDEPEND}
68 + >=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}]
69 + sqlite? (
70 + >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
71 + !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
72 + !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
73 + !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
74 + !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
75 + )
76 + mysql? (
77 + >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
78 + !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
79 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
80 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
81 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
82 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
83 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
84 + )
85 + postgres? (
86 + >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
87 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
88 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
89 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
90 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
91 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
92 + )
93 + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
94 + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
95 + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
96 + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
97 + >=dev-python/webob-1.7.1[${PYTHON_USEDEP}]
98 + >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
99 + >=dev-python/python-sqlparse-0.2.2[${PYTHON_USEDEP}]
100 + >=dev-python/alembic-0.8.10[${PYTHON_USEDEP}]
101 + >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
102 + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
103 + >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
104 + >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
105 + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
106 + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
107 + >=dev-python/futurist-1.2.0[${PYTHON_USEDEP}]
108 + >=dev-python/taskflow-2.16.0[${PYTHON_USEDEP}]
109 + >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}]
110 + >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
111 + >=dev-python/WSME-0.8.0[${PYTHON_USEDEP}]
112 + >=dev-python/prettytable-0.7.0[${PYTHON_USEDEP}]
113 + <dev-python/prettytable-0.8.0[${PYTHON_USEDEP}]
114 + >=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
115 + >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
116 + <dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
117 + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
118 + >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}]
119 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
120 + >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}]
121 + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
122 + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
123 + >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
124 + >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
125 + >=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}]
126 + >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}]
127 + !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}]
128 + >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
129 + >=dev-python/glance_store-0.26.1[${PYTHON_USEDEP}]
130 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
131 + >=dev-python/cryptography-2.1[${PYTHON_USEDEP}]
132 + >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}]
133 + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
134 + >=dev-python/monotonic-0.6[${PYTHON_USEDEP}]
135 +"
136 +
137 +#PATCHES=(
138 +#)
139 +
140 +pkg_setup() {
141 + enewgroup glance
142 + enewuser glance -1 -1 /var/lib/glance glance
143 +}
144 +
145 +python_prepare_all() {
146 + sed -i '/xattr/d' test-requirements.txt || die
147 + sed -i '/pysendfile/d' test-requirements.txt || die
148 + sed -i '/^hacking/d' test-requirements.txt || die
149 + distutils-r1_python_prepare_all
150 +}
151 +
152 +python_compile_all() {
153 + use doc && "${PYTHON}" setup.py build_sphinx
154 +}
155 +
156 +python_install_all() {
157 + distutils-r1_python_install_all
158 +
159 + newinitd "${FILESDIR}/glance.initd" glance-api
160 +
161 + diropts -m 0750 -o glance -g glance
162 + dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
163 + keepdir /etc/glance
164 + keepdir /var/log/glance
165 + keepdir /var/lib/glance/images
166 + keepdir /var/lib/glance/scrubber
167 +
168 + insinto /etc/glance
169 + insopts -m 0640 -o glance -g glance
170 + doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta*
171 +
172 + use doc && local HTML_DOCS=( doc/build/html/. )
173 + distutils-r1_python_install_all
174 +}
175
176 diff --git a/app-admin/glance/glance-2018.2.9999.ebuild b/app-admin/glance/glance-2018.2.9999.ebuild
177 new file mode 100644
178 index 00000000000..4a3501f76ee
179 --- /dev/null
180 +++ b/app-admin/glance/glance-2018.2.9999.ebuild
181 @@ -0,0 +1,143 @@
182 +# Copyright 1999-2018 Gentoo Foundation
183 +# Distributed under the terms of the GNU General Public License v2
184 +
185 +EAPI=6
186 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
187 +
188 +inherit distutils-r1 user
189 +
190 +DESCRIPTION="Services for discovering, registering, and retrieving VM images"
191 +HOMEPAGE="https://launchpad.net/glance"
192 +
193 +if [[ ${PV} == *9999 ]];then
194 + inherit git-r3
195 + EGIT_REPO_URI="https://github.com/openstack/glance.git"
196 + EGIT_BRANCH="stable/rocky"
197 +else
198 + SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
199 + KEYWORDS="~amd64 ~arm64 ~x86"
200 +fi
201 +
202 +LICENSE="Apache-2.0"
203 +SLOT="0"
204 +IUSE="doc mysql postgres +sqlite +swift"
205 +REQUIRED_USE="|| ( mysql postgres sqlite )"
206 +
207 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
208 + !~dev-python/pbr-2.1.0"
209 +DEPEND="
210 + dev-python/setuptools[${PYTHON_USEDEP}]
211 + ${CDEPEND}"
212 +
213 +#note to self, wsgiref is a python builtin, no need to package it
214 +#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
215 +
216 +RDEPEND="
217 + ${CDEPEND}
218 + >=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}]
219 + sqlite? (
220 + >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
221 + !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
222 + !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
223 + !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
224 + !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
225 + )
226 + mysql? (
227 + >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
228 + !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
229 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
230 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
231 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
232 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
233 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
234 + )
235 + postgres? (
236 + >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
237 + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
238 + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
239 + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
240 + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
241 + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
242 + )
243 + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
244 + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
245 + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
246 + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
247 + >=dev-python/webob-1.7.1[${PYTHON_USEDEP}]
248 + >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
249 + >=dev-python/python-sqlparse-0.2.2[${PYTHON_USEDEP}]
250 + >=dev-python/alembic-0.8.10[${PYTHON_USEDEP}]
251 + >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
252 + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
253 + >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
254 + >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
255 + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
256 + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
257 + >=dev-python/futurist-1.2.0[${PYTHON_USEDEP}]
258 + >=dev-python/taskflow-2.16.0[${PYTHON_USEDEP}]
259 + >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}]
260 + >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
261 + >=dev-python/WSME-0.8.0[${PYTHON_USEDEP}]
262 + >=dev-python/prettytable-0.7.0[${PYTHON_USEDEP}]
263 + <dev-python/prettytable-0.8.0[${PYTHON_USEDEP}]
264 + >=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
265 + >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
266 + <dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
267 + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
268 + >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}]
269 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
270 + >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}]
271 + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
272 + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
273 + >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
274 + >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
275 + >=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}]
276 + >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}]
277 + !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}]
278 + >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
279 + >=dev-python/glance_store-0.26.1[${PYTHON_USEDEP}]
280 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
281 + >=dev-python/cryptography-2.1[${PYTHON_USEDEP}]
282 + >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}]
283 + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
284 + >=dev-python/monotonic-0.6[${PYTHON_USEDEP}]
285 +"
286 +
287 +#PATCHES=(
288 +#)
289 +
290 +pkg_setup() {
291 + enewgroup glance
292 + enewuser glance -1 -1 /var/lib/glance glance
293 +}
294 +
295 +python_prepare_all() {
296 + sed -i '/xattr/d' test-requirements.txt || die
297 + sed -i '/pysendfile/d' test-requirements.txt || die
298 + sed -i '/^hacking/d' test-requirements.txt || die
299 + distutils-r1_python_prepare_all
300 +}
301 +
302 +python_compile_all() {
303 + use doc && "${PYTHON}" setup.py build_sphinx
304 +}
305 +
306 +python_install_all() {
307 + distutils-r1_python_install_all
308 +
309 + newinitd "${FILESDIR}/glance.initd" glance-api
310 +
311 + diropts -m 0750 -o glance -g glance
312 + dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
313 + keepdir /etc/glance
314 + keepdir /var/log/glance
315 + keepdir /var/lib/glance/images
316 + keepdir /var/lib/glance/scrubber
317 +
318 + insinto /etc/glance
319 + insopts -m 0640 -o glance -g glance
320 + doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta*
321 +
322 + use doc && local HTML_DOCS=( doc/build/html/. )
323 + distutils-r1_python_install_all
324 +}