commit:     512b785537d28c8e7e6b163260901f07c731b304
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:53:25 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:59:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=512b7855

dev-python/prometheus-client: Bump to 0.22.1

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

 dev-python/prometheus-client/Manifest              |  1 +
 .../prometheus-client-0.22.1.ebuild                | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/prometheus-client/Manifest 
b/dev-python/prometheus-client/Manifest
index 996530364458..d69ae386046c 100644
--- a/dev-python/prometheus-client/Manifest
+++ b/dev-python/prometheus-client/Manifest
@@ -1,2 +1,3 @@
+DIST client_python-0.22.1.gh.tar.gz 4648230 BLAKE2B 
3b6df3195c73f1541266d6050bb5b8208966afddd31763f0110007c8568a5307d7a3971d3f20271f2ff6dab652a6e0d6bb52dcaad2b293b1aa2cdc23792e5d05
 SHA512 
875bb70478e5a01a209c656692298735df21aed18861bd269b40fc70aac1e99843a95a39dc2a8999b0684d15c754d77bd913b409a275ccc2c4007f9128643ed2
 DIST prometheus_client-0.21.1.tar.gz 78551 BLAKE2B 
309b32e8fd52576190c6010c52a1ec9c7cec5ce7a617285acb424dacf3cbc9a7cc4681b4fce1c291626d603ac9708c7e05d5562d2bd82c95558609b6477b2f4e
 SHA512 
e62302e46d1dddd38463e02ed1d79448084cb76e0b2301c3af5ca4312646c450472a3bf42e4fda440d580635e8eec611948ae4a99b16961672ec3a34ce4a3df9
 DIST prometheus_client-0.22.0.tar.gz 74443 BLAKE2B 
e21e827c0fd85e13d1cae9d1a24b96e4dd42bda61b783d1eccc456bb55657ba4da893adfb22edb887487eba53e538c77b119915dc65b23ab6d24b20e88572ee1
 SHA512 
d332771f3381e55a8fd76a1e4ab71cf539568f6963a703249bc9e544132c05ccaca5b6fbe8a07bb661133bc0831a589eac81e288c0c29ec287997ea3a201437f

diff --git a/dev-python/prometheus-client/prometheus-client-0.22.1.ebuild 
b/dev-python/prometheus-client/prometheus-client-0.22.1.ebuild
new file mode 100644
index 000000000000..293b646737af
--- /dev/null
+++ b/dev-python/prometheus-client/prometheus-client-0.22.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+inherit distutils-r1
+
+MY_P=client_python-${PV}
+DESCRIPTION="Python client for the Prometheus monitoring system"
+HOMEPAGE="
+       https://github.com/prometheus/client_python/
+       https://pypi.org/project/prometheus-client/
+"
+# missing test data in sdist
+# https://github.com/prometheus/client_python/issues/1112
+SRC_URI="
+       https://github.com/prometheus/client_python/archive/v${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+       dev-python/twisted[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_IGNORE=(
+               # optional tests, broken with >=dev-python/asgiref-3.8
+               tests/test_asgi.py
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to