1 |
commit: 0b1b48e619c04ab1b14fa24f6e4b28f0a4964e5b |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 2 23:47:08 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 2 23:54:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1b48e6 |
7 |
|
8 |
sys-cluster/cinder: 15.3.0 16.1.0 stable amd64/x86 with cleanup |
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 | 6 - |
14 |
sys-cluster/cinder/cinder-15.1.0-r1.ebuild | 210 ----------------------------- |
15 |
sys-cluster/cinder/cinder-15.2.0.ebuild | 210 ----------------------------- |
16 |
sys-cluster/cinder/cinder-15.3.0.ebuild | 2 +- |
17 |
sys-cluster/cinder/cinder-16.0.0.ebuild | 208 ---------------------------- |
18 |
sys-cluster/cinder/cinder-16.1.0.ebuild | 2 +- |
19 |
6 files changed, 2 insertions(+), 636 deletions(-) |
20 |
|
21 |
diff --git a/sys-cluster/cinder/Manifest b/sys-cluster/cinder/Manifest |
22 |
index d7b7dcf07c3..d98e31e0407 100644 |
23 |
--- a/sys-cluster/cinder/Manifest |
24 |
+++ b/sys-cluster/cinder/Manifest |
25 |
@@ -1,12 +1,6 @@ |
26 |
-DIST cinder-15.1.0.tar.gz 5504663 BLAKE2B 19097821729c99f0a13f0c30c9fa2c8647fe4c6ae01790b59b264fad282f1051e5e3f3275720114b1575afcbef517baab89a34ce75b7ef54d6515c204907f28a SHA512 1c6c88854994d440c3818d26533ea075adfcfc4b8642b2796d1ac90a5feec5e3c8d64d06f433840afcf2d9d4f5a50ba256808b74495e0e735a3f0a19bdc838e3 |
27 |
-DIST cinder-15.2.0.tar.gz 5527994 BLAKE2B 0952c00efa1023f5ffdf7079d769714c29b8df828cf25a2f027e1d984ec9db98ad8d305476cb8e6170de47f672affb746e7edd098e4ee56f14f1681d608c83b1 SHA512 70a47dacecce5218ad42d828e69b19a24f37db3fd34b4c862c5f79f77340eb1febd3414a02ea56cb691243bc0c07b0e8e6030c8f27d9fbee68fe07041de22b17 |
28 |
DIST cinder-15.3.0.tar.gz 5521543 BLAKE2B e311ea1d9771f75a45a98598dae2fe7e060fb25c1b16ce5d94bbd769caca70512417724c531b756216ce594ed3bb682653681339ae37bc262139bd3080116bbb SHA512 793fe23a5526ba726416282022888f090c9c58c180d33013d66f6916251fd4789e8af2565dbe6ef61f224d9a61b4a622374ad7c4ea722f260dbf3a60274bfe0e |
29 |
-DIST cinder-16.0.0.tar.gz 5448332 BLAKE2B cc570cde45ed680c54a11c46883d00596114d5cdb58cfa03424468073247efb7753be29ce542d9b03b42b4d1037020085921780baefa78a790d53c8fea9135f3 SHA512 aa1a4f5e0867ef0b55a9461705d0f1db06fc1a24ce5dbc64b3166ca4dc829957c71ac9da259b7e20fe568e4278d0ac713a87e5098409d1d83bfc71fa9197fa64 |
30 |
DIST cinder-16.1.0.tar.gz 5445353 BLAKE2B f7e121845b5db3de191c8782577f680cbb93fd26087113bd0c322eed4b27cf071977763a3eacb933d7b8894b56aaf042a115c2dfd20be47f89c9d45f0556c34a SHA512 97fb157eac466d869a707cd05d287a309512952e8f8267b58123b9108eb1c2df66c8d0b799a3fb83087645a09e679b7c6eb24baa4a21b751a1ce35dbb5bd3f4a |
31 |
-DIST cinder.conf.sample-15.1.0 183153 BLAKE2B fb86b82c711568c89a445c5876a1d5e890714d4dd957d4aa5b3158a3c85150e75d8d0055a93bf6a937d8a6f5a3c4042c5ddb4b4da2dd006d77d8eb8ec8a19fc5 SHA512 95a2076970184bc34c9c293371f72a791f16600c4933572b8d51291c506a7c1ef3bd2ea185f1f4dafeff6c85a237f4453f8ee6c1df6af7f603afe1ddfd63cd3a |
32 |
-DIST cinder.conf.sample-15.2.0 183153 BLAKE2B fb86b82c711568c89a445c5876a1d5e890714d4dd957d4aa5b3158a3c85150e75d8d0055a93bf6a937d8a6f5a3c4042c5ddb4b4da2dd006d77d8eb8ec8a19fc5 SHA512 95a2076970184bc34c9c293371f72a791f16600c4933572b8d51291c506a7c1ef3bd2ea185f1f4dafeff6c85a237f4453f8ee6c1df6af7f603afe1ddfd63cd3a |
33 |
DIST cinder.conf.sample-15.3.0 183153 BLAKE2B fb86b82c711568c89a445c5876a1d5e890714d4dd957d4aa5b3158a3c85150e75d8d0055a93bf6a937d8a6f5a3c4042c5ddb4b4da2dd006d77d8eb8ec8a19fc5 SHA512 95a2076970184bc34c9c293371f72a791f16600c4933572b8d51291c506a7c1ef3bd2ea185f1f4dafeff6c85a237f4453f8ee6c1df6af7f603afe1ddfd63cd3a |
34 |
-DIST cinder.conf.sample-16.0.0 183294 BLAKE2B 5d0f28b9ad200d912c42c34ca030a5ec3660c57db332677e1b66b314a2865187862c83baf78d122fc0af7f73fbf4f0c7f04b9253882d228dcb863bfc88e37e72 SHA512 faf712a3da37af05e642b3c14f98ce8d4e3db5b736b208d7ca8a18be02ac5626c94b4ed314bd0030d5fa3771b325ba0f24ec3a45188d27fd9de79c97b56e2626 |
35 |
DIST cinder.conf.sample-16.1.0 183294 BLAKE2B 5d0f28b9ad200d912c42c34ca030a5ec3660c57db332677e1b66b314a2865187862c83baf78d122fc0af7f73fbf4f0c7f04b9253882d228dcb863bfc88e37e72 SHA512 faf712a3da37af05e642b3c14f98ce8d4e3db5b736b208d7ca8a18be02ac5626c94b4ed314bd0030d5fa3771b325ba0f24ec3a45188d27fd9de79c97b56e2626 |
36 |
DIST cinder.conf.sample-2019.2.9999 183153 BLAKE2B fb86b82c711568c89a445c5876a1d5e890714d4dd957d4aa5b3158a3c85150e75d8d0055a93bf6a937d8a6f5a3c4042c5ddb4b4da2dd006d77d8eb8ec8a19fc5 SHA512 95a2076970184bc34c9c293371f72a791f16600c4933572b8d51291c506a7c1ef3bd2ea185f1f4dafeff6c85a237f4453f8ee6c1df6af7f603afe1ddfd63cd3a |
37 |
DIST cinder.conf.sample-2020.1.9999 183294 BLAKE2B 5d0f28b9ad200d912c42c34ca030a5ec3660c57db332677e1b66b314a2865187862c83baf78d122fc0af7f73fbf4f0c7f04b9253882d228dcb863bfc88e37e72 SHA512 faf712a3da37af05e642b3c14f98ce8d4e3db5b736b208d7ca8a18be02ac5626c94b4ed314bd0030d5fa3771b325ba0f24ec3a45188d27fd9de79c97b56e2626 |
38 |
|
39 |
diff --git a/sys-cluster/cinder/cinder-15.1.0-r1.ebuild b/sys-cluster/cinder/cinder-15.1.0-r1.ebuild |
40 |
deleted file mode 100644 |
41 |
index 7e28298f02b..00000000000 |
42 |
--- a/sys-cluster/cinder/cinder-15.1.0-r1.ebuild |
43 |
+++ /dev/null |
44 |
@@ -1,210 +0,0 @@ |
45 |
-# Copyright 1999-2020 Gentoo Authors |
46 |
-# Distributed under the terms of the GNU General Public License v2 |
47 |
- |
48 |
-EAPI=7 |
49 |
- |
50 |
-PYTHON_COMPAT=( python3_{6,7} ) |
51 |
-inherit distutils-r1 eutils linux-info |
52 |
- |
53 |
-DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes" |
54 |
-HOMEPAGE="https://launchpad.net/cinder" |
55 |
- |
56 |
-if [[ ${PV} == *9999 ]];then |
57 |
- inherit git-r3 |
58 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV}" |
59 |
- EGIT_REPO_URI="https://github.com/openstack/cinder.git" |
60 |
- EGIT_BRANCH="stable/train" |
61 |
-else |
62 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV} |
63 |
- https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
64 |
- KEYWORDS="amd64 ~arm64 x86" |
65 |
-fi |
66 |
- |
67 |
-LICENSE="Apache-2.0" |
68 |
-SLOT="0" |
69 |
-IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt" |
70 |
-RESTRICT="!test? ( test )" |
71 |
-REQUIRED_USE="|| ( mysql postgres sqlite ) iscsi? ( tgt ) infiniband? ( rdma )" |
72 |
- |
73 |
-CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
74 |
- !~dev-python/pbr-2.1.0" |
75 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
76 |
- ${CDEPEND} |
77 |
- app-admin/sudo" |
78 |
- |
79 |
-# >=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}] # do not include, upstream depricated |
80 |
-RDEPEND=" |
81 |
- ${CDEPEND} |
82 |
- >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
83 |
- >=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}] |
84 |
- >=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}] |
85 |
- !~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] |
86 |
- !~dev-python/eventlet-0.25.0[${PYTHON_USEDEP}] |
87 |
- >=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}] |
88 |
- >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
89 |
- >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
90 |
- >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] |
91 |
- >=dev-python/keystoneauth-3.7.0[${PYTHON_USEDEP}] |
92 |
- >=dev-python/keystonemiddleware-4.21.0[${PYTHON_USEDEP}] |
93 |
- >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}] |
94 |
- !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] |
95 |
- >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] |
96 |
- >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
97 |
- >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] |
98 |
- >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}] |
99 |
- >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
100 |
- >=dev-python/oslo-messaging-6.4.0[${PYTHON_USEDEP}] |
101 |
- >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
102 |
- >=dev-python/oslo-policy-1.44.1[${PYTHON_USEDEP}] |
103 |
- >=dev-python/oslo-privsep-1.32.0[${PYTHON_USEDEP}] |
104 |
- >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
105 |
- >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] |
106 |
- >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] |
107 |
- !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] |
108 |
- >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] |
109 |
- !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}] |
110 |
- >=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}] |
111 |
- >=dev-python/oslo-utils-3.34.0[${PYTHON_USEDEP}] |
112 |
- >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}] |
113 |
- >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
114 |
- >=dev-python/paramiko-2.0.0[${PYTHON_USEDEP}] |
115 |
- >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] |
116 |
- >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
117 |
- >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] |
118 |
- <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
119 |
- >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] |
120 |
- >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] |
121 |
- >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}] |
122 |
- >=dev-python/python-glanceclient-2.15.0[${PYTHON_USEDEP}] |
123 |
- >=dev-python/python-keystoneclient-3.15.0[${PYTHON_USEDEP}] |
124 |
- >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
125 |
- >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] |
126 |
- >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
127 |
- >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
128 |
- !~dev-python/requests-2.20.0[${PYTHON_USEDEP}] |
129 |
- >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
130 |
- !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
131 |
- >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
132 |
- >=dev-python/taskflow-3.2.0[${PYTHON_USEDEP}] |
133 |
- >=dev-python/rtslib-fb-2.1.65[${PYTHON_USEDEP}] |
134 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
135 |
- sqlite? ( |
136 |
- >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
137 |
- !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] |
138 |
- !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] |
139 |
- !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] |
140 |
- !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] |
141 |
- ) |
142 |
- mysql? ( |
143 |
- >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
144 |
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
145 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
146 |
- !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
147 |
- !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
148 |
- !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
149 |
- !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
150 |
- ) |
151 |
- postgres? ( |
152 |
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
153 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
154 |
- !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
155 |
- !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
156 |
- !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
157 |
- !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
158 |
- ) |
159 |
- >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] |
160 |
- >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
161 |
- ~dev-python/suds-0.6[${PYTHON_USEDEP}] |
162 |
- >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] |
163 |
- >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
164 |
- >=dev-python/oslo-vmware-2.17.0[${PYTHON_USEDEP}] |
165 |
- >=dev-python/os-brick-2.2.0[${PYTHON_USEDEP}] |
166 |
- >=dev-python/os-win-3.0.0[${PYTHON_USEDEP}] |
167 |
- >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] |
168 |
- >=dev-python/google-api-python-client-1.4.2[${PYTHON_USEDEP}] |
169 |
- >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}] |
170 |
- >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] |
171 |
- >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] |
172 |
- iscsi? ( |
173 |
- tgt? ( sys-block/tgt ) |
174 |
- sys-block/open-iscsi |
175 |
- ) |
176 |
- lvm? ( sys-fs/lvm2 ) |
177 |
- memcached? ( net-misc/memcached ) |
178 |
- app-emulation/qemu |
179 |
- sys-fs/sysfsutils |
180 |
- acct-user/cinder |
181 |
- acct-group/cinder" |
182 |
-# qemu is needed for image conversion |
183 |
- |
184 |
-#PATCHES=( |
185 |
-#) |
186 |
- |
187 |
-pkg_pretend() { |
188 |
- linux-info_pkg_setup |
189 |
- CONFIG_CHECK_MODULES="" |
190 |
- if use tcp; then |
191 |
- CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP " |
192 |
- fi |
193 |
- if use rdma; then |
194 |
- CONFIG_CHECK_MODULES+="INFINIBAND_ISER " |
195 |
- fi |
196 |
- if use infiniband; then |
197 |
- CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS" |
198 |
- fi |
199 |
- if linux_config_exists; then |
200 |
- for module in ${CONFIG_CHECK_MODULES}; do |
201 |
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled" |
202 |
- done |
203 |
- fi |
204 |
-} |
205 |
- |
206 |
-python_prepare_all() { |
207 |
- sed -i '/^hacking/d' test-requirements.txt || die |
208 |
- # only used for docs |
209 |
- sed -i '/^sphinx-feature-classification/d' requirements.txt || die |
210 |
- distutils-r1_python_prepare_all |
211 |
-} |
212 |
- |
213 |
-python_test() { |
214 |
- # Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 |
215 |
- nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" |
216 |
-} |
217 |
- |
218 |
-python_install_all() { |
219 |
- distutils-r1_python_install_all |
220 |
- keepdir /etc/cinder |
221 |
- dodir /etc/cinder/rootwrap.d |
222 |
- |
223 |
- for svc in api scheduler volume; do |
224 |
- newinitd "${FILESDIR}/cinder.initd" cinder-${svc} |
225 |
- done |
226 |
- |
227 |
- insinto /etc/cinder |
228 |
- insopts -m0640 -o cinder -g cinder |
229 |
- doins "etc/cinder/api-httpd.conf" |
230 |
- doins "etc/cinder/logging_sample.conf" |
231 |
- doins "etc/cinder/rootwrap.conf" |
232 |
- doins "etc/cinder/api-paste.ini" |
233 |
- doins "etc/cinder/resource_filters.json" |
234 |
- newins "${DISTDIR}/cinder.conf.sample-${PV}" "cinder.conf.sample" |
235 |
- insinto /etc/cinder/rootwrap.d |
236 |
- doins "etc/cinder/rootwrap.d/volume.filters" |
237 |
- |
238 |
- dodir /var/log/cinder |
239 |
- fowners cinder:cinder /var/log/cinder |
240 |
- |
241 |
- #add sudoers definitions for user nova |
242 |
- insinto /etc/sudoers.d/ |
243 |
- insopts -m 0440 -o root -g root |
244 |
- newins "${FILESDIR}/cinder.sudoersd" cinder |
245 |
- # stupid python |
246 |
- rm -r "${ED}"/usr/etc |
247 |
-} |
248 |
- |
249 |
-pkg_postinst() { |
250 |
- if use iscsi ; then |
251 |
- elog "Cinder needs tgtd to be installed and running to work with iscsi" |
252 |
- elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf" |
253 |
- fi |
254 |
-} |
255 |
|
256 |
diff --git a/sys-cluster/cinder/cinder-15.2.0.ebuild b/sys-cluster/cinder/cinder-15.2.0.ebuild |
257 |
deleted file mode 100644 |
258 |
index a4f149da4e0..00000000000 |
259 |
--- a/sys-cluster/cinder/cinder-15.2.0.ebuild |
260 |
+++ /dev/null |
261 |
@@ -1,210 +0,0 @@ |
262 |
-# Copyright 1999-2020 Gentoo Authors |
263 |
-# Distributed under the terms of the GNU General Public License v2 |
264 |
- |
265 |
-EAPI=7 |
266 |
- |
267 |
-PYTHON_COMPAT=( python3_{6,7} ) |
268 |
-inherit distutils-r1 eutils linux-info |
269 |
- |
270 |
-DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes" |
271 |
-HOMEPAGE="https://launchpad.net/cinder" |
272 |
- |
273 |
-if [[ ${PV} == *9999 ]];then |
274 |
- inherit git-r3 |
275 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV}" |
276 |
- EGIT_REPO_URI="https://github.com/openstack/cinder.git" |
277 |
- EGIT_BRANCH="stable/train" |
278 |
-else |
279 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV} |
280 |
- https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
281 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
282 |
-fi |
283 |
- |
284 |
-LICENSE="Apache-2.0" |
285 |
-SLOT="0" |
286 |
-IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt" |
287 |
-RESTRICT="!test? ( test )" |
288 |
-REQUIRED_USE="|| ( mysql postgres sqlite ) iscsi? ( tgt ) infiniband? ( rdma )" |
289 |
- |
290 |
-CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
291 |
- !~dev-python/pbr-2.1.0" |
292 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
293 |
- ${CDEPEND} |
294 |
- app-admin/sudo" |
295 |
- |
296 |
-# >=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}] # do not include, upstream depricated |
297 |
-RDEPEND=" |
298 |
- ${CDEPEND} |
299 |
- >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
300 |
- >=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}] |
301 |
- >=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}] |
302 |
- !~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] |
303 |
- !~dev-python/eventlet-0.25.0[${PYTHON_USEDEP}] |
304 |
- >=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}] |
305 |
- >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
306 |
- >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
307 |
- >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] |
308 |
- >=dev-python/keystoneauth-3.7.0[${PYTHON_USEDEP}] |
309 |
- >=dev-python/keystonemiddleware-4.21.0[${PYTHON_USEDEP}] |
310 |
- >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}] |
311 |
- !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] |
312 |
- >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] |
313 |
- >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
314 |
- >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] |
315 |
- >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}] |
316 |
- >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
317 |
- >=dev-python/oslo-messaging-6.4.0[${PYTHON_USEDEP}] |
318 |
- >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
319 |
- >=dev-python/oslo-policy-1.44.1[${PYTHON_USEDEP}] |
320 |
- >=dev-python/oslo-privsep-1.32.0[${PYTHON_USEDEP}] |
321 |
- >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
322 |
- >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] |
323 |
- >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] |
324 |
- !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] |
325 |
- >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] |
326 |
- !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}] |
327 |
- >=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}] |
328 |
- >=dev-python/oslo-utils-3.34.0[${PYTHON_USEDEP}] |
329 |
- >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}] |
330 |
- >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
331 |
- >=dev-python/paramiko-2.0.0[${PYTHON_USEDEP}] |
332 |
- >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] |
333 |
- >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
334 |
- >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] |
335 |
- <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
336 |
- >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] |
337 |
- >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] |
338 |
- >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}] |
339 |
- >=dev-python/python-glanceclient-2.15.0[${PYTHON_USEDEP}] |
340 |
- >=dev-python/python-keystoneclient-3.15.0[${PYTHON_USEDEP}] |
341 |
- >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
342 |
- >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] |
343 |
- >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
344 |
- >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
345 |
- !~dev-python/requests-2.20.0[${PYTHON_USEDEP}] |
346 |
- >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
347 |
- !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
348 |
- >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
349 |
- >=dev-python/taskflow-3.2.0[${PYTHON_USEDEP}] |
350 |
- >=dev-python/rtslib-fb-2.1.65[${PYTHON_USEDEP}] |
351 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
352 |
- sqlite? ( |
353 |
- >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
354 |
- !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] |
355 |
- !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] |
356 |
- !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] |
357 |
- !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] |
358 |
- ) |
359 |
- mysql? ( |
360 |
- >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
361 |
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
362 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
363 |
- !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
364 |
- !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
365 |
- !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
366 |
- !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
367 |
- ) |
368 |
- postgres? ( |
369 |
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
370 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
371 |
- !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
372 |
- !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
373 |
- !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
374 |
- !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
375 |
- ) |
376 |
- >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] |
377 |
- >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
378 |
- ~dev-python/suds-0.6[${PYTHON_USEDEP}] |
379 |
- >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] |
380 |
- >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
381 |
- >=dev-python/oslo-vmware-2.17.0[${PYTHON_USEDEP}] |
382 |
- >=dev-python/os-brick-2.2.0[${PYTHON_USEDEP}] |
383 |
- >=dev-python/os-win-3.0.0[${PYTHON_USEDEP}] |
384 |
- >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] |
385 |
- >=dev-python/google-api-python-client-1.4.2[${PYTHON_USEDEP}] |
386 |
- >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}] |
387 |
- >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] |
388 |
- >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] |
389 |
- iscsi? ( |
390 |
- tgt? ( sys-block/tgt ) |
391 |
- sys-block/open-iscsi |
392 |
- ) |
393 |
- lvm? ( sys-fs/lvm2 ) |
394 |
- memcached? ( net-misc/memcached ) |
395 |
- app-emulation/qemu |
396 |
- sys-fs/sysfsutils |
397 |
- acct-user/cinder |
398 |
- acct-group/cinder" |
399 |
-# qemu is needed for image conversion |
400 |
- |
401 |
-#PATCHES=( |
402 |
-#) |
403 |
- |
404 |
-pkg_pretend() { |
405 |
- linux-info_pkg_setup |
406 |
- CONFIG_CHECK_MODULES="" |
407 |
- if use tcp; then |
408 |
- CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP " |
409 |
- fi |
410 |
- if use rdma; then |
411 |
- CONFIG_CHECK_MODULES+="INFINIBAND_ISER " |
412 |
- fi |
413 |
- if use infiniband; then |
414 |
- CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS" |
415 |
- fi |
416 |
- if linux_config_exists; then |
417 |
- for module in ${CONFIG_CHECK_MODULES}; do |
418 |
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled" |
419 |
- done |
420 |
- fi |
421 |
-} |
422 |
- |
423 |
-python_prepare_all() { |
424 |
- sed -i '/^hacking/d' test-requirements.txt || die |
425 |
- # only used for docs |
426 |
- sed -i '/^sphinx-feature-classification/d' requirements.txt || die |
427 |
- distutils-r1_python_prepare_all |
428 |
-} |
429 |
- |
430 |
-python_test() { |
431 |
- # Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 |
432 |
- nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" |
433 |
-} |
434 |
- |
435 |
-python_install_all() { |
436 |
- distutils-r1_python_install_all |
437 |
- keepdir /etc/cinder |
438 |
- dodir /etc/cinder/rootwrap.d |
439 |
- |
440 |
- for svc in api scheduler volume; do |
441 |
- newinitd "${FILESDIR}/cinder.initd" cinder-${svc} |
442 |
- done |
443 |
- |
444 |
- insinto /etc/cinder |
445 |
- insopts -m0640 -o cinder -g cinder |
446 |
- doins "etc/cinder/api-httpd.conf" |
447 |
- doins "etc/cinder/logging_sample.conf" |
448 |
- doins "etc/cinder/rootwrap.conf" |
449 |
- doins "etc/cinder/api-paste.ini" |
450 |
- doins "etc/cinder/resource_filters.json" |
451 |
- newins "${DISTDIR}/cinder.conf.sample-${PV}" "cinder.conf.sample" |
452 |
- insinto /etc/cinder/rootwrap.d |
453 |
- doins "etc/cinder/rootwrap.d/volume.filters" |
454 |
- |
455 |
- dodir /var/log/cinder |
456 |
- fowners cinder:cinder /var/log/cinder |
457 |
- |
458 |
- #add sudoers definitions for user nova |
459 |
- insinto /etc/sudoers.d/ |
460 |
- insopts -m 0440 -o root -g root |
461 |
- newins "${FILESDIR}/cinder.sudoersd" cinder |
462 |
- # stupid python |
463 |
- rm -r "${ED}"/usr/etc |
464 |
-} |
465 |
- |
466 |
-pkg_postinst() { |
467 |
- if use iscsi ; then |
468 |
- elog "Cinder needs tgtd to be installed and running to work with iscsi" |
469 |
- elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf" |
470 |
- fi |
471 |
-} |
472 |
|
473 |
diff --git a/sys-cluster/cinder/cinder-15.3.0.ebuild b/sys-cluster/cinder/cinder-15.3.0.ebuild |
474 |
index 7325178131b..96ca3fecfe4 100644 |
475 |
--- a/sys-cluster/cinder/cinder-15.3.0.ebuild |
476 |
+++ b/sys-cluster/cinder/cinder-15.3.0.ebuild |
477 |
@@ -17,7 +17,7 @@ if [[ ${PV} == *9999 ]];then |
478 |
else |
479 |
SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV} |
480 |
https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
481 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
482 |
+ KEYWORDS="amd64 ~arm64 x86" |
483 |
fi |
484 |
|
485 |
LICENSE="Apache-2.0" |
486 |
|
487 |
diff --git a/sys-cluster/cinder/cinder-16.0.0.ebuild b/sys-cluster/cinder/cinder-16.0.0.ebuild |
488 |
deleted file mode 100644 |
489 |
index 7a062a48e6f..00000000000 |
490 |
--- a/sys-cluster/cinder/cinder-16.0.0.ebuild |
491 |
+++ /dev/null |
492 |
@@ -1,208 +0,0 @@ |
493 |
-# Copyright 1999-2020 Gentoo Authors |
494 |
-# Distributed under the terms of the GNU General Public License v2 |
495 |
- |
496 |
-EAPI=7 |
497 |
- |
498 |
-PYTHON_COMPAT=( python3_7 ) |
499 |
-inherit distutils-r1 eutils linux-info |
500 |
- |
501 |
-DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes" |
502 |
-HOMEPAGE="https://launchpad.net/cinder" |
503 |
- |
504 |
-if [[ ${PV} == *9999 ]];then |
505 |
- inherit git-r3 |
506 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/ussuri/cinder.conf.sample -> cinder.conf.sample-${PV}" |
507 |
- EGIT_REPO_URI="https://github.com/openstack/cinder.git" |
508 |
- EGIT_BRANCH="stable/ussuri" |
509 |
-else |
510 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/ussuri/cinder.conf.sample -> cinder.conf.sample-${PV} |
511 |
- https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
512 |
- KEYWORDS="amd64 ~arm64 x86" |
513 |
-fi |
514 |
- |
515 |
-LICENSE="Apache-2.0" |
516 |
-SLOT="0" |
517 |
-IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt" |
518 |
-RESTRICT="!test? ( test )" |
519 |
-REQUIRED_USE="|| ( mysql postgres sqlite ) iscsi? ( tgt ) infiniband? ( rdma )" |
520 |
- |
521 |
-CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
522 |
- !~dev-python/pbr-2.1.0" |
523 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
524 |
- ${CDEPEND} |
525 |
- app-admin/sudo" |
526 |
- |
527 |
-# >=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}] # do not include, upstream depricated |
528 |
-RDEPEND=" |
529 |
- ${CDEPEND} |
530 |
- >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
531 |
- >=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}] |
532 |
- >=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}] |
533 |
- !~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] |
534 |
- !~dev-python/eventlet-0.25.0[${PYTHON_USEDEP}] |
535 |
- >=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}] |
536 |
- >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
537 |
- >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
538 |
- >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] |
539 |
- >=dev-python/keystoneauth-3.7.0[${PYTHON_USEDEP}] |
540 |
- >=dev-python/keystonemiddleware-4.21.0[${PYTHON_USEDEP}] |
541 |
- >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}] |
542 |
- !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] |
543 |
- >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] |
544 |
- >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
545 |
- >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] |
546 |
- >=dev-python/oslo-db-4.35.0[${PYTHON_USEDEP}] |
547 |
- >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
548 |
- >=dev-python/oslo-messaging-6.4.0[${PYTHON_USEDEP}] |
549 |
- >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
550 |
- >=dev-python/oslo-policy-1.44.1[${PYTHON_USEDEP}] |
551 |
- >=dev-python/oslo-privsep-1.32.0[${PYTHON_USEDEP}] |
552 |
- >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
553 |
- >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] |
554 |
- >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] |
555 |
- !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] |
556 |
- >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] |
557 |
- !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}] |
558 |
- >=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}] |
559 |
- >=dev-python/oslo-utils-3.34.0[${PYTHON_USEDEP}] |
560 |
- >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}] |
561 |
- >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
562 |
- >=dev-python/paramiko-2.4.0[${PYTHON_USEDEP}] |
563 |
- >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] |
564 |
- >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
565 |
- >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] |
566 |
- >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] |
567 |
- >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}] |
568 |
- >=dev-python/python-glanceclient-2.15.0[${PYTHON_USEDEP}] |
569 |
- >=dev-python/python-keystoneclient-3.15.0[${PYTHON_USEDEP}] |
570 |
- >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
571 |
- >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] |
572 |
- >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
573 |
- >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
574 |
- !~dev-python/requests-2.20.0[${PYTHON_USEDEP}] |
575 |
- >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
576 |
- !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
577 |
- >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
578 |
- >=dev-python/taskflow-3.2.0[${PYTHON_USEDEP}] |
579 |
- >=dev-python/rtslib-fb-2.1.65[${PYTHON_USEDEP}] |
580 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
581 |
- sqlite? ( |
582 |
- >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
583 |
- !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] |
584 |
- !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] |
585 |
- !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] |
586 |
- !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] |
587 |
- ) |
588 |
- mysql? ( |
589 |
- >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
590 |
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
591 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
592 |
- !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
593 |
- !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
594 |
- !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
595 |
- !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
596 |
- ) |
597 |
- postgres? ( |
598 |
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
599 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
600 |
- !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
601 |
- !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
602 |
- !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
603 |
- !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
604 |
- ) |
605 |
- >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] |
606 |
- >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
607 |
- >=dev-python/tabulate-0.8.5[${PYTHON_USEDEP}] |
608 |
- >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] |
609 |
- >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
610 |
- >=dev-python/oslo-vmware-2.35.0[${PYTHON_USEDEP}] |
611 |
- >=dev-python/os-brick-2.2.0[${PYTHON_USEDEP}] |
612 |
- >=dev-python/os-win-3.0.0[${PYTHON_USEDEP}] |
613 |
- >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] |
614 |
- >=dev-python/google-api-python-client-1.4.2[${PYTHON_USEDEP}] |
615 |
- >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}] |
616 |
- >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] |
617 |
- >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] |
618 |
- iscsi? ( |
619 |
- tgt? ( sys-block/tgt ) |
620 |
- sys-block/open-iscsi |
621 |
- ) |
622 |
- lvm? ( sys-fs/lvm2 ) |
623 |
- memcached? ( net-misc/memcached ) |
624 |
- app-emulation/qemu |
625 |
- sys-fs/sysfsutils |
626 |
- acct-user/cinder |
627 |
- acct-group/cinder" |
628 |
-# qemu is needed for image conversion |
629 |
- |
630 |
-#PATCHES=( |
631 |
-#) |
632 |
- |
633 |
-pkg_pretend() { |
634 |
- linux-info_pkg_setup |
635 |
- CONFIG_CHECK_MODULES="" |
636 |
- if use tcp; then |
637 |
- CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP " |
638 |
- fi |
639 |
- if use rdma; then |
640 |
- CONFIG_CHECK_MODULES+="INFINIBAND_ISER " |
641 |
- fi |
642 |
- if use infiniband; then |
643 |
- CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS" |
644 |
- fi |
645 |
- if linux_config_exists; then |
646 |
- for module in ${CONFIG_CHECK_MODULES}; do |
647 |
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled" |
648 |
- done |
649 |
- fi |
650 |
-} |
651 |
- |
652 |
-python_prepare_all() { |
653 |
- sed -i '/^hacking/d' test-requirements.txt || die |
654 |
- # only used for docs |
655 |
- sed -i '/^sphinx-feature-classification/d' requirements.txt || die |
656 |
- distutils-r1_python_prepare_all |
657 |
-} |
658 |
- |
659 |
-python_test() { |
660 |
- # Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 |
661 |
- nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" |
662 |
-} |
663 |
- |
664 |
-python_install_all() { |
665 |
- distutils-r1_python_install_all |
666 |
- keepdir /etc/cinder |
667 |
- dodir /etc/cinder/rootwrap.d |
668 |
- |
669 |
- for svc in api scheduler volume; do |
670 |
- newinitd "${FILESDIR}/cinder.initd" cinder-${svc} |
671 |
- done |
672 |
- |
673 |
- insinto /etc/cinder |
674 |
- insopts -m0640 -o cinder -g cinder |
675 |
- doins "etc/cinder/api-httpd.conf" |
676 |
- doins "etc/cinder/logging_sample.conf" |
677 |
- doins "etc/cinder/rootwrap.conf" |
678 |
- doins "etc/cinder/api-paste.ini" |
679 |
- doins "etc/cinder/resource_filters.json" |
680 |
- newins "${DISTDIR}/cinder.conf.sample-${PV}" "cinder.conf.sample" |
681 |
- insinto /etc/cinder/rootwrap.d |
682 |
- doins "etc/cinder/rootwrap.d/volume.filters" |
683 |
- |
684 |
- dodir /var/log/cinder |
685 |
- fowners cinder:cinder /var/log/cinder |
686 |
- |
687 |
- #add sudoers definitions for user nova |
688 |
- insinto /etc/sudoers.d/ |
689 |
- insopts -m 0440 -o root -g root |
690 |
- newins "${FILESDIR}/cinder.sudoersd" cinder |
691 |
- # stupid python |
692 |
- rm -r "${ED}"/usr/etc |
693 |
-} |
694 |
- |
695 |
-pkg_postinst() { |
696 |
- if use iscsi ; then |
697 |
- elog "Cinder needs tgtd to be installed and running to work with iscsi" |
698 |
- elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf" |
699 |
- fi |
700 |
-} |
701 |
|
702 |
diff --git a/sys-cluster/cinder/cinder-16.1.0.ebuild b/sys-cluster/cinder/cinder-16.1.0.ebuild |
703 |
index a22eb94ab54..7a062a48e6f 100644 |
704 |
--- a/sys-cluster/cinder/cinder-16.1.0.ebuild |
705 |
+++ b/sys-cluster/cinder/cinder-16.1.0.ebuild |
706 |
@@ -17,7 +17,7 @@ if [[ ${PV} == *9999 ]];then |
707 |
else |
708 |
SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/ussuri/cinder.conf.sample -> cinder.conf.sample-${PV} |
709 |
https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
710 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
711 |
+ KEYWORDS="amd64 ~arm64 x86" |
712 |
fi |
713 |
|
714 |
LICENSE="Apache-2.0" |