commit:     73ba83c977ea94d7ed8884554c8391674a424192
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Oct  7 10:31:04 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  7 10:31:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=73ba83c9

dev-python/opentracing_instrumentation: no coverage

Closes: https://bugs.gentoo.org/816606
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../files/opentracing_instrumentation-3.3.1-no-coverage.patch | 11 +++++++++++
 .../opentracing_instrumentation-3.3.1.ebuild                  |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)

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 000000000..f03613479
--- /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 fd2cea573..e6067d86b 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

Reply via email to