From 28165b4163bceb5149e295e903b0e272029f44a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 19 Sep 2025 04:35:59 +0200 Subject: [PATCH] dev-python/prometheus-client: Bump to 0.23.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/prometheus-client/Manifest | 1 + .../prometheus-client-0.23.1.ebuild | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-python/prometheus-client/prometheus-client-0.23.1.ebuild diff --git a/dev-python/prometheus-client/Manifest b/dev-python/prometheus-client/Manifest index c39b61cd21f9..c2dfd0bb603e 100644 --- a/dev-python/prometheus-client/Manifest +++ b/dev-python/prometheus-client/Manifest @@ -1,2 +1,3 @@ DIST client_python-0.22.1.gh.tar.gz 4648230 BLAKE2B 3b6df3195c73f1541266d6050bb5b8208966afddd31763f0110007c8568a5307d7a3971d3f20271f2ff6dab652a6e0d6bb52dcaad2b293b1aa2cdc23792e5d05 SHA512 875bb70478e5a01a209c656692298735df21aed18861bd269b40fc70aac1e99843a95a39dc2a8999b0684d15c754d77bd913b409a275ccc2c4007f9128643ed2 DIST client_python-0.23.0.gh.tar.gz 4654437 BLAKE2B 2e0fd4c93e95d330059efcdc72c525808915970a425e687a190a602174b4a7fe0eed1f425583acd14cd749459c7ca72efa0cef5f385009e4030bed47e2a9ccd7 SHA512 14eb53b3c29b6d38de642f6b6187af34a2d7a271fc34b2a0d62f25e02551d02cefc1096f2a7bf7e4b8d9f7d4679fc48fde47df35aeb501798cbfeda8abe1c073 +DIST client_python-0.23.1.gh.tar.gz 4654078 BLAKE2B 1345dd59445b4b20fd86c60f07cbb1f2f3c7c792f02994c197de79d91ea0fd8964c77f9f1a5a10c3d262ce6436ad70e3baa004115a960fa7730ea35e530ab81e SHA512 475fa17b7f97c57ca0f062b6c5790245987ade455e02f090282273460002b38ca3327357d59b25d522e43436af7656e7b1806125d2bb5c382d3a29422561b7b0 diff --git a/dev-python/prometheus-client/prometheus-client-0.23.1.ebuild b/dev-python/prometheus-client/prometheus-client-0.23.1.ebuild new file mode 100644 index 000000000000..1a961e101beb --- /dev/null +++ b/dev-python/prometheus-client/prometheus-client-0.23.1.ebuild @@ -0,0 +1,38 @@ +# 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 + +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 +)