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 f036134791..cfb6d9ea8b 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 21bc67d6fc..682d5e2ea7 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"