1 |
commit: fb70d385e02127a6490d039ac58488ca08e6ae02 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 21 01:45:24 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 21 01:45:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb70d385 |
7 |
|
8 |
app-admin/glance: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.84, 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.0.ebuild | 150 ---------------------------------- |
15 |
2 files changed, 151 deletions(-) |
16 |
|
17 |
diff --git a/app-admin/glance/Manifest b/app-admin/glance/Manifest |
18 |
index bcc7c27901a..f9ec4e9fae1 100644 |
19 |
--- a/app-admin/glance/Manifest |
20 |
+++ b/app-admin/glance/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST glance-19.0.0.tar.gz 1942312 BLAKE2B b4b3e6cd86385dfe19d4a3b2e9c900006aed984457da71433ea1608b177702f1f0cc5c5057f475f7c0024d18fd196b48a774514511534cf6d325d5c9ccc1cb2d SHA512 7c72f988f2baebd6af17cd7de8e5daaa0ec889d8f210e3bb5cf45bd4d9296b45f1dd2dbbd1709705d0e2b6203bad60faaa11a56328124d47b95328b6678827a6 |
23 |
DIST glance-19.0.1.tar.gz 1943385 BLAKE2B 5e2530a05a171f640499a3e595ad15be29e95a10e6f22a186514cc73c4fc77d0ae5bf00a3d43616e8cb53ccde748a6560dd448db631c86343b2667c0dc6719a1 SHA512 b672d84d709149191103ed54cca91d604b43460b1bd6ab56263c1b8c382d1c4261ebfd58ca9e233ee50b248327bcbfd7bfd47fee57c8c08a9635b2ca0c0cffe4 |
24 |
|
25 |
diff --git a/app-admin/glance/glance-19.0.0.ebuild b/app-admin/glance/glance-19.0.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index 92286c64478..00000000000 |
28 |
--- a/app-admin/glance/glance-19.0.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,150 +0,0 @@ |
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 user |
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 |
-" |
139 |
- |
140 |
-#PATCHES=( |
141 |
-#) |
142 |
- |
143 |
-pkg_setup() { |
144 |
- enewgroup glance |
145 |
- enewuser glance -1 -1 /var/lib/glance glance |
146 |
-} |
147 |
- |
148 |
-python_prepare_all() { |
149 |
- sed -i '/xattr/d' test-requirements.txt || die |
150 |
- sed -i '/pysendfile/d' test-requirements.txt || die |
151 |
- sed -i '/^hacking/d' test-requirements.txt || die |
152 |
- distutils-r1_python_prepare_all |
153 |
-} |
154 |
- |
155 |
-python_compile_all() { |
156 |
- if [ ! -z ${EGIT_BRANCH+x} ]; then |
157 |
- use doc && "${PYTHON}" setup.py build_sphinx |
158 |
- fi |
159 |
-} |
160 |
- |
161 |
-python_install_all() { |
162 |
- distutils-r1_python_install_all |
163 |
- |
164 |
- newinitd "${FILESDIR}/glance.initd" glance-api |
165 |
- |
166 |
- diropts -m 0750 -o glance -g glance |
167 |
- dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber |
168 |
- keepdir /etc/glance |
169 |
- keepdir /var/log/glance |
170 |
- keepdir /var/lib/glance/images |
171 |
- keepdir /var/lib/glance/scrubber |
172 |
- |
173 |
- insinto /etc/glance |
174 |
- insopts -m 0640 -o glance -g glance |
175 |
- doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta* |
176 |
- |
177 |
- use doc && local HTML_DOCS=( doc/build/html/. ) |
178 |
- distutils-r1_python_install_all |
179 |
- rm -r ${ED}/usr/etc |
180 |
-} |