diff --git a/dev-python/prometheus-client/Manifest b/dev-python/prometheus-client/Manifest index 461b9b4c59010..9965303644583 100644 --- a/dev-python/prometheus-client/Manifest +++ b/dev-python/prometheus-client/Manifest @@ -1 +1,2 @@ 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.0.ebuild b/dev-python/prometheus-client/prometheus-client-0.22.0.ebuild new file mode 100644 index 0000000000000..58325f2d4e5df --- /dev/null +++ b/dev-python/prometheus-client/prometheus-client-0.22.0.ebuild @@ -0,0 +1,35 @@ +# 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 pypi + +DESCRIPTION="Python client for the Prometheus monitoring system" +HOMEPAGE=" + https://github.com/prometheus/client_python/ + https://pypi.org/project/prometheus-client/ +" + +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 +}