commit:     1904aa67a1fae247b6622b858b883ce29babe7e2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  4 07:33:14 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec  4 07:33:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1904aa67

dev-python/prometheus-client: Bump to 0.21.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/prometheus-client/Manifest              |  1 +
 .../prometheus-client-0.21.1.ebuild                | 35 ++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-python/prometheus-client/Manifest 
b/dev-python/prometheus-client/Manifest
index cfe71f9123a2..80560cb263dc 100644
--- a/dev-python/prometheus-client/Manifest
+++ b/dev-python/prometheus-client/Manifest
@@ -1 +1,2 @@
 DIST prometheus_client-0.21.0.tar.gz 78634 BLAKE2B 
878c6b3948ebb45fced9ceb24ef5ebb07b2538117712dc2b0a6365282fa1bd0e732f5c79bf496aa54386cc42ced458202b1537c6706e3906a6c48d71a3709437
 SHA512 
ad86e7d7eb1919bda77c5fe80e800721c6d93f8b849955903ec346c2c6d35130f7e179b470c261aba3d8aa2f2cb10c43dcc5e8c06024dcd79fac5818b87f76c5
+DIST prometheus_client-0.21.1.tar.gz 78551 BLAKE2B 
309b32e8fd52576190c6010c52a1ec9c7cec5ce7a617285acb424dacf3cbc9a7cc4681b4fce1c291626d603ac9708c7e05d5562d2bd82c95558609b6477b2f4e
 SHA512 
e62302e46d1dddd38463e02ed1d79448084cb76e0b2301c3af5ca4312646c450472a3bf42e4fda440d580635e8eec611948ae4a99b16961672ec3a34ce4a3df9

diff --git a/dev-python/prometheus-client/prometheus-client-0.21.1.ebuild 
b/dev-python/prometheus-client/prometheus-client-0.21.1.ebuild
new file mode 100644
index 000000000000..7819cd833828
--- /dev/null
+++ b/dev-python/prometheus-client/prometheus-client-0.21.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+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
+}

Reply via email to