1 |
commit: 437a6a411799a35acb017f79ea7bc8fab8a25b42 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 1 12:25:27 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 1 12:25:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437a6a41 |
7 |
|
8 |
dev-python/prometheus_client: Version bump to 0.0.20 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-python/prometheus_client/Manifest | 1 + |
13 |
.../prometheus_client-0.0.20.ebuild | 27 ++++++++++++++++++++++ |
14 |
2 files changed, 28 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/prometheus_client/Manifest b/dev-python/prometheus_client/Manifest |
17 |
index b53cff31143..045f996ff75 100644 |
18 |
--- a/dev-python/prometheus_client/Manifest |
19 |
+++ b/dev-python/prometheus_client/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST prometheus_client-0.0.19.tar.gz 39428 SHA256 ba85951f8183bc4992259a8117a5564652a396d236f8cda0ae70fb9aaac71ab4 SHA512 0ee5d95c27f7be5f88d462d8a851f6072af49421788c6b3e9f4f51aa5dd1ecd9324539405c1873a3becd62c0cb03bd540c0c29d8fd2115e865bf53189740b0da WHIRLPOOL 586a3ecc954c2a1e4b2d422888afe9fd7477051841d4f1c11d402261d061a04b96ff5dec5ad51f4f2704fe22b2b4f5648e5c63101338fdb6a5bcbfc2f2c35597 |
22 |
+DIST prometheus_client-0.0.20.tar.gz 40773 SHA256 2012c4e5ef6fa559881e02c18a191b6dba43950ee8e03def8b4b5ff271eb7e99 SHA512 fa82eafedd6cfbefbad38de87ef556be512cb62e912de135dcba1cf8227302f7650dfb4139dd22ae760793c150db433b505f405c925f07763aece46d66415594 WHIRLPOOL dbe5b8dd33abe3cac4acffcb188160f425de66ae8141ed6ba8d2130eb770f7dbb636fa66bbfb6fe866048f4758b631a2d8b5898fe13281467e1862c390bb12f1 |
23 |
|
24 |
diff --git a/dev-python/prometheus_client/prometheus_client-0.0.20.ebuild b/dev-python/prometheus_client/prometheus_client-0.0.20.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..af5a5b0c716 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/prometheus_client/prometheus_client-0.0.20.ebuild |
29 |
@@ -0,0 +1,27 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Python client for the Prometheus monitoring system" |
39 |
+HOMEPAGE="https://pypi.python.org/pypi/prometheus_client" |
40 |
+SRC_URI="https://github.com/prometheus/client_python/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="test" |
46 |
+ |
47 |
+S=${WORKDIR}/client_python-${PV} |
48 |
+ |
49 |
+RDEPEND="|| ( dev-python/twisted[${PYTHON_USEDEP}] dev-python/twisted-web[${PYTHON_USEDEP}] )" |
50 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+ test? ( ${RDEPEND} |
52 |
+ dev-python/pytest[${PYTHON_USEDEP}] )" |
53 |
+ |
54 |
+python_test() { |
55 |
+ pytest || die |
56 |
+} |