summaryrefslogtreecommitdiff
path: root/dev-python/prometheus-client
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/prometheus-client
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/prometheus-client')
-rw-r--r--dev-python/prometheus-client/Manifest1
-rw-r--r--dev-python/prometheus-client/metadata.xml13
-rw-r--r--dev-python/prometheus-client/prometheus-client-0.25.0.ebuild43
3 files changed, 57 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..705228750c76
--- /dev/null
+++ b/dev-python/prometheus-client/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">prometheus/client_python</remote-id>
+ <remote-id type="pypi">prometheus-client</remote-id>
+ </upstream>
+</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
+)