1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7} )
9 DESCRIPTION="take TDD to a new level with py.test and testmon"
10 HOMEPAGE="https://github.com/tarpas/pytest-testmon"
11 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
17 RESTRICT="!test? ( test )"
19 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
20 dev-python/coverage[${PYTHON_USEDEP}]"
22 dev-python/setuptools[${PYTHON_USEDEP}]"
25 distutils_install_for_testing
26 py.test -v || die "Tests fail with ${EPYTHON}"