1 |
commit: b35288f7963c0fd830699eebbd71cba683bd2928 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 5 16:30:47 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 5 16:30:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b35288f7 |
7 |
|
8 |
dev-python/prometheus_client: Version bump to 0.1.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-python/prometheus_client/Manifest | 1 + |
13 |
.../prometheus_client-0.1.1.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 a07643b58eb..f85b662129c 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.21.tar.gz 40859 BLAKE2B 58e7a49e12e4f9c865624de24e51e30d4cee75f2f3afd446aa53d425a9aa9ac20829c043ab29036e4e24ef90e06f5950616745ee8f8d89de20e8b1b01d63579f SHA512 e948ecc9044bd6a59fdc58bb3dd638c89d210a5856a360b4270eff206b2280ef7a68c1e94aea64f5cfb68a218499e61627e34c71363ff222b1a3d27403396a31 |
22 |
+DIST prometheus_client-0.1.1.tar.gz 41513 BLAKE2B 3816b34a809c8e40da6fab221bf020bd3d4169c6d1e96a4c48631133cff4fc2839bf1ee01df67711ed4d8c4a38b6ad53c612cddbbb9a7fe45a9b3887cce900e2 SHA512 ac343f416dc4f9907e4da0de19d2005375102fb552491025d76466dee1fb1be753a8e20380c83276116a1606a32a9373db53e8a2952669d511255438d74ba217 |
23 |
|
24 |
diff --git a/dev-python/prometheus_client/prometheus_client-0.1.1.ebuild b/dev-python/prometheus_client/prometheus_client-0.1.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..3f109c2efec |
27 |
--- /dev/null |
28 |
+++ b/dev-python/prometheus_client/prometheus_client-0.1.1.ebuild |
29 |
@@ -0,0 +1,27 @@ |
30 |
+# Copyright 1999-2018 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 |
+} |