summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-01-01 09:23:05 +0100
committerMichał Górny <mgorny@gentoo.org>2022-01-01 09:23:25 +0100
commitc87ae91060b7888de3577bed3e1ebaea0db21789 (patch)
tree1d1df9917cef3646de68f5db99465bf9fbd62f0b /dev-python/python-utils
parentgames-emulation/pcsx2: update live ebuild (diff)
downloadgentoo-c87ae91060b7888de3577bed3e1ebaea0db21789.tar.gz
gentoo-c87ae91060b7888de3577bed3e1ebaea0db21789.tar.bz2
gentoo-c87ae91060b7888de3577bed3e1ebaea0db21789.zip
dev-python/python-utils: Ignore docs when collecting tests
The docs directory does not contain any tests but it triggers import failures when doc dependencies are not installed. Closes: https://bugs.gentoo.org/830383 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-utils')
-rw-r--r--dev-python/python-utils/python-utils-2.7.0.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/python-utils/python-utils-2.7.0.ebuild b/dev-python/python-utils/python-utils-2.7.0.ebuild
index 151ae849531a..325baeedb039 100644
--- a/dev-python/python-utils/python-utils-2.7.0.ebuild
+++ b/dev-python/python-utils/python-utils-2.7.0.ebuild
@@ -18,6 +18,10 @@ RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
+EPYTEST_IGNORE=(
+ docs
+)
+
python_prepare_all() {
sed -i -e '/--cov/d' -e '/--flake8/d' pytest.ini || die
distutils-r1_python_prepare_all