blob: 2c234235e67c2e8d72cf415c0b6103ac37cc2a45 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit distutils
DESCRIPTION="Lightweight in-process concurrent programming"
HOMEPAGE="http://undefined.org/python/#greenlet"
SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="dev-python/setuptools
test? ( dev-python/nose )"
RDEPEND="dev-lang/python"
src_prepare() {
epatch "${FILESDIR}/fix_setuptools.patch"
}
src_test() {
${python} setup.py test || die "Tests failed"
}
|