Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/opentracing_instrumentation/, ...
Date: Fri, 08 Oct 2021 19:05:17
Message-Id: 1633602664.73ba83c977ea94d7ed8884554c8391674a424192.arthurzam@gentoo
1 commit: 73ba83c977ea94d7ed8884554c8391674a424192
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Oct 7 10:31:04 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 7 10:31:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=73ba83c9
7
8 dev-python/opentracing_instrumentation: no coverage
9
10 Closes: https://bugs.gentoo.org/816606
11 Package-Manager: Portage-3.0.28, Repoman-3.0.3
12 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
13
14 .../files/opentracing_instrumentation-3.3.1-no-coverage.patch | 11 +++++++++++
15 .../opentracing_instrumentation-3.3.1.ebuild | 4 +++-
16 2 files changed, 14 insertions(+), 1 deletion(-)
17
18 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
19 new file mode 100644
20 index 000000000..f03613479
21 --- /dev/null
22 +++ b/dev-python/opentracing_instrumentation/files/opentracing_instrumentation-3.3.1-no-coverage.patch
23 @@ -0,0 +1,11 @@
24 +--- a/setup.cfg
25 ++++ b/setup.cfg
26 +@@ -14,7 +14,7 @@
27 + tests/*
28 +
29 + [tool:pytest]
30 +-addopts = --cov=opentracing_instrumentation --cov-append -rs
31 ++addopts = -rs
32 +
33 + [egg_info]
34 + tag_build =
35
36 diff --git a/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild b/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild
37 index fd2cea573..e6067d86b 100644
38 --- a/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild
39 +++ b/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild
40 @@ -1,7 +1,7 @@
41 # Copyright 1999-2021 Gentoo Authors
42 # Distributed under the terms of the GNU General Public License v2
43
44 -EAPI="8"
45 +EAPI=8
46
47 PYTHON_COMPAT=( python3_8 )
48
49 @@ -44,4 +44,6 @@ DEPEND="
50 )
51 "
52
53 +PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
54 +
55 distutils_enable_tests pytest