1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 # API of python.eclass in EAPI > 3 not established (see python.eclass)'
8 # HACK: PYTHON_DEPEND and RESTRICT_PYTHON_ABIS currently hardcoded.
10 SUPPORT_PYTHON_ABIS="1"
11 RESTRICT_PYTHON_ABIS="3.*"
17 DESCRIPTION="Command-line tool querying PyPI and Python packages installed on your system."
18 HOMEPAGE="http://tools.assembla.com/yolk/"
19 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
21 KEYWORDS="~amd64 ~x64-macos ~x86"
23 IUSE="test doc examples"
24 DEPEND="dev-python/setuptools
25 test? ( dev-python/nose )"
26 RDEPEND="dev-python/setuptools
27 dev-python/yolk-portage"
35 insinto /usr/share/doc/"${PF}"/examples
36 doins -r "${S}"/examples/*
41 PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed"