1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="3.*"
11 PYTHON_MODNAME="g_pypi"
15 DESCRIPTION="Tool for creating Gentoo ebuilds for Python packages by querying PyPI (The Cheese Shop)"
16 HOMEPAGE="http://code.google.com/p/${PN}/"
17 SRC_URI="mirror://pypi/{$PN:0:1}/${PN}/${P}.tar.gz"
19 KEYWORDS="~amd64 ~x86"
22 DEPEND="dev-python/setuptools
23 test? ( dev-python/nose )"
24 RDEPEND="dev-python/pygments
28 app-portage/gentoolkit
40 PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed"