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@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-10-21 00:05:45 +02:00
parent 08e554d41b
commit 52f2c8d4d4
2 changed files with 5 additions and 6 deletions

View File

@@ -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 =

View File

@@ -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"