commit:     ca17796e9727e38704de926a6981f8caae4caf3f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 25 02:35:14 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 25 02:54:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca17796e

dev-python/prometheus_client: Switch to pypi sdist

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/prometheus_client/Manifest                        | 2 +-
 dev-python/prometheus_client/prometheus_client-0.16.0.ebuild | 7 +------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/dev-python/prometheus_client/Manifest 
b/dev-python/prometheus_client/Manifest
index e7fd71fbabf7..0117eb3715f8 100644
--- a/dev-python/prometheus_client/Manifest
+++ b/dev-python/prometheus_client/Manifest
@@ -1 +1 @@
-DIST prometheus_client-0.16.0.gh.tar.gz 82473 BLAKE2B 
bf285f52ce3de4c55f681871b814fe0be8dbdf61ed3031570983325e193a9b34cafbc8526f545801ac8711cc8331cf3b0c8f157394feb9ad827ac97872397341
 SHA512 
511936758026b6d6f48f52d27b1cb964a03668054d7a3c5c82c4fa20800be3812150fca74ab46dad11ca12f2c9ce1a6951a82ae2bacf91b3761f7bf7ce75e0d2
+DIST prometheus_client-0.16.0.tar.gz 117546 BLAKE2B 
6b4e6600b352f17620e432edd976c2d26ef71326018bd1fa81f6bf4842f1599b06b11036a3b71c641698ad3d1e2f4422812133b51a34ecc70ec0606e9ea2478c
 SHA512 
12d22963a22511872fbd170e112a743fac02ab1a569934eef5d97f53a292281ef3f589e852f245d083d8555c5cda51c6210fe48e1211431c8fe00b47d571eaf4

diff --git a/dev-python/prometheus_client/prometheus_client-0.16.0.ebuild 
b/dev-python/prometheus_client/prometheus_client-0.16.0.ebuild
index a644f25e8f12..d13ab19b83f7 100644
--- a/dev-python/prometheus_client/prometheus_client-0.16.0.ebuild
+++ b/dev-python/prometheus_client/prometheus_client-0.16.0.ebuild
@@ -6,18 +6,13 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Python client for the Prometheus monitoring system"
 HOMEPAGE="
        https://github.com/prometheus/client_python/
        https://pypi.org/project/prometheus-client/
 "
-SRC_URI="
-       https://github.com/prometheus/client_python/archive/v${PV}.tar.gz
-               -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/client_python-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="0"

Reply via email to