summaryrefslogtreecommitdiff
path: root/dev-python/django-prometheus
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-11-03 06:47:15 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-11-03 06:47:15 +0000
commitfc2f1018fc323ef2c6572734a9b130427cba76a6 (patch)
treef834bdc9a67923ce75297c09d00d1e7b90791d26 /dev-python/django-prometheus
parent162945d2a91899b637bbb9e163b406350de12906 (diff)
gentoo resync : 03.11.2021
Diffstat (limited to 'dev-python/django-prometheus')
-rw-r--r--dev-python/django-prometheus/Manifest4
-rw-r--r--dev-python/django-prometheus/django-prometheus-2.1.0.ebuild6
-rw-r--r--dev-python/django-prometheus/metadata.xml1
3 files changed, 7 insertions, 4 deletions
diff --git a/dev-python/django-prometheus/Manifest b/dev-python/django-prometheus/Manifest
index 02b497568c46..056a503358ee 100644
--- a/dev-python/django-prometheus/Manifest
+++ b/dev-python/django-prometheus/Manifest
@@ -1,3 +1,3 @@
DIST django-prometheus-2.1.0.tar.gz 24615 BLAKE2B 381aa345fac29e71e2b883fb485dce1d6ca3f13fc863d6ca9a62d5cd8f605f8cca727fbc3a3946e707d80f89d7fbaf544610cfb4857a45bc3dc13eeb22aeb4d6 SHA512 0c102467b99df409e31f99fb77d16558bd01c9c11f04ac0f80b59e486bc6e03979e16785083980c43ee3caad26b7a6bf618f9592fcca788ec2793a30d6b44241
-EBUILD django-prometheus-2.1.0.ebuild 553 BLAKE2B ab968f4e704555898fcf45ae2054cb2cd9c2a11338389fa8d730a65f21cdbbbca67a9cf511b6dfac54b10d3be5140632d069b7b4433b4f6f5cf3ff952b779072 SHA512 311687ee5cd990b6fc405ae873b02d1cf3ed36d3da269bc07cdf52df7d086039a82827a9a8c5ee470fb9d131a54782d690c0730a0b0f6786a572fa9104408f33
-MISC metadata.xml 272 BLAKE2B c8e5147f8b94e7f0ac5635ece65eb17ec95c8e20d75ca306f455a8de1576cab16a4087d4c323f7f3fc42955c30fea9299b5cfd5be5aa18427a1a62086fd2e4ca SHA512 6bd351c96ce3f6bd5b5ae4809ec204fe5e2678fb4b6441573a36a192bb2a7316f4315c233573a5146de44fe9b6d2a195ea312d33297c79f45f678deba1211cbc
+EBUILD django-prometheus-2.1.0.ebuild 585 BLAKE2B 8f3078073cfb0c34314c43471c0666605569d12fd2fdb31e5a4bcc841c82d4e0d98d800d4603f2a317607232b30f3ce8e7b49e7731a23ddc95906f62ea0fdabe SHA512 6a76a7280962ffdae0fbda4f0397c1709e289c0a5aab1e4a8196ac5002bf5f5474469bd3d16afbec924fbb1c7d02cb19a6ba86f08ca03ce4aeaf45449cfbfc21
+MISC metadata.xml 337 BLAKE2B 3a16e167abdc7c361b2ae515b302b1476e90deb010d82cff7a3a9ec0b44ad3d41da3ca61ac290fefa9fc30069d05050ea6da170979afab18d7d22da0ccdb2e85 SHA512 608b835a108eb239a19da8de48b0a731c0ab881758e742b3b47e57fc4810dcef4f23ff53630b08ffde835d19ef9a3e2b10aede1f08d0b641c128afdb567e5490
diff --git a/dev-python/django-prometheus/django-prometheus-2.1.0.ebuild b/dev-python/django-prometheus/django-prometheus-2.1.0.ebuild
index 108c87dc5cd3..a669adb8d16e 100644
--- a/dev-python/django-prometheus/django-prometheus-2.1.0.ebuild
+++ b/dev-python/django-prometheus/django-prometheus-2.1.0.ebuild
@@ -3,12 +3,12 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Library to export Django metrics for Prometheus"
HOMEPAGE="https://github.com/korfuri/django-prometheus"
-SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-1.0"
SLOT="0"
@@ -16,6 +16,8 @@ KEYWORDS="~amd64"
RDEPEND=">=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 c1c161f0bc23..3d385e04b5ba 100644
--- a/dev-python/django-prometheus/metadata.xml
+++ b/dev-python/django-prometheus/metadata.xml
@@ -5,5 +5,6 @@
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">django-prometheus</remote-id>
+ <remote-id type="github">korfuri/django-prometheus</remote-id>
</upstream>
</pkgmetadata>