Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-prometheus/
Date: Wed, 11 Mar 2020 21:56:32
Message-Id: 1583963775.d5ffac9c5150984895f6d1f7e6379f289d40fa11.williamh@gentoo
1 commit: d5ffac9c5150984895f6d1f7e6379f289d40fa11
2 Author: William Hubbs <william.hubbs <AT> sony <DOT> com>
3 AuthorDate: Wed Mar 11 21:33:43 2020 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 11 21:56:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ffac9c
7
8 dev-python/django-prometheus: 2.0.0 bump
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 dev-python/django-prometheus/Manifest | 1 +
13 .../django-prometheus-2.0.0.ebuild | 23 ++++++++++++++++++++++
14 2 files changed, 24 insertions(+)
15
16 diff --git a/dev-python/django-prometheus/Manifest b/dev-python/django-prometheus/Manifest
17 index 0a58d024189..bfca67e3f6b 100644
18 --- a/dev-python/django-prometheus/Manifest
19 +++ b/dev-python/django-prometheus/Manifest
20 @@ -1,2 +1,3 @@
21 DIST django-prometheus-1.0.15.tar.gz 13708 BLAKE2B 64d72224da9cb481108ad17ed1409d97108353a39894f824428743f3ee894292352de4d4beebf1984294e34cea7b6d0144c5066d0fe5cca7d9c682f9410355d3 SHA512 48794f6d07ebdd3487060e62e808a66a97630045433dd91a27f1095f79a72197124c44c5d178c89785b8d048e8e828f84804c789cb5c2f0a053cf18864cde6eb
22 DIST django-prometheus-1.1.0.tar.gz 18237 BLAKE2B 9b32e95750b57122a42d2e0b7f257407885a08db446e013933d2e81a525bf99f872f82c7f081f4c8c3c18f899c48ffa947ac8a89b751babaa8a8348f3f50b757 SHA512 9fa8c0175d1f8f714954f1c16715007e5c074568cc703d57e62f24686db1e16c40fc02244c4f9721995636723d90435bb3b2348282530d969b543bce39e65774
23 +DIST django-prometheus-2.0.0.tar.gz 20028 BLAKE2B 272f192cc0ee4492fa6dbbb65ba6696fdf8fbddc0724290d9b55e5aedb740c2c92cb609969240004b4faca4569580ab451284c2f4bbde589ee61bb96ec448ff3 SHA512 8345c23c8032f0dbecd8e801bd6673e7e3804003ebee0a15b0c8ce3b2d4c6b6f47e7c41e33df2b18a0497eb453972d8b231b88fb51184fafc58d306a9430fdec
24
25 diff --git a/dev-python/django-prometheus/django-prometheus-2.0.0.ebuild b/dev-python/django-prometheus/django-prometheus-2.0.0.ebuild
26 new file mode 100644
27 index 00000000000..a745970dbcd
28 --- /dev/null
29 +++ b/dev-python/django-prometheus/django-prometheus-2.0.0.ebuild
30 @@ -0,0 +1,23 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_6 python3_7 )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Library to export django metrics for prometheus"
40 +HOMEPAGE="https://github.com/korfuri/django-prometheus"
41 +SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
42 +
43 +LICENSE="Apache-1.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +DEPEND=">=dev-python/prometheus_client-0.7[${PYTHON_USEDEP}]"
48 +RDEPEND="${DEPEND}"
49 +
50 +python_prepare_all() {
51 + sed -i "s/'pytest-runner'//" setup.py || die
52 + distutils-r1_python_prepare_all
53 +}