1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{5,6,7} )
9 DESCRIPTION="XML-like markup for producing colored terminal text"
10 HOMEPAGE="https://github.com/gvalkov/python-ansimarkup"
11 SRC_URI="https://github.com/gvalkov/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
17 RESTRICT="!test? ( test )"
20 dev-python/colorama[${PYTHON_USEDEP}]
23 dev-python/setuptools[${PYTHON_USEDEP}]
26 >=dev-python/pytest-3.0.3[${PYTHON_USEDEP}]
30 S="${WORKDIR}/python-${P}"
33 pytest -v || die "Tests failed with ${EPYTHON}"