dev-python/django-prometheus: Bump to 2.4.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-19 04:17:32 +02:00
parent 515035663b
commit 54893fc951
3 changed files with 33 additions and 1 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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>