1 |
prometheanfire 14/04/28 02:50:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cinder-2014.1.9999.ebuild cinder-2014.1.ebuild |
5 |
Log: |
6 |
yet more shit |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.33 sys-cluster/cinder/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/ChangeLog?rev=1.33&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/ChangeLog?rev=1.33&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/ChangeLog?r1=1.32&r2=1.33 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v |
20 |
retrieving revision 1.32 |
21 |
retrieving revision 1.33 |
22 |
diff -u -r1.32 -r1.33 |
23 |
--- ChangeLog 6 Apr 2014 06:12:47 -0000 1.32 |
24 |
+++ ChangeLog 28 Apr 2014 02:50:19 -0000 1.33 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-cluster/cinder |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v 1.32 2014/04/06 06:12:47 prometheanfire Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v 1.33 2014/04/28 02:50:19 prometheanfire Exp $ |
30 |
+ |
31 |
+*cinder-2014.1.9999 (28 Apr 2014) |
32 |
+*cinder-2014.1 (28 Apr 2014) |
33 |
+ |
34 |
+ 28 Apr 2014; Matthew Thode <prometheanfire@g.o> |
35 |
+ +cinder-2014.1.9999.ebuild, +cinder-2014.1.ebuild: |
36 |
+ yet more shit |
37 |
|
38 |
*cinder-2013.2.3 (06 Apr 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-cluster/cinder/cinder-2014.1.9999.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/cinder-2014.1.9999.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/cinder-2014.1.9999.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cinder-2014.1.9999.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2014.1.9999.ebuild,v 1.1 2014/04/28 02:50:19 prometheanfire Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
PYTHON_COMPAT=( python2_7 ) |
56 |
|
57 |
inherit distutils-r1 eutils git-2 user |
58 |
|
59 |
DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes." |
60 |
HOMEPAGE="https://launchpad.net/cinder" |
61 |
EGIT_REPO_URI="https://github.com/openstack/cinder.git" |
62 |
EGIT_BRANCH="stable/icehouse" |
63 |
|
64 |
LICENSE="Apache-2.0" |
65 |
SLOT="0" |
66 |
KEYWORDS="" |
67 |
IUSE="+api +scheduler +volume mysql postgres sqlite test" |
68 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
69 |
|
70 |
#sudo is a build dep because I want the sudoers.d directory to exist, lazy. |
71 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
72 |
>=dev-python/pbr-0.6[${PYTHON_USEDEP}] |
73 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
74 |
app-admin/sudo |
75 |
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] |
76 |
<dev-python/hacking-0.9[${PYTHON_USEDEP}] |
77 |
>=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
78 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
79 |
>=dev-python/hp3parclient-3.0[${PYTHON_USEDEP}] |
80 |
<dev-python/hp3parclient-4.0[${PYTHON_USEDEP}] |
81 |
>=dev-python/mock-1.0[${PYTHON_USEDEP}] |
82 |
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}] |
83 |
dev-python/mysql-python[${PYTHON_USEDEP}] |
84 |
dev-python/psycopg[${PYTHON_USEDEP}] |
85 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
86 |
<dev-python/sphinx-1.2[${PYTHON_USEDEP}] |
87 |
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
88 |
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
89 |
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
90 |
dev-python/oslo-sphinx[${PYTHON_USEDEP}] )" |
91 |
|
92 |
RDEPEND="=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] |
93 |
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] |
94 |
virtual/python-argparse[${PYTHON_USEDEP}] |
95 |
>=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
96 |
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] |
97 |
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
98 |
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
99 |
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] |
100 |
>=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
101 |
>=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}] |
102 |
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
103 |
>=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}] |
104 |
dev-python/oslo-rootwrap[${PYTHON_USEDEP}] |
105 |
>=dev-python/paramiko-1.9.0[${PYTHON_USEDEP}] |
106 |
dev-python/paste[${PYTHON_USEDEP}] |
107 |
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
108 |
>=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}] |
109 |
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] |
110 |
>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] |
111 |
>=dev-python/python-swiftclient-1.6[${PYTHON_USEDEP}] |
112 |
>=dev-python/requests-1.1[${PYTHON_USEDEP}] |
113 |
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
114 |
>=dev-python/taskflow-0.1.3[${PYTHON_USEDEP}] |
115 |
<dev-python/taskflow-0.2[${PYTHON_USEDEP}] |
116 |
>=dev-python/rtslib-fb-2.1.39[${PYTHON_USEDEP}] |
117 |
>=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
118 |
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] |
119 |
<dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] ) |
120 |
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] |
121 |
<dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] ) |
122 |
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] |
123 |
<dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] ) |
124 |
>=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}] |
125 |
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}] |
126 |
>=dev-python/suds-0.4[${PYTHON_USEDEP}] |
127 |
>=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] |
128 |
>=sys-block/iscsitarget-1.4.20.2_p20130821 |
129 |
sys-fs/lvm2 |
130 |
sys-block/open-iscsi |
131 |
sys-fs/sysfsutils" |
132 |
|
133 |
PATCHES=( ) |
134 |
|
135 |
pkg_setup() { |
136 |
enewgroup cinder |
137 |
enewuser cinder -1 -1 /var/lib/cinder cinder |
138 |
} |
139 |
|
140 |
#python_compile_all() { leave for next attempt |
141 |
# use doc && emake -C doc html |
142 |
#} |
143 |
|
144 |
python_test() { |
145 |
# Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 |
146 |
nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" |
147 |
} |
148 |
|
149 |
python_install() { |
150 |
distutils-r1_python_install |
151 |
keepdir /etc/cinder |
152 |
dodir /etc/cinder/rootwrap.d |
153 |
newinitd "${FILESDIR}/cinder-init" "cinder" |
154 |
newconfd "${FILESDIR}/cinder-confd" "cinder" |
155 |
use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api |
156 |
use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler |
157 |
use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume |
158 |
|
159 |
insinto /etc/cinder |
160 |
newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf" |
161 |
newins "${S}/etc/cinder/api-paste.ini" "api-paste.ini" |
162 |
newins "${S}/etc/cinder/logging_sample.conf" "logging_sample.conf" |
163 |
newins "${S}/etc/cinder/policy.json" "policy.json" |
164 |
newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf" |
165 |
insinto /etc/cinder/rootwrap.d |
166 |
newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters" |
167 |
|
168 |
#add sudoers definitions for user nova |
169 |
insinto /etc/sudoers.d/ |
170 |
doins "${FILESDIR}/cinder-sudoers" |
171 |
dodir /var/log/cinder |
172 |
fowners cinder:cinder /var/log/cinder |
173 |
} |
174 |
|
175 |
|
176 |
|
177 |
1.1 sys-cluster/cinder/cinder-2014.1.ebuild |
178 |
|
179 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/cinder-2014.1.ebuild?rev=1.1&view=markup |
180 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/cinder/cinder-2014.1.ebuild?rev=1.1&content-type=text/plain |
181 |
|
182 |
Index: cinder-2014.1.ebuild |
183 |
=================================================================== |
184 |
# Copyright 1999-2014 Gentoo Foundation |
185 |
# Distributed under the terms of the GNU General Public License v2 |
186 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2014.1.ebuild,v 1.1 2014/04/28 02:50:19 prometheanfire Exp $ |
187 |
|
188 |
EAPI=5 |
189 |
PYTHON_COMPAT=( python2_7 ) |
190 |
|
191 |
inherit distutils-r1 eutils user |
192 |
|
193 |
DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes." |
194 |
HOMEPAGE="https://launchpad.net/cinder" |
195 |
SRC_URI="http://launchpad.net/${PN}/icehouse/${PV}/+download/${P}.tar.gz" |
196 |
|
197 |
LICENSE="Apache-2.0" |
198 |
SLOT="0" |
199 |
KEYWORDS="~amd64 ~x86" |
200 |
IUSE="+api +scheduler +volume mysql postgres sqlite test" |
201 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
202 |
|
203 |
#sudo is a build dep because I want the sudoers.d directory to exist, lazy. |
204 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
205 |
>=dev-python/pbr-0.6[${PYTHON_USEDEP}] |
206 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
207 |
app-admin/sudo |
208 |
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] |
209 |
<dev-python/hacking-0.9[${PYTHON_USEDEP}] |
210 |
>=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
211 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
212 |
>=dev-python/hp3parclient-3.0[${PYTHON_USEDEP}] |
213 |
<dev-python/hp3parclient-4.0[${PYTHON_USEDEP}] |
214 |
>=dev-python/mock-1.0[${PYTHON_USEDEP}] |
215 |
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}] |
216 |
dev-python/mysql-python[${PYTHON_USEDEP}] |
217 |
dev-python/psycopg[${PYTHON_USEDEP}] |
218 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
219 |
<dev-python/sphinx-1.2[${PYTHON_USEDEP}] |
220 |
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
221 |
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
222 |
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
223 |
dev-python/oslo-sphinx[${PYTHON_USEDEP}] )" |
224 |
|
225 |
RDEPEND="=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] |
226 |
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] |
227 |
virtual/python-argparse[${PYTHON_USEDEP}] |
228 |
>=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
229 |
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] |
230 |
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
231 |
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
232 |
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] |
233 |
>=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
234 |
>=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}] |
235 |
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
236 |
>=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}] |
237 |
dev-python/oslo-rootwrap[${PYTHON_USEDEP}] |
238 |
>=dev-python/paramiko-1.9.0[${PYTHON_USEDEP}] |
239 |
dev-python/paste[${PYTHON_USEDEP}] |
240 |
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
241 |
>=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}] |
242 |
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] |
243 |
>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] |
244 |
>=dev-python/python-swiftclient-1.6[${PYTHON_USEDEP}] |
245 |
>=dev-python/requests-1.1[${PYTHON_USEDEP}] |
246 |
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
247 |
>=dev-python/taskflow-0.1.3[${PYTHON_USEDEP}] |
248 |
<dev-python/taskflow-0.2[${PYTHON_USEDEP}] |
249 |
>=dev-python/rtslib-fb-2.1.39[${PYTHON_USEDEP}] |
250 |
>=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
251 |
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] |
252 |
<dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] ) |
253 |
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] |
254 |
<dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] ) |
255 |
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] |
256 |
<dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] ) |
257 |
>=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}] |
258 |
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}] |
259 |
>=dev-python/suds-0.4[${PYTHON_USEDEP}] |
260 |
>=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] |
261 |
>=sys-block/iscsitarget-1.4.20.2_p20130821 |
262 |
sys-fs/lvm2 |
263 |
sys-block/open-iscsi |
264 |
sys-fs/sysfsutils" |
265 |
|
266 |
PATCHES=( ) |
267 |
|
268 |
pkg_setup() { |
269 |
enewgroup cinder |
270 |
enewuser cinder -1 -1 /var/lib/cinder cinder |
271 |
} |
272 |
|
273 |
#python_compile_all() { leave for next attempt |
274 |
# use doc && emake -C doc html |
275 |
#} |
276 |
|
277 |
python_test() { |
278 |
# Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 |
279 |
nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" |
280 |
} |
281 |
|
282 |
python_install() { |
283 |
distutils-r1_python_install |
284 |
keepdir /etc/cinder |
285 |
dodir /etc/cinder/rootwrap.d |
286 |
newinitd "${FILESDIR}/cinder-init" "cinder" |
287 |
newconfd "${FILESDIR}/cinder-confd" "cinder" |
288 |
use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api |
289 |
use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler |
290 |
use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume |
291 |
|
292 |
insinto /etc/cinder |
293 |
newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf" |
294 |
newins "${S}/etc/cinder/api-paste.ini" "api-paste.ini" |
295 |
newins "${S}/etc/cinder/logging_sample.conf" "logging_sample.conf" |
296 |
newins "${S}/etc/cinder/policy.json" "policy.json" |
297 |
newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf" |
298 |
insinto /etc/cinder/rootwrap.d |
299 |
newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters" |
300 |
|
301 |
#add sudoers definitions for user nova |
302 |
insinto /etc/sudoers.d/ |
303 |
doins "${FILESDIR}/cinder-sudoers" |
304 |
dodir /var/log/cinder |
305 |
fowners cinder:cinder /var/log/cinder |
306 |
} |