summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-08-15 23:28:56 +0100
committerMarek Szuba <marecki@gentoo.org>2021-08-16 12:45:49 +0100
commitad24f93246ed63d6c7e9038bbd69a2a766a844ca (patch)
treec1de9f4ec7e7ecdc886ef9492be6f42605bdd5b6 /dev-python/scikit-build
parentdev-python/distro: keyword 1.6.0 for ~riscv (diff)
downloadgentoo-ad24f93246ed63d6c7e9038bbd69a2a766a844ca.tar.gz
gentoo-ad24f93246ed63d6c7e9038bbd69a2a766a844ca.tar.bz2
gentoo-ad24f93246ed63d6c7e9038bbd69a2a766a844ca.zip
dev-python/scikit-build: strip coverage-related pytest options
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-python/scikit-build')
-rw-r--r--dev-python/scikit-build/files/scikit-build-0.12.0-tests-no-coverage.patch11
-rw-r--r--dev-python/scikit-build/scikit-build-0.12.0.ebuild4
2 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/scikit-build/files/scikit-build-0.12.0-tests-no-coverage.patch b/dev-python/scikit-build/files/scikit-build-0.12.0-tests-no-coverage.patch
new file mode 100644
index 000000000000..993258961f35
--- /dev/null
+++ b/dev-python/scikit-build/files/scikit-build-0.12.0-tests-no-coverage.patch
@@ -0,0 +1,11 @@
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -10,7 +10,7 @@
+
+ [tool:pytest]
+ testpaths = tests
+-addopts = -v --cov --cov-report xml -ra --strict-markers --showlocals --color=yes
++addopts = -v -ra --strict-markers --showlocals --color=yes
+ markers =
+ fortran: fortran testing
+
diff --git a/dev-python/scikit-build/scikit-build-0.12.0.ebuild b/dev-python/scikit-build/scikit-build-0.12.0.ebuild
index 18279621e56a..660e2c169488 100644
--- a/dev-python/scikit-build/scikit-build-0.12.0.ebuild
+++ b/dev-python/scikit-build/scikit-build-0.12.0.ebuild
@@ -30,6 +30,10 @@ DEPEND="
dev-python/virtualenv[${PYTHON_USEDEP}]
)"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.12.0-tests-no-coverage.patch
+)
+
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme \
dev-python/sphinx-issues