1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 python3_6)
9 DESCRIPTION="A featureful, correct URL for Python"
10 HOMEPAGE="https://github.com/python-hyper/hyperlink https://pypi.org/project/hyperlink/"
11 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
17 RESTRICT="!test? ( test )"
21 dev-python/setuptools[${PYTHON_USEDEP}]
23 >=dev-python/pytest-2.9.2[${PYTHON_USEDEP}]
24 >=dev-python/pytest-cov-2.3.0[${PYTHON_USEDEP}]
29 PYTHONPATH="${S}/test:${BUILD_DIR}/lib" \