1 |
commit: b552a2cc48244b8c6106c1859d59aeaa9bf30fda |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 4 16:32:50 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 4 17:10:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b552a2cc |
7 |
|
8 |
app-admin/glance: 19.0.2 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
app-admin/glance/Manifest | 1 + |
14 |
app-admin/glance/glance-19.0.2.ebuild | 144 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 145 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/glance/Manifest b/app-admin/glance/Manifest |
18 |
index f9ec4e9fae1..505b122a84d 100644 |
19 |
--- a/app-admin/glance/Manifest |
20 |
+++ b/app-admin/glance/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST glance-19.0.1.tar.gz 1943385 BLAKE2B 5e2530a05a171f640499a3e595ad15be29e95a10e6f22a186514cc73c4fc77d0ae5bf00a3d43616e8cb53ccde748a6560dd448db631c86343b2667c0dc6719a1 SHA512 b672d84d709149191103ed54cca91d604b43460b1bd6ab56263c1b8c382d1c4261ebfd58ca9e233ee50b248327bcbfd7bfd47fee57c8c08a9635b2ca0c0cffe4 |
23 |
+DIST glance-19.0.2.tar.gz 1943984 BLAKE2B 2fc0d30a11a056b02471e1d038f85b327632b02b7ee177fc4b44e571be9713905cd5bfc6c3d8103edb7a04bf5c51dcc1edc31ce81f25951df84236ad5a6898c6 SHA512 cd0e88f8bba81536eb95f49d1e3f029d8951b2c81208fcd6c32dc877ce51df6026521a6829705e97c8aacd2bc6e4f5eddeae98dfea0c41e00c7f6757dbcfbfa2 |
24 |
|
25 |
diff --git a/app-admin/glance/glance-19.0.2.ebuild b/app-admin/glance/glance-19.0.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..35a2c373235 |
28 |
--- /dev/null |
29 |
+++ b/app-admin/glance/glance-19.0.2.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_{6,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/train" |
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/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-1.30.0[${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 |
+} |