dev-python/pytest-randomly: make repoman happy

repoman was complaing about the lines starting with spaces

also, tests don't seem to be working

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-05-19 13:13:13 +02:00
parent fb1ade9e0c
commit 238d11bdd6

View File

@@ -18,14 +18,17 @@ 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 )"
# many failures, both with pytest-5 and 4
RESTRICT="test"
RDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/factory_boy[${PYTHON_USEDEP}]
dev-python/faker[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7)
"
@@ -44,7 +47,9 @@ 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}"
distutils_install_for_testing
pytest -vv || die "Testsuite failed under ${EPYTHON}"
}