diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
commit | 7c9730bcb62df7cbf8248c5db9a478aac52c60ea (patch) | |
tree | 3521ee333c83fb6c7ff14d0a0a2d742464e88767 /dev-python/django-prometheus | |
parent | 29394d0921808a94a409f01eff49f681651de5d5 (diff) |
gentoo auto-resync : 17:02:2023 - 14:07:46
Diffstat (limited to 'dev-python/django-prometheus')
-rw-r--r-- | dev-python/django-prometheus/Manifest | 1 | ||||
-rw-r--r-- | dev-python/django-prometheus/django-prometheus-2.2.0-r1.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/django-prometheus/Manifest b/dev-python/django-prometheus/Manifest index 9faebab8e6ed..d19a98b27f9a 100644 --- a/dev-python/django-prometheus/Manifest +++ b/dev-python/django-prometheus/Manifest @@ -1,3 +1,4 @@ DIST django-prometheus-2.2.0.tar.gz 24995 BLAKE2B db79cbed99d4d5cb7d9ce22dfee69914a63373417b176b4311406f9a1fdcada16447d6ec8cb19ebd14789f520aa1d5755aace824e5462611f81a0cc688566f19 SHA512 a72c8345f220799ad0709e0e73912229267b5e01fc67ae7f647e53ccf7c7e170ad2456c81070a002dc411e840b1129d55719a7aa891b4dabe262837c8c7b3db5 +EBUILD django-prometheus-2.2.0-r1.ebuild 680 BLAKE2B cb65f8676c5a24d164e1d920fc0fd48b4f4c96c8ac6581d93aa1559cb98d2f71ff062cc66c92df54739c0007992a84b233232c088fd0387e04018b137a90c6d2 SHA512 c7e33b9b85f76794e1f9e2b294ee9876437f7a0a73f6170d881bb4e7f914e6a0cd63c106e9a57f811e8c883b1b8a448f3e1dbf4d231d220970bf4f07c55f8199 EBUILD django-prometheus-2.2.0.ebuild 625 BLAKE2B 8811874d9869ff3587cb78475a920fd72d2bfa2aa3afa1aa1701f57e2fb1e106a1a9b6fa3e9b6cb463a3b56fcd78017e1ea27fc83b2e588ebd7ab80074894ec8 SHA512 4b0febe3d69f0aa7c05aebe774f3fdf7df43adbd6b18a058bb13bc32a79a67be92a89789de9f6684e8d412fec1d1c6aad5b8faec123f91c51ac6b71dd072586f MISC metadata.xml 410 BLAKE2B 6b5b85e5b774a6d8d742adc093cf341ff11beff43974c0ba68c9c45cffccfba923e9358cb102b3e64e765a91d851bf7bfa51a1a2875909327a9056c6c1c5b805 SHA512 7a6fe4b02c4ac912f34bba301a723e4c16036236b4e9f3c5e1916512d6a49a4af7b2607e96a86a43d69a4ee4ba08b6db9595235250bc52da8c9147dff054370d diff --git a/dev-python/django-prometheus/django-prometheus-2.2.0-r1.ebuild b/dev-python/django-prometheus/django-prometheus-2.2.0-r1.ebuild new file mode 100644 index 000000000000..680ccac5129a --- /dev/null +++ b/dev-python/django-prometheus/django-prometheus-2.2.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library to export Django metrics for Prometheus" +HOMEPAGE=" + https://github.com/korfuri/django-prometheus/ + https://pypi.org/project/django-prometheus/ +" + +LICENSE="Apache-1.0" +SLOT="0" +KEYWORDS="~amd64" + +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 +} |