1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_{4,5} )
12 DESCRIPTION="A collection of helpful Python tools"
13 HOMEPAGE="https://pypi.python.org/pypi/pockets"
14 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
21 >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
22 dev-python/sphinx[${PYTHON_USEDEP}]
23 >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}]
24 >=dev-python/flake8-2.3.0[${PYTHON_USEDEP}]
25 test? ( >=dev-python/pytest-2.6.4[${PYTHON_USEDEP}]
26 dev-python/nose[${PYTHON_USEDEP}]
28 dev-python/setuptools[${PYTHON_USEDEP}]
32 epatch "${FILESDIR}/no_installed_tests.patch" || die
35 nosetests tests || die "tests failed with ${EPYTHON}"