mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
dev-python/pytest-randomly: install before testing
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -18,7 +18,8 @@ SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
RDEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/factory_boy[${PYTHON_USEDEP}]
|
||||
@@ -43,4 +44,7 @@ DEPEND="
|
||||
# $(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)
|
||||
# dev-python/multilint[${PYTHON_USEDEP}]
|
||||
|
||||
distutils_enable_tests pytest
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
pytest -vv || die "Testsuite failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user