commit: 54893fc95140c4a2b29c7b18d94dc0f8dfa92cd0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 19 02:17:32 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 19 03:03:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54893fc9
dev-python/django-prometheus: Bump to 2.4.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/django-prometheus/Manifest | 1 +
.../django-prometheus-2.4.0.ebuild | 31 ++++++++++++++++++++++
dev-python/django-prometheus/metadata.xml | 2 +-
3 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/dev-python/django-prometheus/Manifest
b/dev-python/django-prometheus/Manifest
index 11b5f94729b7..9c96579470e0 100644
--- a/dev-python/django-prometheus/Manifest
+++ b/dev-python/django-prometheus/Manifest
@@ -1 +1,2 @@
DIST django-prometheus-2.3.1.tar.gz 24718 BLAKE2B
a20f140736107e1c959fed33ff9a736cbc3266189598924e5d285c44a9fd1f16b7e41ba85829a2526cd49116523e1da3d1f96c9a1d73f84db18557cee3254982
SHA512
523cfa7023e1e8921c687bd010a4c6384e1e4142fb702887d1d0bd60194b5111e92e53fec07df89eaea07cd7aa806edef79ab303a67d866d18eacde257db3c03
+DIST django_prometheus-2.4.0.tar.gz 24393 BLAKE2B
5b37af7501332348aa1dd463939a741f0d820b31ab62f34276888fa4d9cc86296b1c6d57e8bd085333561049c19af42e5a56acacd62bdfaf5eeed1940825cca6
SHA512
21fc667045242d34ad8bde8378769f7a48e1ebd15b0de9140c512376f4a0e2b368cf81ab70fe107da2c687dae1dd44efa403a142298c2904c51902ae8a40f33c
diff --git a/dev-python/django-prometheus/django-prometheus-2.4.0.ebuild
b/dev-python/django-prometheus/django-prometheus-2.4.0.ebuild
new file mode 100644
index 000000000000..e1f3eab38b89
--- /dev/null
+++ b/dev-python/django-prometheus/django-prometheus-2.4.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Library to export Django metrics for Prometheus"
+HOMEPAGE="
+ https://github.com/django-commons/django-prometheus/
+ https://pypi.org/project/django-prometheus/
+"
+
+LICENSE="Apache-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+ dev-python/django[${PYTHON_USEDEP}]
+ >=dev-python/prometheus-client-0.7[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ sed -i "/pytest-runner/d" setup.py || die
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/django-prometheus/metadata.xml
b/dev-python/django-prometheus/metadata.xml
index 46f5d0924156..21d671cf1f82 100644
--- a/dev-python/django-prometheus/metadata.xml
+++ b/dev-python/django-prometheus/metadata.xml
@@ -8,6 +8,6 @@
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">django-prometheus</remote-id>
- <remote-id type="github">korfuri/django-prometheus</remote-id>
+ <remote-id
type="github">django-commons/django-prometheus</remote-id>
</upstream>
</pkgmetadata>