public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/opentracing_instrumentation/, ...
@ 2021-10-20 22:30 Alessandro Barbieri
  0 siblings, 0 replies; only message in thread
From: Alessandro Barbieri @ 2021-10-20 22:30 UTC (permalink / raw
  To: gentoo-commits

commit:     52f2c8d4d41f1325e7043fd7dc7e1b2d3171f69b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Oct 20 22:05:45 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Oct 20 22:30:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52f2c8d4

dev-python/opentracing_instrumentation: fix S and patch

Closes: https://bugs.gentoo.org/819015
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      | 7 ++-----
 .../opentracing_instrumentation-3.3.1.ebuild                       | 4 +++-
 2 files changed, 5 insertions(+), 6 deletions(-)

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
index f03613479..cfb6d9ea8 100644
--- 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
@@ -1,11 +1,8 @@
 --- a/setup.cfg
 +++ b/setup.cfg
-@@ -14,7 +14,7 @@
- 	tests/*
+@@ -15,4 +15,4 @@
+     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 21bc67d6f..682d5e2ea 100644
--- a/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild
+++ b/dev-python/opentracing_instrumentation/opentracing_instrumentation-3.3.1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+MYPN="${PN/_/-python-}"
 PYTHON_COMPAT=( python3_8 )
 
 inherit distutils-r1
@@ -11,7 +12,8 @@ DESCRIPTION="A collection of Python instrumentation tools for the OpenTracing AP
 HOMEPAGE="
 	https://github.com/uber-common/opentracing-python-instrumentation
 "
-SRC_URI="https://github.com/uber-common/opentracing-python-instrumentation/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/uber-common/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MYPN}-${PV}"
 
 SLOT="0"
 LICENSE="MIT"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-20 22:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-20 22:30 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/opentracing_instrumentation/, Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox