1 |
prometheanfire 13/10/29 06:15:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nova-2013.2.ebuild nova-2013.1.4.ebuild |
5 |
Removed: nova-2013.1.3-r6.ebuild |
6 |
Log: |
7 |
new nova packages |
8 |
|
9 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3) |
10 |
|
11 |
Revision Changes Path |
12 |
1.34 sys-cluster/nova/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?rev=1.34&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?rev=1.34&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?r1=1.33&r2=1.34 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v |
21 |
retrieving revision 1.33 |
22 |
retrieving revision 1.34 |
23 |
diff -u -r1.33 -r1.34 |
24 |
--- ChangeLog 23 Oct 2013 04:12:48 -0000 1.33 |
25 |
+++ ChangeLog 29 Oct 2013 06:15:52 -0000 1.34 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for sys-cluster/nova |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.33 2013/10/23 04:12:48 prometheanfire Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.34 2013/10/29 06:15:52 prometheanfire Exp $ |
31 |
+ |
32 |
+*nova-2013.2 (29 Oct 2013) |
33 |
+*nova-2013.1.4 (29 Oct 2013) |
34 |
+ |
35 |
+ 29 Oct 2013; Matthew Thode <prometheanfire@g.o> +nova-2013.1.4.ebuild, |
36 |
+ +nova-2013.2.ebuild, -nova-2013.1.3-r6.ebuild: |
37 |
+ new nova packages |
38 |
|
39 |
23 Oct 2013; Matthew Thode <prometheanfire@g.o> |
40 |
nova-2013.2.9999.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-cluster/nova/nova-2013.2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2013.2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2013.2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: nova-2013.2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.2.ebuild,v 1.1 2013/10/29 06:15:52 prometheanfire Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
PYTHON_COMPAT=( python2_7 ) |
57 |
|
58 |
inherit distutils-r1 eutils multilib |
59 |
|
60 |
DESCRIPTION="Nova is a cloud computing fabric controller (main part of an |
61 |
IaaS system). It is written in Python." |
62 |
HOMEPAGE="https://launchpad.net/nova" |
63 |
SRC_URI="http://launchpad.net/${PN}/havana/${PV}/+download/${P}.tar.gz" |
64 |
|
65 |
LICENSE="Apache-2.0" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
IUSE="+api +cert +compute +conductor +consoleauth +kvm +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy sqlite mysql postgres xen" |
69 |
REQUIRED_USE="|| ( mysql postgres sqlite ) |
70 |
|| ( kvm xen )" |
71 |
|
72 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
73 |
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}] |
74 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
75 |
app-admin/sudo" |
76 |
|
77 |
RDEPEND="sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] |
78 |
<dev-python/sqlalchemy-0.7.99[sqlite,${PYTHON_USEDEP}] ) |
79 |
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] |
80 |
<dev-python/sqlalchemy-0.7.99[mysql,${PYTHON_USEDEP}] ) |
81 |
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] |
82 |
<dev-python/sqlalchemy-0.7.99[postgres,${PYTHON_USEDEP}] ) |
83 |
>=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] |
84 |
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] |
85 |
virtual/python-argparse[${PYTHON_USEDEP}] |
86 |
>=dev-python/boto-2.4.0[${PYTHON_USEDEP}] |
87 |
!~dev-python/boto-2.13.0[${PYTHON_USEDEP}] |
88 |
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] |
89 |
dev-python/jinja[${PYTHON_USEDEP}] |
90 |
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] |
91 |
>=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
92 |
>=dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}] |
93 |
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}] |
94 |
<dev-python/webob-1.3[${PYTHON_USEDEP}] |
95 |
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
96 |
>=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
97 |
dev-python/paste[${PYTHON_USEDEP}] |
98 |
>=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] |
99 |
dev-python/netaddr[${PYTHON_USEDEP}] |
100 |
>=dev-python/suds-0.4[${PYTHON_USEDEP}] |
101 |
>=dev-python/paramiko-1.8.0[${PYTHON_USEDEP}] |
102 |
dev-python/pyasn1[${PYTHON_USEDEP}] |
103 |
>=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] |
104 |
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] |
105 |
>=dev-python/python-cinderclient-1.0.5[${PYTHON_USEDEP}] |
106 |
>=dev-python/python-neutronclient-2.3.0[${PYTHON_USEDEP}] |
107 |
<=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}] |
108 |
>=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}] |
109 |
>=dev-python/python-keystoneclient-0.3.2[${PYTHON_USEDEP}] |
110 |
>=dev-python/stevedore-0.10[${PYTHON_USEDEP}] |
111 |
>=dev-python/websockify-0.5.1[${PYTHON_USEDEP}] |
112 |
<dev-python/websockify-0.6[${PYTHON_USEDEP}] |
113 |
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
114 |
app-emulation/libvirt[${PYTHON_USEDEP}] |
115 |
novncproxy? ( www-apps/novnc ) |
116 |
kvm? ( app-emulation/qemu ) |
117 |
xen? ( app-emulation/xen |
118 |
app-emulation/xen-tools )" |
119 |
|
120 |
PATCHES=( |
121 |
) |
122 |
|
123 |
pkg_setup() { |
124 |
enewgroup nova |
125 |
enewuser nova -1 -1 /var/lib/nova nova |
126 |
} |
127 |
|
128 |
python_install() { |
129 |
distutils-r1_python_install |
130 |
newconfd "${FILESDIR}/nova-confd" "nova" |
131 |
newinitd "${FILESDIR}/nova-initd" "nova" |
132 |
use api && dosym /etc/init.d/nova /etc/init.d/nova-api |
133 |
use cert && dosym /etc/init.d/nova /etc/init.d/nova-cert |
134 |
use compute && dosym /etc/init.d/nova /etc/init.d/nova-compute |
135 |
use conductor && dosym /etc/init.d/nova /etc/init.d/nova-conductor |
136 |
use consoleauth && dosym /etc/init.d/nova /etc/init.d/nova-consoleauth |
137 |
use network && dosym /etc/init.d/nova /etc/init.d/nova-network |
138 |
use novncproxy &&dosym /etc/init.d/nova /etc/init.d/nova-novncproxy |
139 |
use scheduler && dosym /etc/init.d/nova /etc/init.d/nova-scheduler |
140 |
use spicehtml5proxy && dosym /etc/init.d/nova /etc/init.d/nova-spicehtml5proxy |
141 |
use xvpvncproxy && dosym /etc/init.d/nova /etc/init.d/nova-xvpncproxy |
142 |
|
143 |
diropts -m 0750 |
144 |
dodir /var/run/nova /var/log/nova /var/lock/nova |
145 |
fowners nova:nova /var/log/nova /var/lock/nova /var/run/nova |
146 |
|
147 |
diropts -m 0755 |
148 |
dodir /var/lib/nova/instances |
149 |
fowners nova:nova /var/lib/nova/instances |
150 |
|
151 |
keepdir /etc/nova |
152 |
insinto /etc/nova |
153 |
newins "etc/nova/nova.conf.sample" "nova.conf" |
154 |
doins "etc/nova/api-paste.ini" |
155 |
doins "etc/nova/logging_sample.conf" |
156 |
doins "etc/nova/policy.json" |
157 |
doins "etc/nova/rootwrap.conf" |
158 |
insinto /etc/nova/rootwrap.d |
159 |
doins "etc/nova/rootwrap.d/api-metadata.filters" |
160 |
doins "etc/nova/rootwrap.d/compute.filters" |
161 |
doins "etc/nova/rootwrap.d/network.filters" |
162 |
|
163 |
#copy migration conf file (not coppied on install via setup.py script) |
164 |
insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/ |
165 |
doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg" |
166 |
|
167 |
#copy the CA cert dir (not coppied on install via setup.py script) |
168 |
cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "isntalling CA files failed" |
169 |
|
170 |
#add sudoers definitions for user nova |
171 |
insinto /etc/sudoers.d/ |
172 |
doins "${FILESDIR}/nova-sudoers" |
173 |
} |
174 |
|
175 |
|
176 |
|
177 |
1.1 sys-cluster/nova/nova-2013.1.4.ebuild |
178 |
|
179 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2013.1.4.ebuild?rev=1.1&view=markup |
180 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2013.1.4.ebuild?rev=1.1&content-type=text/plain |
181 |
|
182 |
Index: nova-2013.1.4.ebuild |
183 |
=================================================================== |
184 |
# Copyright 1999-2013 Gentoo Foundation |
185 |
# Distributed under the terms of the GNU General Public License v2 |
186 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.1.4.ebuild,v 1.1 2013/10/29 06:15:52 prometheanfire Exp $ |
187 |
|
188 |
EAPI=5 |
189 |
PYTHON_COMPAT=( python2_7 ) |
190 |
|
191 |
inherit distutils-r1 eutils multilib |
192 |
|
193 |
DESCRIPTION="A cloud computing fabric controller (main part of an IaaS system) written in Python." |
194 |
HOMEPAGE="https://launchpad.net/nova" |
195 |
SRC_URI="http://launchpad.net/${PN}/grizzly/${PV}/+download/${P}.tar.gz" |
196 |
|
197 |
LICENSE="Apache-2.0" |
198 |
SLOT="0" |
199 |
KEYWORDS="~amd64 ~x86" |
200 |
IUSE="+api +cert +compute +conductor +consoleauth +kvm +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy xen sqlite mysql postgres" |
201 |
REQUIRED_USE="|| ( mysql postgres sqlite ) |
202 |
|| ( kvm xen )" |
203 |
|
204 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
205 |
app-admin/sudo" |
206 |
|
207 |
RDEPEND=">=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] |
208 |
>=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}] |
209 |
>=dev-python/cheetah-2.4.4[${PYTHON_USEDEP}] |
210 |
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] |
211 |
<dev-python/sqlalchemy-0.7.10[sqlite,${PYTHON_USEDEP}] ) |
212 |
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] |
213 |
<dev-python/sqlalchemy-0.7.10[mysql,${PYTHON_USEDEP}] ) |
214 |
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] |
215 |
<dev-python/sqlalchemy-0.7.10[postgres,${PYTHON_USEDEP}] ) |
216 |
dev-python/boto[${PYTHON_USEDEP}] |
217 |
>=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
218 |
>=dev-python/eventlet-0.9.17[${PYTHON_USEDEP}] |
219 |
>=dev-python/kombu-1.0.4-r1[${PYTHON_USEDEP}] |
220 |
>=dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}] |
221 |
~dev-python/webob-1.2.3[${PYTHON_USEDEP}] |
222 |
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] |
223 |
>=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
224 |
dev-python/paste[${PYTHON_USEDEP}] |
225 |
>=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] |
226 |
dev-python/netaddr[${PYTHON_USEDEP}] |
227 |
>=dev-python/suds-0.4[${PYTHON_USEDEP}] |
228 |
dev-python/paramiko[${PYTHON_USEDEP}] |
229 |
dev-python/pyasn1[${PYTHON_USEDEP}] |
230 |
>=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] |
231 |
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] |
232 |
dev-python/httplib2[${PYTHON_USEDEP}] |
233 |
>=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}] |
234 |
>=dev-python/python-cinderclient-1.0.1[${PYTHON_USEDEP}] |
235 |
>=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}] |
236 |
<dev-python/python-glanceclient-2[${PYTHON_USEDEP}] |
237 |
>=dev-python/python-neutronclient-2.2.0[${PYTHON_USEDEP}] |
238 |
<=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}] |
239 |
>=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}] |
240 |
>=dev-python/stevedore-0.7[${PYTHON_USEDEP}] |
241 |
<dev-python/websockify-0.4[${PYTHON_USEDEP}] |
242 |
>=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}] |
243 |
<dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
244 |
virtual/python-argparse[${PYTHON_USEDEP}] |
245 |
app-emulation/libvirt[${PYTHON_USEDEP}] |
246 |
novncproxy? ( www-apps/novnc ) |
247 |
kvm? ( app-emulation/qemu ) |
248 |
xen? ( app-emulation/xen |
249 |
app-emulation/xen-tools )" |
250 |
|
251 |
PATCHES=( |
252 |
) |
253 |
|
254 |
pkg_setup() { |
255 |
enewgroup nova |
256 |
enewuser nova -1 -1 /var/lib/nova nova |
257 |
} |
258 |
|
259 |
src_prepare() { |
260 |
sed -i 's/setuptools_git>=0.4//g' "${S}/setup.py" |
261 |
} |
262 |
|
263 |
#python_test() { |
264 |
# nosetests || die |
265 |
#} |
266 |
|
267 |
python_install() { |
268 |
distutils-r1_python_install |
269 |
newconfd "${FILESDIR}/nova-confd" "nova" |
270 |
newinitd "${FILESDIR}/nova-initd" "nova" |
271 |
use api && dosym /etc/init.d/nova /etc/init.d/nova-api |
272 |
use cert && dosym /etc/init.d/nova /etc/init.d/nova-cert |
273 |
use compute && dosym /etc/init.d/nova /etc/init.d/nova-compute |
274 |
use conductor && dosym /etc/init.d/nova /etc/init.d/nova-conductor |
275 |
use consoleauth && dosym /etc/init.d/nova /etc/init.d/nova-consoleauth |
276 |
use network && dosym /etc/init.d/nova /etc/init.d/nova-network |
277 |
use novncproxy &&dosym /etc/init.d/nova /etc/init.d/nova-novncproxy |
278 |
use scheduler && dosym /etc/init.d/nova /etc/init.d/nova-scheduler |
279 |
use spicehtml5proxy && dosym /etc/init.d/nova /etc/init.d/nova-spicehtml5proxy |
280 |
use xvpvncproxy && dosym /etc/init.d/nova /etc/init.d/nova-xvpncproxy |
281 |
|
282 |
diropts -m 0750 |
283 |
dodir /var/run/nova /var/log/nova /var/lock/nova |
284 |
fowners nova:nova /var/log/nova /var/lock/nova /var/run/nova |
285 |
|
286 |
diropts -m 0755 |
287 |
dodir /var/lib/nova/instances |
288 |
fowners nova:nova /var/lib/nova/instances |
289 |
|
290 |
keepdir /etc/nova |
291 |
insinto /etc/nova |
292 |
newins "etc/nova/nova.conf.sample" "nova.conf" |
293 |
doins "etc/nova/api-paste.ini" |
294 |
doins "etc/nova/logging_sample.conf" |
295 |
doins "etc/nova/policy.json" |
296 |
doins "etc/nova/rootwrap.conf" |
297 |
insinto /etc/nova/rootwrap.d |
298 |
doins "etc/nova/rootwrap.d/api-metadata.filters" |
299 |
doins "etc/nova/rootwrap.d/compute.filters" |
300 |
doins "etc/nova/rootwrap.d/network.filters" |
301 |
|
302 |
#copy migration conf file (not coppied on install via setup.py script) |
303 |
insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/ |
304 |
doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg" |
305 |
|
306 |
#copy the CA cert dir (not coppied on install via setup.py script) |
307 |
cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "isntalling CA files failed" |
308 |
|
309 |
#add sudoers definitions for user nova |
310 |
insinto /etc/sudoers.d/ |
311 |
doins "${FILESDIR}/nova-sudoers" |
312 |
} |