Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/opentracing_instrumentation/, ...
Date: Wed, 20 Oct 2021 22:30:42
Message-Id: 1634769036.52f2c8d4d41f1325e7043fd7dc7e1b2d3171f69b.Alessandro-Barbieri@gentoo
1 commit: 52f2c8d4d41f1325e7043fd7dc7e1b2d3171f69b
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Wed Oct 20 22:05:45 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Wed Oct 20 22:30:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52f2c8d4
7
8 dev-python/opentracing_instrumentation: fix S and patch
9
10 Closes: https://bugs.gentoo.org/819015
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 | 7 ++-----
15 .../opentracing_instrumentation-3.3.1.ebuild | 4 +++-
16 2 files changed, 5 insertions(+), 6 deletions(-)
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 index f03613479..cfb6d9ea8 100644
20 --- a/dev-python/opentracing_instrumentation/files/opentracing_instrumentation-3.3.1-no-coverage.patch
21 +++ b/dev-python/opentracing_instrumentation/files/opentracing_instrumentation-3.3.1-no-coverage.patch
22 @@ -1,11 +1,8 @@
23 --- a/setup.cfg
24 +++ b/setup.cfg
25 -@@ -14,7 +14,7 @@
26 - tests/*
27 +@@ -15,4 +15,4 @@
28 + tests/*
29
30 [tool:pytest]
31 -addopts = --cov=opentracing_instrumentation --cov-append -rs
32 +addopts = -rs
33 -
34 - [egg_info]
35 - tag_build =
36
37 diff --git a/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild b/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild
38 index 21bc67d6f..682d5e2ea 100644
39 --- a/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild
40 +++ b/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild
41 @@ -3,6 +3,7 @@
42
43 EAPI=8
44
45 +MYPN="${PN/_/-python-}"
46 PYTHON_COMPAT=( python3_8 )
47
48 inherit distutils-r1
49 @@ -11,7 +12,8 @@ DESCRIPTION="A collection of Python instrumentation tools for the OpenTracing AP
50 HOMEPAGE="
51 https://github.com/uber-common/opentracing-python-instrumentation
52 "
53 -SRC_URI="https://github.com/uber-common/opentracing-python-instrumentation/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
54 +SRC_URI="https://github.com/uber-common/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
55 +S="${WORKDIR}/${MYPN}-${PV}"
56
57 SLOT="0"
58 LICENSE="MIT"