1 |
commit: b4363312623db3e26712cb1cd4a9294f3e57e603 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 3 00:27:51 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 3 00:31:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4363312 |
7 |
|
8 |
sys-cluster/cinder: remove train |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.23 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
sys-cluster/cinder/Manifest | 3 - |
14 |
sys-cluster/cinder/cinder-15.3.0.ebuild | 210 --------------------------- |
15 |
sys-cluster/cinder/cinder-2019.2.9999.ebuild | 210 --------------------------- |
16 |
3 files changed, 423 deletions(-) |
17 |
|
18 |
diff --git a/sys-cluster/cinder/Manifest b/sys-cluster/cinder/Manifest |
19 |
index d98e31e0407..0e53d42c82b 100644 |
20 |
--- a/sys-cluster/cinder/Manifest |
21 |
+++ b/sys-cluster/cinder/Manifest |
22 |
@@ -1,6 +1,3 @@ |
23 |
-DIST cinder-15.3.0.tar.gz 5521543 BLAKE2B e311ea1d9771f75a45a98598dae2fe7e060fb25c1b16ce5d94bbd769caca70512417724c531b756216ce594ed3bb682653681339ae37bc262139bd3080116bbb SHA512 793fe23a5526ba726416282022888f090c9c58c180d33013d66f6916251fd4789e8af2565dbe6ef61f224d9a61b4a622374ad7c4ea722f260dbf3a60274bfe0e |
24 |
DIST cinder-16.1.0.tar.gz 5445353 BLAKE2B f7e121845b5db3de191c8782577f680cbb93fd26087113bd0c322eed4b27cf071977763a3eacb933d7b8894b56aaf042a115c2dfd20be47f89c9d45f0556c34a SHA512 97fb157eac466d869a707cd05d287a309512952e8f8267b58123b9108eb1c2df66c8d0b799a3fb83087645a09e679b7c6eb24baa4a21b751a1ce35dbb5bd3f4a |
25 |
-DIST cinder.conf.sample-15.3.0 183153 BLAKE2B fb86b82c711568c89a445c5876a1d5e890714d4dd957d4aa5b3158a3c85150e75d8d0055a93bf6a937d8a6f5a3c4042c5ddb4b4da2dd006d77d8eb8ec8a19fc5 SHA512 95a2076970184bc34c9c293371f72a791f16600c4933572b8d51291c506a7c1ef3bd2ea185f1f4dafeff6c85a237f4453f8ee6c1df6af7f603afe1ddfd63cd3a |
26 |
DIST cinder.conf.sample-16.1.0 183294 BLAKE2B 5d0f28b9ad200d912c42c34ca030a5ec3660c57db332677e1b66b314a2865187862c83baf78d122fc0af7f73fbf4f0c7f04b9253882d228dcb863bfc88e37e72 SHA512 faf712a3da37af05e642b3c14f98ce8d4e3db5b736b208d7ca8a18be02ac5626c94b4ed314bd0030d5fa3771b325ba0f24ec3a45188d27fd9de79c97b56e2626 |
27 |
-DIST cinder.conf.sample-2019.2.9999 183153 BLAKE2B fb86b82c711568c89a445c5876a1d5e890714d4dd957d4aa5b3158a3c85150e75d8d0055a93bf6a937d8a6f5a3c4042c5ddb4b4da2dd006d77d8eb8ec8a19fc5 SHA512 95a2076970184bc34c9c293371f72a791f16600c4933572b8d51291c506a7c1ef3bd2ea185f1f4dafeff6c85a237f4453f8ee6c1df6af7f603afe1ddfd63cd3a |
28 |
DIST cinder.conf.sample-2020.1.9999 183294 BLAKE2B 5d0f28b9ad200d912c42c34ca030a5ec3660c57db332677e1b66b314a2865187862c83baf78d122fc0af7f73fbf4f0c7f04b9253882d228dcb863bfc88e37e72 SHA512 faf712a3da37af05e642b3c14f98ce8d4e3db5b736b208d7ca8a18be02ac5626c94b4ed314bd0030d5fa3771b325ba0f24ec3a45188d27fd9de79c97b56e2626 |
29 |
|
30 |
diff --git a/sys-cluster/cinder/cinder-15.3.0.ebuild b/sys-cluster/cinder/cinder-15.3.0.ebuild |
31 |
deleted file mode 100644 |
32 |
index 96ca3fecfe4..00000000000 |
33 |
--- a/sys-cluster/cinder/cinder-15.3.0.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,210 +0,0 @@ |
36 |
-# Copyright 1999-2020 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-PYTHON_COMPAT=( python3_7 ) |
42 |
-inherit distutils-r1 eutils linux-info |
43 |
- |
44 |
-DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes" |
45 |
-HOMEPAGE="https://launchpad.net/cinder" |
46 |
- |
47 |
-if [[ ${PV} == *9999 ]];then |
48 |
- inherit git-r3 |
49 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV}" |
50 |
- EGIT_REPO_URI="https://github.com/openstack/cinder.git" |
51 |
- EGIT_BRANCH="stable/train" |
52 |
-else |
53 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV} |
54 |
- https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
55 |
- KEYWORDS="amd64 ~arm64 x86" |
56 |
-fi |
57 |
- |
58 |
-LICENSE="Apache-2.0" |
59 |
-SLOT="0" |
60 |
-IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt" |
61 |
-RESTRICT="!test? ( test )" |
62 |
-REQUIRED_USE="|| ( mysql postgres sqlite ) iscsi? ( tgt ) infiniband? ( rdma )" |
63 |
- |
64 |
-CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
65 |
- !~dev-python/pbr-2.1.0" |
66 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
67 |
- ${CDEPEND} |
68 |
- app-admin/sudo" |
69 |
- |
70 |
-# >=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}] # do not include, upstream depricated |
71 |
-RDEPEND=" |
72 |
- ${CDEPEND} |
73 |
- >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
74 |
- >=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}] |
75 |
- >=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}] |
76 |
- !~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] |
77 |
- !~dev-python/eventlet-0.25.0[${PYTHON_USEDEP}] |
78 |
- >=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}] |
79 |
- >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
80 |
- >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
81 |
- >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] |
82 |
- >=dev-python/keystoneauth-3.7.0[${PYTHON_USEDEP}] |
83 |
- >=dev-python/keystonemiddleware-4.21.0[${PYTHON_USEDEP}] |
84 |
- >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}] |
85 |
- !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] |
86 |
- >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] |
87 |
- >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
88 |
- >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] |
89 |
- >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}] |
90 |
- >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
91 |
- >=dev-python/oslo-messaging-6.4.0[${PYTHON_USEDEP}] |
92 |
- >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
93 |
- >=dev-python/oslo-policy-1.44.1[${PYTHON_USEDEP}] |
94 |
- >=dev-python/oslo-privsep-1.32.0[${PYTHON_USEDEP}] |
95 |
- >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
96 |
- >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] |
97 |
- >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] |
98 |
- !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] |
99 |
- >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] |
100 |
- !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}] |
101 |
- >=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}] |
102 |
- >=dev-python/oslo-utils-3.34.0[${PYTHON_USEDEP}] |
103 |
- >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}] |
104 |
- >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
105 |
- >=dev-python/paramiko-2.0.0[${PYTHON_USEDEP}] |
106 |
- >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] |
107 |
- >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
108 |
- >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] |
109 |
- <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
110 |
- >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] |
111 |
- >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] |
112 |
- >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}] |
113 |
- >=dev-python/python-glanceclient-2.15.0[${PYTHON_USEDEP}] |
114 |
- >=dev-python/python-keystoneclient-3.15.0[${PYTHON_USEDEP}] |
115 |
- >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
116 |
- >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] |
117 |
- >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
118 |
- >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
119 |
- !~dev-python/requests-2.20.0[${PYTHON_USEDEP}] |
120 |
- >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
121 |
- !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
122 |
- >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
123 |
- >=dev-python/taskflow-3.2.0[${PYTHON_USEDEP}] |
124 |
- >=dev-python/rtslib-fb-2.1.65[${PYTHON_USEDEP}] |
125 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
126 |
- sqlite? ( |
127 |
- >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
128 |
- !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] |
129 |
- !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] |
130 |
- !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] |
131 |
- !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] |
132 |
- ) |
133 |
- mysql? ( |
134 |
- >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
135 |
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
136 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
137 |
- !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
138 |
- !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
139 |
- !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
140 |
- !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
141 |
- ) |
142 |
- postgres? ( |
143 |
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
144 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
145 |
- !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
146 |
- !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
147 |
- !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
148 |
- !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
149 |
- ) |
150 |
- >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] |
151 |
- >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
152 |
- ~dev-python/suds-0.6[${PYTHON_USEDEP}] |
153 |
- >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] |
154 |
- >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
155 |
- >=dev-python/oslo-vmware-2.17.0[${PYTHON_USEDEP}] |
156 |
- >=dev-python/os-brick-2.10.4[${PYTHON_USEDEP}] |
157 |
- >=dev-python/os-win-3.0.0[${PYTHON_USEDEP}] |
158 |
- >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] |
159 |
- >=dev-python/google-api-python-client-1.4.2[${PYTHON_USEDEP}] |
160 |
- >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}] |
161 |
- >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] |
162 |
- >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] |
163 |
- iscsi? ( |
164 |
- tgt? ( sys-block/tgt ) |
165 |
- sys-block/open-iscsi |
166 |
- ) |
167 |
- lvm? ( sys-fs/lvm2 ) |
168 |
- memcached? ( net-misc/memcached ) |
169 |
- app-emulation/qemu |
170 |
- sys-fs/sysfsutils |
171 |
- acct-user/cinder |
172 |
- acct-group/cinder" |
173 |
-# qemu is needed for image conversion |
174 |
- |
175 |
-#PATCHES=( |
176 |
-#) |
177 |
- |
178 |
-pkg_pretend() { |
179 |
- linux-info_pkg_setup |
180 |
- CONFIG_CHECK_MODULES="" |
181 |
- if use tcp; then |
182 |
- CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP " |
183 |
- fi |
184 |
- if use rdma; then |
185 |
- CONFIG_CHECK_MODULES+="INFINIBAND_ISER " |
186 |
- fi |
187 |
- if use infiniband; then |
188 |
- CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS" |
189 |
- fi |
190 |
- if linux_config_exists; then |
191 |
- for module in ${CONFIG_CHECK_MODULES}; do |
192 |
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled" |
193 |
- done |
194 |
- fi |
195 |
-} |
196 |
- |
197 |
-python_prepare_all() { |
198 |
- sed -i '/^hacking/d' test-requirements.txt || die |
199 |
- # only used for docs |
200 |
- sed -i '/^sphinx-feature-classification/d' requirements.txt || die |
201 |
- distutils-r1_python_prepare_all |
202 |
-} |
203 |
- |
204 |
-python_test() { |
205 |
- # Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 |
206 |
- nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" |
207 |
-} |
208 |
- |
209 |
-python_install_all() { |
210 |
- distutils-r1_python_install_all |
211 |
- keepdir /etc/cinder |
212 |
- dodir /etc/cinder/rootwrap.d |
213 |
- |
214 |
- for svc in api scheduler volume; do |
215 |
- newinitd "${FILESDIR}/cinder.initd" cinder-${svc} |
216 |
- done |
217 |
- |
218 |
- insinto /etc/cinder |
219 |
- insopts -m0640 -o cinder -g cinder |
220 |
- doins "etc/cinder/api-httpd.conf" |
221 |
- doins "etc/cinder/logging_sample.conf" |
222 |
- doins "etc/cinder/rootwrap.conf" |
223 |
- doins "etc/cinder/api-paste.ini" |
224 |
- doins "etc/cinder/resource_filters.json" |
225 |
- newins "${DISTDIR}/cinder.conf.sample-${PV}" "cinder.conf.sample" |
226 |
- insinto /etc/cinder/rootwrap.d |
227 |
- doins "etc/cinder/rootwrap.d/volume.filters" |
228 |
- |
229 |
- dodir /var/log/cinder |
230 |
- fowners cinder:cinder /var/log/cinder |
231 |
- |
232 |
- #add sudoers definitions for user nova |
233 |
- insinto /etc/sudoers.d/ |
234 |
- insopts -m 0440 -o root -g root |
235 |
- newins "${FILESDIR}/cinder.sudoersd" cinder |
236 |
- # stupid python |
237 |
- rm -r "${ED}"/usr/etc |
238 |
-} |
239 |
- |
240 |
-pkg_postinst() { |
241 |
- if use iscsi ; then |
242 |
- elog "Cinder needs tgtd to be installed and running to work with iscsi" |
243 |
- elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf" |
244 |
- fi |
245 |
-} |
246 |
|
247 |
diff --git a/sys-cluster/cinder/cinder-2019.2.9999.ebuild b/sys-cluster/cinder/cinder-2019.2.9999.ebuild |
248 |
deleted file mode 100644 |
249 |
index a4f149da4e0..00000000000 |
250 |
--- a/sys-cluster/cinder/cinder-2019.2.9999.ebuild |
251 |
+++ /dev/null |
252 |
@@ -1,210 +0,0 @@ |
253 |
-# Copyright 1999-2020 Gentoo Authors |
254 |
-# Distributed under the terms of the GNU General Public License v2 |
255 |
- |
256 |
-EAPI=7 |
257 |
- |
258 |
-PYTHON_COMPAT=( python3_{6,7} ) |
259 |
-inherit distutils-r1 eutils linux-info |
260 |
- |
261 |
-DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes" |
262 |
-HOMEPAGE="https://launchpad.net/cinder" |
263 |
- |
264 |
-if [[ ${PV} == *9999 ]];then |
265 |
- inherit git-r3 |
266 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV}" |
267 |
- EGIT_REPO_URI="https://github.com/openstack/cinder.git" |
268 |
- EGIT_BRANCH="stable/train" |
269 |
-else |
270 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV} |
271 |
- https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
272 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
273 |
-fi |
274 |
- |
275 |
-LICENSE="Apache-2.0" |
276 |
-SLOT="0" |
277 |
-IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt" |
278 |
-RESTRICT="!test? ( test )" |
279 |
-REQUIRED_USE="|| ( mysql postgres sqlite ) iscsi? ( tgt ) infiniband? ( rdma )" |
280 |
- |
281 |
-CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
282 |
- !~dev-python/pbr-2.1.0" |
283 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
284 |
- ${CDEPEND} |
285 |
- app-admin/sudo" |
286 |
- |
287 |
-# >=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}] # do not include, upstream depricated |
288 |
-RDEPEND=" |
289 |
- ${CDEPEND} |
290 |
- >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
291 |
- >=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}] |
292 |
- >=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}] |
293 |
- !~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] |
294 |
- !~dev-python/eventlet-0.25.0[${PYTHON_USEDEP}] |
295 |
- >=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}] |
296 |
- >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
297 |
- >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
298 |
- >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] |
299 |
- >=dev-python/keystoneauth-3.7.0[${PYTHON_USEDEP}] |
300 |
- >=dev-python/keystonemiddleware-4.21.0[${PYTHON_USEDEP}] |
301 |
- >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}] |
302 |
- !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] |
303 |
- >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] |
304 |
- >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
305 |
- >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] |
306 |
- >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}] |
307 |
- >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
308 |
- >=dev-python/oslo-messaging-6.4.0[${PYTHON_USEDEP}] |
309 |
- >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
310 |
- >=dev-python/oslo-policy-1.44.1[${PYTHON_USEDEP}] |
311 |
- >=dev-python/oslo-privsep-1.32.0[${PYTHON_USEDEP}] |
312 |
- >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
313 |
- >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] |
314 |
- >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] |
315 |
- !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] |
316 |
- >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] |
317 |
- !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}] |
318 |
- >=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}] |
319 |
- >=dev-python/oslo-utils-3.34.0[${PYTHON_USEDEP}] |
320 |
- >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}] |
321 |
- >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
322 |
- >=dev-python/paramiko-2.0.0[${PYTHON_USEDEP}] |
323 |
- >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] |
324 |
- >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
325 |
- >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] |
326 |
- <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
327 |
- >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] |
328 |
- >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] |
329 |
- >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}] |
330 |
- >=dev-python/python-glanceclient-2.15.0[${PYTHON_USEDEP}] |
331 |
- >=dev-python/python-keystoneclient-3.15.0[${PYTHON_USEDEP}] |
332 |
- >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
333 |
- >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] |
334 |
- >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
335 |
- >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
336 |
- !~dev-python/requests-2.20.0[${PYTHON_USEDEP}] |
337 |
- >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
338 |
- !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
339 |
- >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
340 |
- >=dev-python/taskflow-3.2.0[${PYTHON_USEDEP}] |
341 |
- >=dev-python/rtslib-fb-2.1.65[${PYTHON_USEDEP}] |
342 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
343 |
- sqlite? ( |
344 |
- >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
345 |
- !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] |
346 |
- !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] |
347 |
- !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] |
348 |
- !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] |
349 |
- ) |
350 |
- mysql? ( |
351 |
- >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
352 |
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
353 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
354 |
- !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
355 |
- !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
356 |
- !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
357 |
- !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
358 |
- ) |
359 |
- postgres? ( |
360 |
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
361 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
362 |
- !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
363 |
- !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
364 |
- !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
365 |
- !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
366 |
- ) |
367 |
- >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] |
368 |
- >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
369 |
- ~dev-python/suds-0.6[${PYTHON_USEDEP}] |
370 |
- >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] |
371 |
- >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
372 |
- >=dev-python/oslo-vmware-2.17.0[${PYTHON_USEDEP}] |
373 |
- >=dev-python/os-brick-2.2.0[${PYTHON_USEDEP}] |
374 |
- >=dev-python/os-win-3.0.0[${PYTHON_USEDEP}] |
375 |
- >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] |
376 |
- >=dev-python/google-api-python-client-1.4.2[${PYTHON_USEDEP}] |
377 |
- >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}] |
378 |
- >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] |
379 |
- >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] |
380 |
- iscsi? ( |
381 |
- tgt? ( sys-block/tgt ) |
382 |
- sys-block/open-iscsi |
383 |
- ) |
384 |
- lvm? ( sys-fs/lvm2 ) |
385 |
- memcached? ( net-misc/memcached ) |
386 |
- app-emulation/qemu |
387 |
- sys-fs/sysfsutils |
388 |
- acct-user/cinder |
389 |
- acct-group/cinder" |
390 |
-# qemu is needed for image conversion |
391 |
- |
392 |
-#PATCHES=( |
393 |
-#) |
394 |
- |
395 |
-pkg_pretend() { |
396 |
- linux-info_pkg_setup |
397 |
- CONFIG_CHECK_MODULES="" |
398 |
- if use tcp; then |
399 |
- CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP " |
400 |
- fi |
401 |
- if use rdma; then |
402 |
- CONFIG_CHECK_MODULES+="INFINIBAND_ISER " |
403 |
- fi |
404 |
- if use infiniband; then |
405 |
- CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS" |
406 |
- fi |
407 |
- if linux_config_exists; then |
408 |
- for module in ${CONFIG_CHECK_MODULES}; do |
409 |
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled" |
410 |
- done |
411 |
- fi |
412 |
-} |
413 |
- |
414 |
-python_prepare_all() { |
415 |
- sed -i '/^hacking/d' test-requirements.txt || die |
416 |
- # only used for docs |
417 |
- sed -i '/^sphinx-feature-classification/d' requirements.txt || die |
418 |
- distutils-r1_python_prepare_all |
419 |
-} |
420 |
- |
421 |
-python_test() { |
422 |
- # Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 |
423 |
- nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" |
424 |
-} |
425 |
- |
426 |
-python_install_all() { |
427 |
- distutils-r1_python_install_all |
428 |
- keepdir /etc/cinder |
429 |
- dodir /etc/cinder/rootwrap.d |
430 |
- |
431 |
- for svc in api scheduler volume; do |
432 |
- newinitd "${FILESDIR}/cinder.initd" cinder-${svc} |
433 |
- done |
434 |
- |
435 |
- insinto /etc/cinder |
436 |
- insopts -m0640 -o cinder -g cinder |
437 |
- doins "etc/cinder/api-httpd.conf" |
438 |
- doins "etc/cinder/logging_sample.conf" |
439 |
- doins "etc/cinder/rootwrap.conf" |
440 |
- doins "etc/cinder/api-paste.ini" |
441 |
- doins "etc/cinder/resource_filters.json" |
442 |
- newins "${DISTDIR}/cinder.conf.sample-${PV}" "cinder.conf.sample" |
443 |
- insinto /etc/cinder/rootwrap.d |
444 |
- doins "etc/cinder/rootwrap.d/volume.filters" |
445 |
- |
446 |
- dodir /var/log/cinder |
447 |
- fowners cinder:cinder /var/log/cinder |
448 |
- |
449 |
- #add sudoers definitions for user nova |
450 |
- insinto /etc/sudoers.d/ |
451 |
- insopts -m 0440 -o root -g root |
452 |
- newins "${FILESDIR}/cinder.sudoersd" cinder |
453 |
- # stupid python |
454 |
- rm -r "${ED}"/usr/etc |
455 |
-} |
456 |
- |
457 |
-pkg_postinst() { |
458 |
- if use iscsi ; then |
459 |
- elog "Cinder needs tgtd to be installed and running to work with iscsi" |
460 |
- elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf" |
461 |
- fi |
462 |
-} |