summaryrefslogtreecommitdiff
path: root/dev-python/pylons/pylons-1.0.1-r1.ebuild
blob: 630e9e1c4e099aedd3bc4b519715be3622595415 (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
52
53
54
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

MY_PN="Pylons"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Pylons Web Framework"
HOMEPAGE="http://pylonshq.com/ http://pypi.python.org/pypi/Pylons"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="genshi jinja test"

RDEPEND=">=dev-python/beaker-1.3[${PYTHON_USEDEP}]
	>=dev-python/decorator-2.3.2[${PYTHON_USEDEP}]
	>=dev-python/formencode-1.2.1[${PYTHON_USEDEP}]
	>=dev-python/mako-0.2.4[${PYTHON_USEDEP}]
	>=dev-python/nose-0.10.4[${PYTHON_USEDEP}]
	>=dev-python/paste-1.7.2[${PYTHON_USEDEP}]
	>=dev-python/pastedeploy-1.3.3[${PYTHON_USEDEP}]
	>=dev-python/pastescript-1.7.3[${PYTHON_USEDEP}]
	>=dev-python/repoze-lru-0.3[${PYTHON_USEDEP}]
	>=dev-python/routes-1.12[${PYTHON_USEDEP}]
	>=dev-python/simplejson-2.0.8[${PYTHON_USEDEP}]
	>=dev-python/tempita-0.2[${PYTHON_USEDEP}]
	>=dev-python/weberror-0.10.1[${PYTHON_USEDEP}]
	>=dev-python/webhelpers-0.6.4[${PYTHON_USEDEP}]
	>=dev-python/webob-0.9.6.1[${PYTHON_USEDEP}]
	>=dev-python/webtest-1.1[${PYTHON_USEDEP}]
	genshi? ( >=dev-python/genshi-0.4.4[${PYTHON_USEDEP}] )
	jinja? ( >=dev-python/jinja-2[${PYTHON_USEDEP}] )"
# Dependency on >=dev-python/coverage-2.85 and dev-python/genshi is not with Jython.
DEPEND="${RDEPEND}
	dev-python/setuptools[${PYTHON_USEDEP}]
	test? (
		>=dev-python/coverage-2.85[${PYTHON_USEDEP}]
		dev-python/genshi[${PYTHON_USEDEP}]
		>=dev-python/jinja-2.2.1[${PYTHON_USEDEP}]
	)"

S="${WORKDIR}/${MY_P}"

python_test() {
	nosetests || die "Tests fail with ${EPYTHON}"
}