summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2013-08-20 16:29:16 +0000
committerMatthew Thode <prometheanfire@gentoo.org>2013-08-20 16:29:16 +0000
commit1a050fb33ebfc700faa8b2b9de796c2ae8d3a284 (patch)
tree648666cab9496f5ae422775240ca6c82bc790f14 /sys-cluster/neutron/neutron-9999.ebuild
parentmove of python-quantumclient to python-neutronclient (diff)
downloadgentoo-2-1a050fb33ebfc700faa8b2b9de796c2ae8d3a284.tar.gz
gentoo-2-1a050fb33ebfc700faa8b2b9de796c2ae8d3a284.tar.bz2
gentoo-2-1a050fb33ebfc700faa8b2b9de796c2ae8d3a284.zip
moving quantum to neutron
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
Diffstat (limited to 'sys-cluster/neutron/neutron-9999.ebuild')
-rw-r--r--sys-cluster/neutron/neutron-9999.ebuild80
1 files changed, 80 insertions, 0 deletions
diff --git a/sys-cluster/neutron/neutron-9999.ebuild b/sys-cluster/neutron/neutron-9999.ebuild
new file mode 100644
index 000000000000..17de13725f7e
--- /dev/null
+++ b/sys-cluster/neutron/neutron-9999.ebuild
@@ -0,0 +1,80 @@
+# 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-9999.ebuild,v 1.1 2013/08/20 16:29:16 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="master"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/cliff[${PYTHON_USEDEP}]
+ dev-python/configobj[${PYTHON_USEDEP}] )
+ dev-python/coverage[${PYTHON_USEDEP}]
+ >=dev-python/mock-1.0[${PYTHON_USEDEP}]
+ =dev-python/mox-0.5.3-r1[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/nosehtmloutput[${PYTHON_USEDEP}]
+ dev-python/nosexcover
+ dev-python/openstack-nose-plugin[${PYTHON_USEDEP}]
+ =dev-python/pep8-1.3.3
+ >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
+ =dev-python/webtest-1.3.3
+ virtual/python-unittest2[${PYTHON_USEDEP}]"
+RDEPEND=">=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}]
+ >=dev-python/alembic-0.4.1[${PYTHON_USEDEP}]
+ dev-python/paste[${PYTHON_USEDEP}]
+ >=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
+ >=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}]
+ >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}]
+ >=dev-python/eventlet-0.9.17[${PYTHON_USEDEP}]
+ >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}]
+ dev-python/httplib2[${PYTHON_USEDEP}]
+ >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
+ >=dev-python/kombu-1.0.4-r1[${PYTHON_USEDEP}]
+ dev-python/netaddr
+ =dev-python/pyparsing-1.5.7[${PYTHON_USEDEP}]
+ >=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}]
+ dev-python/python-novaclient[${PYTHON_USEDEP}]
+ >=dev-python/python-neutronclient-2.2.0[${PYTHON_USEDEP}]
+ <=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}]
+ dev-python/pyudev
+ >dev-python/sqlalchemy-0.7.8
+ <=dev-python/sqlalchemy-0.7.99
+ >=dev-python/webob-1.2[${PYTHON_USEDEP}]
+ >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}]
+ virtual/python-argparse[${PYTHON_USEDEP}]
+ net-misc/openvswitch"
+
+python_install() {
+ distutils-r1_python_install
+ keepdir /etc/neutron
+ insinto /etc/neutron
+
+ doins "etc/api-paste.ini"
+ doins "etc/dhcp_agent.ini"
+ doins "etc/l3_agent.ini"
+ doins "etc/policy.json"
+ doins "etc/neutron.conf"
+ doins "etc/rootwrap.conf"
+ insinto /etc
+ doins -r "etc/neutron/"
+
+ #remove the etc stuff from usr...
+ rm -R "${D}/usr/etc/"
+
+ insinto "/usr/lib64/python2.7/site-packages/neutron/db/migration/alembic_migrations/"
+ doins -r "neutron/db/migration/alembic_migrations/versions"
+}