1 |
prometheanfire 14/04/28 02:59:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: neutron-2014.1.ebuild neutron-2014.1.9999.ebuild |
5 |
Log: |
6 |
more and more |
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.29 sys-cluster/neutron/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/ChangeLog?rev=1.29&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/ChangeLog?rev=1.29&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/ChangeLog?r1=1.28&r2=1.29 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/neutron/ChangeLog,v |
20 |
retrieving revision 1.28 |
21 |
retrieving revision 1.29 |
22 |
diff -u -r1.28 -r1.29 |
23 |
--- ChangeLog 6 Apr 2014 06:22:16 -0000 1.28 |
24 |
+++ ChangeLog 28 Apr 2014 02:59:13 -0000 1.29 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-cluster/neutron |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/ChangeLog,v 1.28 2014/04/06 06:22:16 prometheanfire Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/ChangeLog,v 1.29 2014/04/28 02:59:13 prometheanfire Exp $ |
30 |
+ |
31 |
+*neutron-2014.1.9999 (28 Apr 2014) |
32 |
+*neutron-2014.1 (28 Apr 2014) |
33 |
+ |
34 |
+ 28 Apr 2014; Matthew Thode <prometheanfire@g.o> |
35 |
+ +neutron-2014.1.9999.ebuild, +neutron-2014.1.ebuild: |
36 |
+ more and more |
37 |
|
38 |
*neutron-2013.2.3 (06 Apr 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-cluster/neutron/neutron-2014.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/neutron-2014.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/neutron-2014.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: neutron-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/neutron/neutron-2014.1.ebuild,v 1.1 2014/04/28 02:59:13 prometheanfire Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
PYTHON_COMPAT=( python2_7 ) |
56 |
|
57 |
inherit distutils-r1 user |
58 |
|
59 |
DESCRIPTION="A virtual network service for Openstack." |
60 |
HOMEPAGE="https://launchpad.net/neutron" |
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="+dhcp doc +l3 +metadata +openvswitch +server test sqlite mysql postgres" |
67 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
68 |
|
69 |
#the cliff dep is as below because it depends on pyparsing, which only has 2.7 OR 3.2, not both |
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 |
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] |
75 |
<dev-python/hacking-0.9[${PYTHON_USEDEP}] |
76 |
>=dev-python/cliff-1.4.3[${PYTHON_USEDEP}] |
77 |
>=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
78 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
79 |
>=dev-python/mock-1.0[${PYTHON_USEDEP}] |
80 |
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
81 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
82 |
<dev-python/sphinx-1.2[${PYTHON_USEDEP}] |
83 |
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
84 |
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
85 |
>=dev-python/webtest-2.0[${PYTHON_USEDEP}] |
86 |
dev-python/configobj[${PYTHON_USEDEP}] )" |
87 |
|
88 |
RDEPEND="dev-python/paste[${PYTHON_USEDEP}] |
89 |
>=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
90 |
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
91 |
>=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] |
92 |
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] |
93 |
virtual/python-argparse[${PYTHON_USEDEP}] |
94 |
>=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
95 |
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] |
96 |
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
97 |
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}] |
98 |
>=dev-python/requests-1.1[${PYTHON_USEDEP}] |
99 |
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
100 |
dev-python/jsonrpclib[${PYTHON_USEDEP}] |
101 |
dev-python/jinja[${PYTHON_USEDEP}] |
102 |
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] |
103 |
>=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}] |
104 |
>=dev-python/python-neutronclient-2.3.4[${PYTHON_USEDEP}] |
105 |
<=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}] |
106 |
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] |
107 |
<dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] ) |
108 |
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] |
109 |
<dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] ) |
110 |
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] |
111 |
<dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] ) |
112 |
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}] |
113 |
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] |
114 |
>=dev-python/alembic-0.4.1[${PYTHON_USEDEP}] |
115 |
>=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
116 |
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}] |
117 |
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
118 |
dev-python/oslo-rootwrap[${PYTHON_USEDEP}] |
119 |
>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] |
120 |
dev-python/pyudev[${PYTHON_USEDEP}] |
121 |
sys-apps/iproute2 |
122 |
openvswitch? ( net-misc/openvswitch ) |
123 |
dhcp? ( net-dns/dnsmasq[dhcp-tools] )" |
124 |
|
125 |
PATCHES=( "${FILESDIR}/sphinx_mapping.patch" |
126 |
"${FILESDIR}/nicira.patch" ) |
127 |
|
128 |
pkg_setup() { |
129 |
enewgroup neutron |
130 |
enewuser neutron -1 -1 /var/lib/neutron neutron |
131 |
} |
132 |
|
133 |
pkg_config() { |
134 |
fperms 0700 /var/log/neutron |
135 |
fowners neutron:neutron /var/log neutron |
136 |
} |
137 |
|
138 |
src_prepare() { |
139 |
#it's /bin/ip not /sbin/ip |
140 |
sed -i 's/sbin\/ip\,/bin\/ip\,/g' etc/neutron/rootwrap.d/* |
141 |
distutils-r1_src_prepare |
142 |
} |
143 |
|
144 |
python_compile_all() { |
145 |
use doc && make -C doc html |
146 |
} |
147 |
|
148 |
python_test() { |
149 |
# https://bugs.launchpad.net/neutron/+bug/1234857 |
150 |
# https://bugs.launchpad.net/swift/+bug/1249727 |
151 |
# https://bugs.launchpad.net/neutron/+bug/1251657 |
152 |
# turn multiprocessing off, testr will use it --parallel |
153 |
local DISTUTILS_NO_PARALLEL_BUILD=1 |
154 |
# Move tests out that attempt net connection, have failures |
155 |
mv $(find . -name test_ovs_tunnel.py) . || die |
156 |
sed -e 's:test_app_using_ipv6_and_ssl:_&:' \ |
157 |
-e 's:test_start_random_port_with_ipv6:_&:' \ |
158 |
-i neutron/tests/unit/test_wsgi.py || die |
159 |
testr init |
160 |
testr run --parallel || die "failed testsuite under python2.7" |
161 |
} |
162 |
|
163 |
python_install() { |
164 |
distutils-r1_python_install |
165 |
newconfd "${FILESDIR}/neutron-confd" "neutron" |
166 |
newinitd "${FILESDIR}/neutron-initd" "neutron" |
167 |
|
168 |
use server && dosym /etc/init.d/neutron /etc/init.d/neutron-server |
169 |
use dhcp && dosym /etc/init.d/neutron /etc/init.d/neutron-dhcp-agent |
170 |
use l3 && dosym /etc/init.d/neutron /etc/init.d/neutron-l3-agent |
171 |
use metadata && dosym /etc/init.d/neutron /etc/init.d/neutron-metadata-agent |
172 |
use openvswitch && dosym /etc/init.d/neutron /etc/init.d/neutron-openvswitch-agent |
173 |
|
174 |
diropts -m 750 |
175 |
dodir /var/log/neutron /var/log/neutron |
176 |
fowners neutron:neutron /var/log/neutron |
177 |
keepdir /etc/neutron |
178 |
insinto /etc/neutron |
179 |
|
180 |
doins "etc/api-paste.ini" |
181 |
doins "etc/dhcp_agent.ini" |
182 |
doins "etc/l3_agent.ini" |
183 |
doins "etc/policy.json" |
184 |
doins "etc/neutron.conf" |
185 |
doins "etc/rootwrap.conf" |
186 |
insinto /etc |
187 |
doins -r "etc/neutron/" |
188 |
|
189 |
#remove the etc stuff from usr... |
190 |
rm -R "${D}/usr/etc/" |
191 |
|
192 |
insinto "/usr/lib64/python2.7/site-packages/neutron/db/migration/alembic_migrations/" |
193 |
doins -r "neutron/db/migration/alembic_migrations/versions" |
194 |
|
195 |
#add sudoers definitions for user neutron |
196 |
insinto /etc/sudoers.d/ |
197 |
doins "${FILESDIR}/neutron-sudoers" |
198 |
} |
199 |
|
200 |
python_install_all() { |
201 |
use doc && local HTML_DOCS=( doc/build/html/. ) |
202 |
distutils-r1_python_install_all |
203 |
} |
204 |
|
205 |
|
206 |
|
207 |
1.1 sys-cluster/neutron/neutron-2014.1.9999.ebuild |
208 |
|
209 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/neutron-2014.1.9999.ebuild?rev=1.1&view=markup |
210 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/neutron-2014.1.9999.ebuild?rev=1.1&content-type=text/plain |
211 |
|
212 |
Index: neutron-2014.1.9999.ebuild |
213 |
=================================================================== |
214 |
# Copyright 1999-2014 Gentoo Foundation |
215 |
# Distributed under the terms of the GNU General Public License v2 |
216 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/neutron-2014.1.9999.ebuild,v 1.1 2014/04/28 02:59:13 prometheanfire Exp $ |
217 |
|
218 |
EAPI=5 |
219 |
PYTHON_COMPAT=( python2_7 ) |
220 |
|
221 |
inherit distutils-r1 git-2 user |
222 |
|
223 |
DESCRIPTION="A virtual network service for Openstack." |
224 |
HOMEPAGE="https://launchpad.net/neutron" |
225 |
EGIT_REPO_URI="https://github.com/openstack/neutron.git" |
226 |
EGIT_BRANCH="stable/icehouse" |
227 |
|
228 |
LICENSE="Apache-2.0" |
229 |
SLOT="0" |
230 |
KEYWORDS="" |
231 |
IUSE="+dhcp doc +l3 +metadata +openvswitch +server test sqlite mysql postgres" |
232 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
233 |
|
234 |
#the cliff dep is as below because it depends on pyparsing, which only has 2.7 OR 3.2, not both |
235 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
236 |
>=dev-python/pbr-0.6[${PYTHON_USEDEP}] |
237 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
238 |
app-admin/sudo |
239 |
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] |
240 |
<dev-python/hacking-0.9[${PYTHON_USEDEP}] |
241 |
>=dev-python/cliff-1.4.3[${PYTHON_USEDEP}] |
242 |
>=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
243 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
244 |
>=dev-python/mock-1.0[${PYTHON_USEDEP}] |
245 |
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
246 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
247 |
<dev-python/sphinx-1.2[${PYTHON_USEDEP}] |
248 |
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
249 |
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
250 |
>=dev-python/webtest-2.0[${PYTHON_USEDEP}] |
251 |
dev-python/configobj[${PYTHON_USEDEP}] )" |
252 |
|
253 |
RDEPEND="dev-python/paste[${PYTHON_USEDEP}] |
254 |
>=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
255 |
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
256 |
>=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] |
257 |
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] |
258 |
virtual/python-argparse[${PYTHON_USEDEP}] |
259 |
>=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
260 |
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] |
261 |
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
262 |
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}] |
263 |
>=dev-python/requests-1.1[${PYTHON_USEDEP}] |
264 |
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
265 |
dev-python/jsonrpclib[${PYTHON_USEDEP}] |
266 |
dev-python/jinja[${PYTHON_USEDEP}] |
267 |
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] |
268 |
>=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}] |
269 |
>=dev-python/python-neutronclient-2.3.4[${PYTHON_USEDEP}] |
270 |
<=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}] |
271 |
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] |
272 |
<dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] ) |
273 |
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] |
274 |
<dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] ) |
275 |
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] |
276 |
<dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] ) |
277 |
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}] |
278 |
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] |
279 |
>=dev-python/alembic-0.4.1[${PYTHON_USEDEP}] |
280 |
>=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
281 |
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}] |
282 |
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
283 |
dev-python/oslo-rootwrap[${PYTHON_USEDEP}] |
284 |
>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] |
285 |
dev-python/pyudev[${PYTHON_USEDEP}] |
286 |
sys-apps/iproute2 |
287 |
openvswitch? ( net-misc/openvswitch ) |
288 |
dhcp? ( net-dns/dnsmasq[dhcp-tools] )" |
289 |
|
290 |
PATCHES=( "${FILESDIR}/sphinx_mapping.patch" |
291 |
"${FILESDIR}/nicira.patch" ) |
292 |
|
293 |
pkg_setup() { |
294 |
enewgroup neutron |
295 |
enewuser neutron -1 -1 /var/lib/neutron neutron |
296 |
} |
297 |
|
298 |
pkg_config() { |
299 |
fperms 0700 /var/log/neutron |
300 |
fowners neutron:neutron /var/log neutron |
301 |
} |
302 |
|
303 |
src_prepare() { |
304 |
#it's /bin/ip not /sbin/ip |
305 |
sed -i 's/sbin\/ip\,/bin\/ip\,/g' etc/neutron/rootwrap.d/* |
306 |
distutils-r1_src_prepare |
307 |
} |
308 |
|
309 |
python_compile_all() { |
310 |
use doc && make -C doc html |
311 |
} |
312 |
|
313 |
python_test() { |
314 |
# https://bugs.launchpad.net/neutron/+bug/1234857 |
315 |
# https://bugs.launchpad.net/swift/+bug/1249727 |
316 |
# https://bugs.launchpad.net/neutron/+bug/1251657 |
317 |
# turn multiprocessing off, testr will use it --parallel |
318 |
local DISTUTILS_NO_PARALLEL_BUILD=1 |
319 |
# Move tests out that attempt net connection, have failures |
320 |
mv $(find . -name test_ovs_tunnel.py) . || die |
321 |
sed -e 's:test_app_using_ipv6_and_ssl:_&:' \ |
322 |
-e 's:test_start_random_port_with_ipv6:_&:' \ |
323 |
-i neutron/tests/unit/test_wsgi.py || die |
324 |
testr init |
325 |
testr run --parallel || die "failed testsuite under python2.7" |
326 |
} |
327 |
|
328 |
python_install() { |
329 |
distutils-r1_python_install |
330 |
newconfd "${FILESDIR}/neutron-confd" "neutron" |
331 |
newinitd "${FILESDIR}/neutron-initd" "neutron" |
332 |
|
333 |
use server && dosym /etc/init.d/neutron /etc/init.d/neutron-server |
334 |
use dhcp && dosym /etc/init.d/neutron /etc/init.d/neutron-dhcp-agent |
335 |
use l3 && dosym /etc/init.d/neutron /etc/init.d/neutron-l3-agent |
336 |
use metadata && dosym /etc/init.d/neutron /etc/init.d/neutron-metadata-agent |
337 |
use openvswitch && dosym /etc/init.d/neutron /etc/init.d/neutron-openvswitch-agent |
338 |
|
339 |
diropts -m 750 |
340 |
dodir /var/log/neutron /var/log/neutron |
341 |
fowners neutron:neutron /var/log/neutron |
342 |
keepdir /etc/neutron |
343 |
insinto /etc/neutron |
344 |
|
345 |
doins "etc/api-paste.ini" |
346 |
doins "etc/dhcp_agent.ini" |
347 |
doins "etc/l3_agent.ini" |
348 |
doins "etc/policy.json" |
349 |
doins "etc/neutron.conf" |
350 |
doins "etc/rootwrap.conf" |
351 |
insinto /etc |
352 |
doins -r "etc/neutron/" |
353 |
|
354 |
#remove the etc stuff from usr... |
355 |
rm -R "${D}/usr/etc/" |
356 |
|
357 |
insinto "/usr/lib64/python2.7/site-packages/neutron/db/migration/alembic_migrations/" |
358 |
doins -r "neutron/db/migration/alembic_migrations/versions" |
359 |
|
360 |
#add sudoers definitions for user neutron |
361 |
insinto /etc/sudoers.d/ |
362 |
doins "${FILESDIR}/neutron-sudoers" |
363 |
} |
364 |
|
365 |
python_install_all() { |
366 |
use doc && local HTML_DOCS=( doc/build/html/. ) |
367 |
distutils-r1_python_install_all |
368 |
} |