Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/nova: nova-2014.1.ebuild nova-2014.1.9999.ebuild ChangeLog
Date: Mon, 28 Apr 2014 03:04:05
Message-Id: 20140428030358.D0E0F20036@flycatcher.gentoo.org
1 prometheanfire 14/04/28 03:03:58
2
3 Modified: ChangeLog
4 Added: nova-2014.1.ebuild nova-2014.1.9999.ebuild
5 Log:
6 for patrick
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.60 sys-cluster/nova/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?rev=1.60&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?rev=1.60&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?r1=1.59&r2=1.60
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v
20 retrieving revision 1.59
21 retrieving revision 1.60
22 diff -u -r1.59 -r1.60
23 --- ChangeLog 11 Apr 2014 15:12:49 -0000 1.59
24 +++ ChangeLog 28 Apr 2014 03:03:58 -0000 1.60
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sys-cluster/nova
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.59 2014/04/11 15:12:49 prometheanfire Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.60 2014/04/28 03:03:58 prometheanfire Exp $
30 +
31 +*nova-2014.1 (28 Apr 2014)
32 +*nova-2014.1.9999 (28 Apr 2014)
33 +
34 + 28 Apr 2014; Matthew Thode <prometheanfire@g.o>
35 + +nova-2014.1.9999.ebuild, +nova-2014.1.ebuild, files/nova.initd:
36 + for patrick
37
38 *nova-2013.2.3-r1 (11 Apr 2014)
39
40
41
42
43 1.1 sys-cluster/nova/nova-2014.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2014.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2014.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: nova-2014.1.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/nova/nova-2014.1.ebuild,v 1.1 2014/04/28 03:03:58 prometheanfire Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python2_7 )
56
57 inherit distutils-r1 eutils multilib user
58
59 DESCRIPTION="A cloud computing fabric controller (main part of an IaaS system) written in Python."
60 HOMEPAGE="https://launchpad.net/nova"
61 SRC_URI="http://launchpad.net/${PN}/icehouse/${PV}/+download/${P}.tar.gz"
62
63 LICENSE="Apache-2.0"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="+compute +kvm +network +novncproxy sqlite mysql postgres xen"
67 REQUIRED_USE="|| ( mysql postgres sqlite )
68 compute? ( || ( kvm xen ) )"
69
70 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
71 >=dev-python/pbr-0.6[${PYTHON_USEDEP}]
72 <dev-python/pbr-1.0[${PYTHON_USEDEP}]
73 app-admin/sudo"
74
75 RDEPEND="sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
76 <dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] )
77 mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
78 <dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] )
79 postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
80 <dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] )
81 >=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}]
82 >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
83 virtual/python-argparse[${PYTHON_USEDEP}]
84 >=dev-python/boto-2.12.0[${PYTHON_USEDEP}]
85 !~dev-python/boto-2.13.0[${PYTHON_USEDEP}]
86 >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
87 dev-python/jinja[${PYTHON_USEDEP}]
88 >=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
89 >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
90 >=dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}]
91 >=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
92 >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
93 >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}]
94 dev-python/paste[${PYTHON_USEDEP}]
95 >=dev-python/sqlalchemy-migrate-0.8.2[${PYTHON_USEDEP}]
96 !~dev-python/sqlalchemy-migrate-0.8.4[${PYTHON_USEDEP}]
97 >=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}]
98 >=dev-python/suds-0.4[${PYTHON_USEDEP}]
99 >=dev-python/paramiko-1.9.0[${PYTHON_USEDEP}]
100 dev-python/pyasn1[${PYTHON_USEDEP}]
101 >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
102 >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
103 >=dev-python/python-cinderclient-1.0.6[${PYTHON_USEDEP}]
104 >=dev-python/python-neutronclient-2.3.4[${PYTHON_USEDEP}]
105 <=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}]
106 >=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}]
107 >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
108 >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
109 >=dev-python/stevedore-0.14[${PYTHON_USEDEP}]
110 >=dev-python/websockify-0.5.1[${PYTHON_USEDEP}]
111 <dev-python/websockify-0.6[${PYTHON_USEDEP}]
112 >=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
113 dev-python/oslo-rootwrap[${PYTHON_USEDEP}]
114 >=dev-python/pycadf-0.4.1[${PYTHON_USEDEP}]
115 >=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}]
116 dev-python/libvirt-python[${PYTHON_USEDEP}]
117 novncproxy? ( www-apps/novnc )
118 sys-apps/iproute2
119 net-misc/openvswitch
120 net-misc/rabbitmq-server
121 sys-fs/sysfsutils
122 sys-fs/multipath-tools
123 kvm? ( app-emulation/qemu )
124 xen? ( app-emulation/xen
125 app-emulation/xen-tools )"
126
127 PATCHES=(
128 )
129
130 pkg_setup() {
131 enewgroup nova
132 enewuser nova -1 -1 /var/lib/nova nova
133 }
134
135 python_install() {
136 distutils-r1_python_install
137
138 for svc in api cert compute conductor consoleauth network scheduler spicehtml5proxy xvpvncproxy; do
139 newinitd "${FILESDIR}/nova.initd" "nova-${svc}"
140 done
141 use compute && newinitd "${FILESDIR}/nova.initd" "nova-compute"
142 use novncproxy && newinitd "${FILESDIR}/nova.initd" "nova-novncproxy"
143
144 diropts -m 0750 -o nova -g nova
145 dodir /var/log/nova /var/lib/nova/instances
146
147 insinto /etc/nova
148 insopts -m 0640 -o nova -g nova
149 newins "etc/nova/nova.conf.sample" "nova.conf"
150 doins "etc/nova/api-paste.ini"
151 doins "etc/nova/logging_sample.conf"
152 doins "etc/nova/policy.json"
153 doins "etc/nova/rootwrap.conf"
154 #rootwrap filters
155 insinto /etc/nova/rootwrap.d
156 doins "etc/nova/rootwrap.d/api-metadata.filters"
157 doins "etc/nova/rootwrap.d/compute.filters"
158 doins "etc/nova/rootwrap.d/network.filters"
159 #copy migration conf file (not coppied on install via setup.py script)
160 insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/
161 doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg"
162 #copy the CA cert dir (not coppied on install via setup.py script)
163 cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "installing CA files failed"
164
165 #add sudoers definitions for user nova
166 insinto /etc/sudoers.d/
167 insopts -m 0600 -o root -g root
168 doins "${FILESDIR}/nova-sudoers"
169 }
170
171
172
173 1.1 sys-cluster/nova/nova-2014.1.9999.ebuild
174
175 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2014.1.9999.ebuild?rev=1.1&view=markup
176 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2014.1.9999.ebuild?rev=1.1&content-type=text/plain
177
178 Index: nova-2014.1.9999.ebuild
179 ===================================================================
180 # Copyright 1999-2014 Gentoo Foundation
181 # Distributed under the terms of the GNU General Public License v2
182 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2014.1.9999.ebuild,v 1.1 2014/04/28 03:03:58 prometheanfire Exp $
183
184 EAPI=5
185 PYTHON_COMPAT=( python2_7 )
186
187 inherit distutils-r1 eutils git-2 multilib user
188
189 DESCRIPTION="A cloud computing fabric controller (main part of an IaaS system) written in Python."
190 HOMEPAGE="https://launchpad.net/nova"
191 EGIT_REPO_URI="https://github.com/openstack/nova.git"
192 EGIT_BRANCH="stable/icehouse"
193
194 LICENSE="Apache-2.0"
195 SLOT="0"
196 KEYWORDS=""
197 IUSE="+compute +kvm +network +novncproxy sqlite mysql postgres xen"
198 REQUIRED_USE="|| ( mysql postgres sqlite )
199 compute? ( || ( kvm xen ) )"
200
201 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
202 >=dev-python/pbr-0.6[${PYTHON_USEDEP}]
203 <dev-python/pbr-1.0[${PYTHON_USEDEP}]
204 app-admin/sudo"
205
206 RDEPEND="sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
207 <dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] )
208 mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
209 <dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] )
210 postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
211 <dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] )
212 >=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}]
213 >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
214 virtual/python-argparse[${PYTHON_USEDEP}]
215 >=dev-python/boto-2.12.0[${PYTHON_USEDEP}]
216 !~dev-python/boto-2.13.0[${PYTHON_USEDEP}]
217 >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
218 dev-python/jinja[${PYTHON_USEDEP}]
219 >=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
220 >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
221 >=dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}]
222 >=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
223 >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
224 >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}]
225 dev-python/paste[${PYTHON_USEDEP}]
226 >=dev-python/sqlalchemy-migrate-0.8.2[${PYTHON_USEDEP}]
227 !~dev-python/sqlalchemy-migrate-0.8.4[${PYTHON_USEDEP}]
228 >=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}]
229 >=dev-python/suds-0.4[${PYTHON_USEDEP}]
230 >=dev-python/paramiko-1.9.0[${PYTHON_USEDEP}]
231 dev-python/pyasn1[${PYTHON_USEDEP}]
232 >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
233 >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
234 >=dev-python/python-cinderclient-1.0.6[${PYTHON_USEDEP}]
235 >=dev-python/python-neutronclient-2.3.4[${PYTHON_USEDEP}]
236 <=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}]
237 >=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}]
238 >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
239 >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
240 >=dev-python/stevedore-0.14[${PYTHON_USEDEP}]
241 >=dev-python/websockify-0.5.1[${PYTHON_USEDEP}]
242 <dev-python/websockify-0.6[${PYTHON_USEDEP}]
243 >=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
244 dev-python/oslo-rootwrap[${PYTHON_USEDEP}]
245 >=dev-python/pycadf-0.4.1[${PYTHON_USEDEP}]
246 >=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}]
247 dev-python/libvirt-python[${PYTHON_USEDEP}]
248 novncproxy? ( www-apps/novnc )
249 sys-apps/iproute2
250 net-misc/openvswitch
251 net-misc/rabbitmq-server
252 sys-fs/sysfsutils
253 sys-fs/multipath-tools
254 kvm? ( app-emulation/qemu )
255 xen? ( app-emulation/xen
256 app-emulation/xen-tools )"
257
258 PATCHES=(
259 )
260
261 pkg_setup() {
262 enewgroup nova
263 enewuser nova -1 -1 /var/lib/nova nova
264 }
265
266 python_install() {
267 distutils-r1_python_install
268
269 for svc in api cert compute conductor consoleauth network scheduler spicehtml5proxy xvpvncproxy; do
270 newinitd "${FILESDIR}/nova.initd" "nova-${svc}"
271 done
272 use compute && newinitd "${FILESDIR}/nova.initd" "nova-compute"
273 use novncproxy && newinitd "${FILESDIR}/nova.initd" "nova-novncproxy"
274
275 diropts -m 0750 -o nova -g nova
276 dodir /var/log/nova /var/lib/nova/instances
277
278 insinto /etc/nova
279 insopts -m 0640 -o nova -g nova
280 newins "etc/nova/nova.conf.sample" "nova.conf"
281 doins "etc/nova/api-paste.ini"
282 doins "etc/nova/logging_sample.conf"
283 doins "etc/nova/policy.json"
284 doins "etc/nova/rootwrap.conf"
285 #rootwrap filters
286 insinto /etc/nova/rootwrap.d
287 doins "etc/nova/rootwrap.d/api-metadata.filters"
288 doins "etc/nova/rootwrap.d/compute.filters"
289 doins "etc/nova/rootwrap.d/network.filters"
290 #copy migration conf file (not coppied on install via setup.py script)
291 insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/
292 doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg"
293 #copy the CA cert dir (not coppied on install via setup.py script)
294 cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "installing CA files failed"
295
296 #add sudoers definitions for user nova
297 insinto /etc/sudoers.d/
298 insopts -m 0600 -o root -g root
299 doins "${FILESDIR}/nova-sudoers"
300 }