diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2013-10-23 03:39:07 +0000 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2013-10-23 03:39:07 +0000 |
commit | 0025f466695cf403925445074295c72961645bbf (patch) | |
tree | 450ef0f0b5e5dcb2f5d803c7b71d498687a61120 /sys-cluster/neutron | |
parent | update to distutils-r1 (diff) | |
download | gentoo-2-0025f466695cf403925445074295c72961645bbf.tar.gz gentoo-2-0025f466695cf403925445074295c72961645bbf.tar.bz2 gentoo-2-0025f466695cf403925445074295c72961645bbf.zip |
update of neutron to havana
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
Diffstat (limited to 'sys-cluster/neutron')
-rw-r--r-- | sys-cluster/neutron/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/neutron/neutron-2013.2.9999.ebuild | 124 |
2 files changed, 131 insertions, 1 deletions
diff --git a/sys-cluster/neutron/ChangeLog b/sys-cluster/neutron/ChangeLog index d2d3c07d4a0c..f76f58907d40 100644 --- a/sys-cluster/neutron/ChangeLog +++ b/sys-cluster/neutron/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/neutron # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/ChangeLog,v 1.11 2013/09/27 00:41:28 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/ChangeLog,v 1.12 2013/10/23 03:39:07 prometheanfire Exp $ + +*neutron-2013.2.9999 (23 Oct 2013) + + 23 Oct 2013; Matthew Thode <prometheanfire@gentoo.org> + +neutron-2013.2.9999.ebuild: + update of neutron to havana *neutron-2013.1.3-r6 (27 Sep 2013) *neutron-2012.2.4-r7 (27 Sep 2013) diff --git a/sys-cluster/neutron/neutron-2013.2.9999.ebuild b/sys-cluster/neutron/neutron-2013.2.9999.ebuild new file mode 100644 index 000000000000..13f7704feceb --- /dev/null +++ b/sys-cluster/neutron/neutron-2013.2.9999.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/neutron-2013.2.9999.ebuild,v 1.1 2013/10/23 03:39:07 prometheanfire Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 git-2 + +#restricted due to packages missing and bad depends in the test ==webob-1.0.8 +RESTRICT="test" +DESCRIPTION="Quantum is a virtual network service for Openstack." +HOMEPAGE="https://launchpad.net/neutron" +EGIT_REPO_URI="https://github.com/openstack/neutron.git" +EGIT_BRANCH="stable/havana" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="" +IUSE="+dhcp +l3 +metadata +openvswitch +server test sqlite mysql postgres" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +#the cliff dep is as below because it depends on pyparsing, which only has 2.7 OR 3.2, not both +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/pbr-0.5.21[${PYTHON_USEDEP}] + <dev-python/pbr-1.0[${PYTHON_USEDEP}] + app-admin/sudo + test? ( >=dev-python/cliff-1.4.3[${PYTHON_USEDEP}] + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/mox-0.5.3[${PYTHON_USEDEP}] + dev-python/subunit[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.17[${PYTHON_USEDEP}] + >=dev-python/testtools-0.9.32[${PYTHON_USEDEP}] + >=dev-python/webtest-2.0[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/paste[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] + >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] + >=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] + >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] + virtual/python-argparse[${PYTHON_USEDEP}] + >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] + dev-python/httplib2[${PYTHON_USEDEP}] + >=dev-python/requests-1.1[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] + dev-python/jsonrpclib[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] + >=dev-python/python-neutronclient-2.3.0[${PYTHON_USEDEP}] + <=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}] + sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] + <dev-python/sqlalchemy-0.7.99[sqlite,${PYTHON_USEDEP}] ) + mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] + <dev-python/sqlalchemy-0.7.99[mysql,${PYTHON_USEDEP}] ) + postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] + <dev-python/sqlalchemy-0.7.99[postgres,${PYTHON_USEDEP}] ) + >=dev-python/webob-1.2.3[${PYTHON_USEDEP}] + <dev-python/webob-1.3[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-0.3.2[${PYTHON_USEDEP}] + >=dev-python/alembic-0.4.1[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/stevedore-0.10[${PYTHON_USEDEP}] + >=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] + >=dev-python/python-novaclient-2.15.0[${PYTHON_USEDEP}] + dev-python/pyudev[${PYTHON_USEDEP}] + net-misc/bridge-utils + net-misc/openvswitch + dhcp? ( net-dns/dnsmasq[dhcp-tools] )" + +pkg_setup() { + enewgroup neutron + enewuser neutron -1 -1 /var/lib/neutron neutron +} + +python_install() { + distutils-r1_python_install + newconfd "${FILESDIR}/neutron-confd" "quantum" + newinitd "${FILESDIR}/neutron-initd" "quantum" + + use server && dosym /etc/init.d/quantum /etc/init.d/quantum-server + use dhcp && dosym /etc/init.d/quantum /etc/init.d/quantum-dhcp-agent + use l3 && dosym /etc/init.d/quantum /etc/init.d/quantum-l3-agent + use metadata && dosym /etc/init.d/quantum /etc/init.d/quantum-metadata-agent + use openvswitch && dosym /etc/init.d/quantum /etc/init.d/quantum-openvswitch-agent + + diropts -m 750 + dodir /var/log/neutron /var/log/quantum + fowners neutron:neutron /var/log/neutron + keepdir /etc/quantum + insinto /etc/quantum + + #it's /bin/ip not /sbin/ip + sed -i 's/sbin\/ip\,/bin\/ip\,/g' "etc/quantum/rootwrap.d/*" + + doins "etc/api-paste.ini" + doins "etc/dhcp_agent.ini" + doins "etc/l3_agent.ini" + doins "etc/policy.json" + doins "etc/quantum.conf" + doins "etc/rootwrap.conf" + insinto /etc + doins -r "etc/quantum/" + + #remove the etc stuff from usr... + rm -R "${D}/usr/etc/" + + insinto "/usr/lib64/python2.7/site-packages/quantum/db/migration/alembic_migrations/" + doins -r "quantum/db/migration/alembic_migrations/versions" + + #add sudoers definitions for user neutron + insinto /etc/sudoers.d/ + doins "${FILESDIR}/neutron-sudoers" +} + +pkg_config() { + fperms 0700 /var/log/neutron + fowners neutron:neutron /var/log neutron +} |