summaryrefslogtreecommitdiff
blob: 11b26cc7326681157de81d932c1402bdcd574807 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

MY_PN=Spawning
MY_P=${MY_PN}-${PV}
DESCRIPTION="A flexible web server written in Python"
HOMEPAGE="http://pypi.python.org/pypi/Spawning"
SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-python/setuptools"
RDEPEND="dev-lang/python
	>=dev-python/eventlet-0.9
	dev-python/pastedeploy
	dev-python/simplejson"

S=${WORKDIR}/${MY_P}

src_install() {
	distutils_src_install

	doinitd rc-scripts/init.d/spawn || die "Install failed"
	doconfd rc-scripts/conf.d/spawn || die "Install failed"
}