dev-python/prometheus_client: Version bump to 0.0.21
authorManuel Rüger <mrueg@gentoo.org>
Sun, 24 Sep 2017 19:01:18 +0000 (21:01 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Sun, 24 Sep 2017 19:02:00 +0000 (21:02 +0200)
Package-Manager: Portage-2.3.10, Repoman-2.3.2

dev-python/prometheus_client/Manifest
dev-python/prometheus_client/prometheus_client-0.0.21.ebuild [new file with mode: 0644]

index 7b66e373058b6c1039e8149a694a81e9d8c1c534..efbe02167150038936100e687851529ba90a4eaf 100644 (file)
@@ -1 +1,2 @@
 DIST prometheus_client-0.0.20.tar.gz 40773 SHA256 2012c4e5ef6fa559881e02c18a191b6dba43950ee8e03def8b4b5ff271eb7e99 SHA512 fa82eafedd6cfbefbad38de87ef556be512cb62e912de135dcba1cf8227302f7650dfb4139dd22ae760793c150db433b505f405c925f07763aece46d66415594 WHIRLPOOL dbe5b8dd33abe3cac4acffcb188160f425de66ae8141ed6ba8d2130eb770f7dbb636fa66bbfb6fe866048f4758b631a2d8b5898fe13281467e1862c390bb12f1
+DIST prometheus_client-0.0.21.tar.gz 40859 SHA256 8836c8e8ac7bed68b22d7b03552ad1c677c8e73821470c541d4733f4b9d13823 SHA512 e948ecc9044bd6a59fdc58bb3dd638c89d210a5856a360b4270eff206b2280ef7a68c1e94aea64f5cfb68a218499e61627e34c71363ff222b1a3d27403396a31 WHIRLPOOL 83746b1ff1c609acd961589c310c820dec6e3015e4174de8e0d71a0849ed439f858e05e7684965678d5f77f1b1a38438432412851b38c651cbbdf511198a3aed
diff --git a/dev-python/prometheus_client/prometheus_client-0.0.21.ebuild b/dev-python/prometheus_client/prometheus_client-0.0.21.ebuild
new file mode 100644 (file)
index 0000000..af5a5b0
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="Python client for the Prometheus monitoring system"
+HOMEPAGE="https://pypi.python.org/pypi/prometheus_client"
+SRC_URI="https://github.com/prometheus/client_python/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+S=${WORKDIR}/client_python-${PV}
+
+RDEPEND="|| ( dev-python/twisted[${PYTHON_USEDEP}] dev-python/twisted-web[${PYTHON_USEDEP}] )"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( ${RDEPEND}
+               dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+       pytest || die
+}