summaryrefslogtreecommitdiff
blob: 00949fa5a3c145bbd59816a324fc841066f1a1de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

PYTHON_DEPEND="2"

inherit git-2 distutils eutils

DESCRIPTION="Quantum is an incubated OpenStack project to provide 'network
connectivity as a service' between interface devices (e.g., vNICs) managed by
other Openstack services (e.g., nova). "
HOMEPAGE="http://wiki.openstack.org/Quantum"
EGIT_REPO_URI="https://github.com/openstack/quantum.git"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="dev-python/setuptools
		dev-python/pep8
		dev-python/nosexcover
		dev-python/eventlet
		dev-python/routes
		dev-python/paste
		dev-python/pastedeploy
		dev-python/python-gflags
		dev-python/simplejson
		dev-python/sqlalchemy
		dev-python/webob
		dev-python/webtest
		dev-python/pip"
RDEPEND="${DEPEND}"

src_prepare() {
	epatch "${FILESDIR}/server-setup-disable-initd-install.patch"
}

src_install() {
	distutils_src_install

	newconfd "${FILESDIR}/quantum-server.confd" quantum-server
	newinitd "${FILESDIR}/quantum-server.initd" quantum-server

	diropts -m 0750
	dodir /var/run/quantum /var/log/quantum

	dodoc README
}