1 |
commit: 8ab3858a67895f02bfee0296213e308292ba01b7 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 24 19:01:18 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 24 19:02:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ab3858a |
7 |
|
8 |
dev-python/prometheus_client: Version bump to 0.0.21 |
9 |
|
10 |
Package-Manager: Portage-2.3.10, Repoman-2.3.2 |
11 |
|
12 |
dev-python/prometheus_client/Manifest | 1 + |
13 |
.../prometheus_client-0.0.21.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 7b66e373058..efbe0216715 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.20.tar.gz 40773 SHA256 2012c4e5ef6fa559881e02c18a191b6dba43950ee8e03def8b4b5ff271eb7e99 SHA512 fa82eafedd6cfbefbad38de87ef556be512cb62e912de135dcba1cf8227302f7650dfb4139dd22ae760793c150db433b505f405c925f07763aece46d66415594 WHIRLPOOL dbe5b8dd33abe3cac4acffcb188160f425de66ae8141ed6ba8d2130eb770f7dbb636fa66bbfb6fe866048f4758b631a2d8b5898fe13281467e1862c390bb12f1 |
22 |
+DIST prometheus_client-0.0.21.tar.gz 40859 SHA256 8836c8e8ac7bed68b22d7b03552ad1c677c8e73821470c541d4733f4b9d13823 SHA512 e948ecc9044bd6a59fdc58bb3dd638c89d210a5856a360b4270eff206b2280ef7a68c1e94aea64f5cfb68a218499e61627e34c71363ff222b1a3d27403396a31 WHIRLPOOL 83746b1ff1c609acd961589c310c820dec6e3015e4174de8e0d71a0849ed439f858e05e7684965678d5f77f1b1a38438432412851b38c651cbbdf511198a3aed |
23 |
|
24 |
diff --git a/dev-python/prometheus_client/prometheus_client-0.0.21.ebuild b/dev-python/prometheus_client/prometheus_client-0.0.21.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..af5a5b0c716 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/prometheus_client/prometheus_client-0.0.21.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 |
+} |