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.25.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/prometheus-client/Manifest b/dev-python/prometheus-client/Manifest
index 75a63cf4d6ed..aa193ca315e5 100644
--- a/dev-python/prometheus-client/Manifest
+++ b/dev-python/prometheus-client/Manifest
@@ -1 +1,2 @@
DIST client_python-0.24.1.gh.tar.gz 4660308 BLAKE2B f0e41480b6e37f9cdbf95cd219b757196eaa38cd368130c88944ba1da8cd29df9a4a5437da8a4ddd1982afaf82fede7c237bac9bdb55f87a37427d0cdaf10618 SHA512 5188472d93fe0e2a2ba36431d08dfd3af42dee5f39c32d600f8de4728ba8d9396ca4f3a35fc7370b4f23f9ba733d2c81db9464c9b8e6ce515523470edc8b8001
+DIST client_python-0.25.0.gh.tar.gz 4665091 BLAKE2B bf02b18d6be594c7c755e1ed839a456ed2f1b002686cfc602aff8fb37beb71c34b317d8ae4a654cc3bd9a26b2c2b3efbbc44eaf563140f885866304aabb961ff SHA512 58658326c58544c3bfafec6d5209c49baea9d3dc43d6bfae6c630dac73d91d7cace9a8740c1a18c65505a7dc5ac84b0feffa93babcd9ca68007ecf3cefb09bad
diff --git a/dev-python/prometheus-client/prometheus-client-0.25.0.ebuild b/dev-python/prometheus-client/prometheus-client-0.25.0.ebuild
new file mode 100644
index 000000000000..655bdf29649c
--- /dev/null
+++ b/dev-python/prometheus-client/prometheus-client-0.25.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..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}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ tests/test_parser.py::test_benchmark_text_string_to_metric_families
+)
+
+EPYTEST_IGNORE=(
+ # Optional testdep on dev-python/asgiref
+ tests/test_asgi.py
+)