1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{5,6} )
10 DESCRIPTION="A complete yet simple CSS parser for Python"
11 HOMEPAGE="https://github.com/Kozea/tinycss2/ https://pypi.python.org/pypi/tinycss2/"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
18 RESTRICT="!test? ( test )"
20 RDEPEND=">=dev-python/webencodings-0.4[${PYTHON_USEDEP}]"
22 >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
24 dev-python/pytest-cov[${PYTHON_USEDEP}]
25 dev-python/pytest-flake8[${PYTHON_USEDEP}]
26 dev-python/pytest-isort[${PYTHON_USEDEP}]
27 dev-python/pytest-runner[${PYTHON_USEDEP}]
28 dev-python/pytest[${PYTHON_USEDEP}]
35 py.test || die "testsuite failed under ${EPYTHON}"