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/metadata.xml10
-rw-r--r--dev-python/prometheus-client/prometheus-client-0.25.0.ebuild43
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/prometheus-client/Manifest b/dev-python/prometheus-client/Manifest
new file mode 100644
index 000000000000..2871424a800b
--- /dev/null
+++ b/dev-python/prometheus-client/Manifest
@@ -0,0 +1 @@
+DIST client_python-0.25.0.gh.tar.gz 4665091 BLAKE2B bf02b18d6be594c7c755e1ed839a456ed2f1b002686cfc602aff8fb37beb71c34b317d8ae4a654cc3bd9a26b2c2b3efbbc44eaf563140f885866304aabb961ff SHA512 58658326c58544c3bfafec6d5209c49baea9d3dc43d6bfae6c630dac73d91d7cace9a8740c1a18c65505a7dc5ac84b0feffa93babcd9ca68007ecf3cefb09bad
diff --git a/dev-python/prometheus-client/metadata.xml b/dev-python/prometheus-client/metadata.xml
new file mode 100644
index 000000000000..5e95859f915a
--- /dev/null
+++ b/dev-python/prometheus-client/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
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..1c49c0f3c78d
--- /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_{13..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
+)