diff --git a/dev-python/opentracing_instrumentation/files/opentracing_instrumentation-3.3.1-no-coverage.patch b/dev-python/opentracing_instrumentation/files/opentracing_instrumentation-3.3.1-no-coverage.patch new file mode 100644 index 0000000000..f036134791 --- /dev/null +++ b/dev-python/opentracing_instrumentation/files/opentracing_instrumentation-3.3.1-no-coverage.patch @@ -0,0 +1,11 @@ +--- a/setup.cfg ++++ b/setup.cfg +@@ -14,7 +14,7 @@ + tests/* + + [tool:pytest] +-addopts = --cov=opentracing_instrumentation --cov-append -rs ++addopts = -rs + + [egg_info] + tag_build = diff --git a/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild b/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild index fd2cea5736..e6067d86b4 100644 --- a/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild +++ b/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="8" +EAPI=8 PYTHON_COMPAT=( python3_8 ) @@ -44,4 +44,6 @@ DEPEND=" ) " +PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" ) + distutils_enable_tests pytest