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