summaryrefslogtreecommitdiff
path: root/dev-python/prometheus-client
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/prometheus-client')
-rw-r--r--dev-python/prometheus-client/Manifest1
-rw-r--r--dev-python/prometheus-client/prometheus-client-0.22.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/prometheus-client/Manifest b/dev-python/prometheus-client/Manifest
index 461b9b4c5901..996530364458 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 000000000000..f6ef907b0ca2
--- /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=( python3_{9,10,11,12,13} pypy3 )
+
+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
+}