1 |
commit: e966f24ba17e9d412d2f42d23a7165584a461e1a |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 13 22:20:23 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 15 19:50:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e966f24b |
7 |
|
8 |
app-admin/glance: 20.0.1 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
app-admin/glance/Manifest | 1 + |
14 |
app-admin/glance/glance-20.0.1.ebuild | 144 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 145 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/glance/Manifest b/app-admin/glance/Manifest |
18 |
index 2a024a8398b..613adc1c61b 100644 |
19 |
--- a/app-admin/glance/Manifest |
20 |
+++ b/app-admin/glance/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST glance-20.0.0.tar.gz 1961501 BLAKE2B 81ecbf1dccb1b7cbc33481825cd1de65556e9950ea8fca71565380df27c5ca967b001f811bede483b8b0e05ddf01dcb39ef4474d29d10e530d8b3cd0218dae32 SHA512 37497c5705040f3f667e0352fb620731feac91a729d77e5049feea6f4fef73cc58ef84bc6c12e84773c5013aa24a06fff8d9a56f079c716357c84823fa5690b1 |
23 |
+DIST glance-20.0.1.tar.gz 1959665 BLAKE2B 8d51a9e46361b2b4a1fd1642e14a6fb8bd2bc4eade58279b90eb676f49d7ac649897faf837852cdac318eab87b6daa396008c5f98c2f5aac2e2425e975014eec SHA512 19ee3313f465ff0c010389d72050ec72a4ec4dcaa075b1b0db2c7e591a9f598d9a552cc7f89b1c2bed6b2b83883783ae306fff429177d7d728c7b0a70481233d |
24 |
|
25 |
diff --git a/app-admin/glance/glance-20.0.1.ebuild b/app-admin/glance/glance-20.0.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..3136ae3593d |
28 |
--- /dev/null |
29 |
+++ b/app-admin/glance/glance-20.0.1.ebuild |
30 |
@@ -0,0 +1,144 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_7 ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Services for discovering, registering, and retrieving VM images" |
40 |
+HOMEPAGE="https://launchpad.net/glance" |
41 |
+ |
42 |
+if [[ ${PV} == *9999 ]];then |
43 |
+ inherit git-r3 |
44 |
+ EGIT_REPO_URI="https://github.com/openstack/glance.git" |
45 |
+ EGIT_BRANCH="stable/ussuri" |
46 |
+else |
47 |
+ SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
48 |
+ KEYWORDS="~amd64 ~arm64 ~x86" |
49 |
+fi |
50 |
+ |
51 |
+LICENSE="Apache-2.0" |
52 |
+SLOT="0" |
53 |
+IUSE="doc mysql postgres +sqlite +swift" |
54 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
55 |
+ |
56 |
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
57 |
+ !~dev-python/pbr-2.1.0" |
58 |
+DEPEND=" |
59 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
60 |
+ ${CDEPEND}" |
61 |
+ |
62 |
+#note to self, wsgiref is a python builtin, no need to package it |
63 |
+#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}] |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ ${CDEPEND} |
67 |
+ >=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}] |
68 |
+ sqlite? ( |
69 |
+ >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
70 |
+ !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] |
71 |
+ !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] |
72 |
+ !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] |
73 |
+ !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] |
74 |
+ ) |
75 |
+ mysql? ( |
76 |
+ >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
77 |
+ !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
79 |
+ !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
80 |
+ !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
81 |
+ !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
82 |
+ !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
83 |
+ ) |
84 |
+ postgres? ( |
85 |
+ >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
87 |
+ !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
88 |
+ !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
89 |
+ !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
90 |
+ !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
91 |
+ ) |
92 |
+ >=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}] |
93 |
+ !~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] |
94 |
+ !~dev-python/eventlet-0.25.0[${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.8.1[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] |
99 |
+ >=dev-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-upgradecheck-0.1.0[${PYTHON_USEDEP}] |
106 |
+ >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] |
107 |
+ >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
108 |
+ >=dev-python/futurist-1.2.0[${PYTHON_USEDEP}] |
109 |
+ >=dev-python/taskflow-2.16.0[${PYTHON_USEDEP}] |
110 |
+ >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}] |
111 |
+ >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}] |
112 |
+ >=dev-python/WSME-0.8.0[${PYTHON_USEDEP}] |
113 |
+ >=dev-python/prettytable-0.7.0[${PYTHON_USEDEP}] |
114 |
+ <dev-python/prettytable-0.8.0[${PYTHON_USEDEP}] |
115 |
+ >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] |
116 |
+ >=dev-python/jsonschema-2.6.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-messaging-9.0.0[${PYTHON_USEDEP}] |
125 |
+ >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
126 |
+ >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
127 |
+ >=dev-python/oslo-policy-2.4.1[${PYTHON_USEDEP}] |
128 |
+ >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
129 |
+ !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
130 |
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
131 |
+ >=dev-python/glance_store-1.0.0[${PYTHON_USEDEP}] |
132 |
+ >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] |
133 |
+ >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] |
134 |
+ >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] |
135 |
+ >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
136 |
+ >=dev-python/os-win-3.0.0[${PYTHON_USEDEP}] |
137 |
+ >=dev-python/castellan-0.17.0[${PYTHON_USEDEP}] |
138 |
+ acct-user/glance |
139 |
+ acct-group/glance |
140 |
+" |
141 |
+ |
142 |
+python_prepare_all() { |
143 |
+ sed -i '/xattr/d' test-requirements.txt || die |
144 |
+ sed -i '/pysendfile/d' test-requirements.txt || die |
145 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
146 |
+ distutils-r1_python_prepare_all |
147 |
+} |
148 |
+ |
149 |
+python_compile_all() { |
150 |
+ if [ ! -z ${EGIT_BRANCH+x} ]; then |
151 |
+ use doc && "${PYTHON}" setup.py build_sphinx |
152 |
+ fi |
153 |
+} |
154 |
+ |
155 |
+python_install_all() { |
156 |
+ distutils-r1_python_install_all |
157 |
+ |
158 |
+ newinitd "${FILESDIR}/glance.initd" glance-api |
159 |
+ |
160 |
+ diropts -m 0750 -o glance -g glance |
161 |
+ dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber |
162 |
+ keepdir /etc/glance |
163 |
+ keepdir /var/log/glance |
164 |
+ keepdir /var/lib/glance/images |
165 |
+ keepdir /var/lib/glance/scrubber |
166 |
+ |
167 |
+ insinto /etc/glance |
168 |
+ insopts -m 0640 -o glance -g glance |
169 |
+ doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta* |
170 |
+ |
171 |
+ use doc && local HTML_DOCS=( doc/build/html/. ) |
172 |
+ distutils-r1_python_install_all |
173 |
+ rm -r "${ED}"/usr/etc |
174 |
+} |