summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-08-21 23:58:18 +0200
committerManuel Rüger <mrueg@gentoo.org>2018-08-21 23:58:18 +0200
commitf06956ab446a31ce83d422fae967b6c7d26b6509 (patch)
tree5736ace44683c30e79d7da6d479981836f1ecaf5 /dev-python/prometheus_client
parentsci-electronics/gwave: fix SRC_URI. (diff)
downloadgentoo-f06956ab446a31ce83d422fae967b6c7d26b6509.tar.gz
gentoo-f06956ab446a31ce83d422fae967b6c7d26b6509.tar.bz2
gentoo-f06956ab446a31ce83d422fae967b6c7d26b6509.zip
dev-python/prometheus_client: Version bump to 0.3.1
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'dev-python/prometheus_client')
-rw-r--r--dev-python/prometheus_client/Manifest1
-rw-r--r--dev-python/prometheus_client/prometheus_client-0.3.1.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/prometheus_client/Manifest b/dev-python/prometheus_client/Manifest
index f4cf5636520b..97678a2554f5 100644
--- a/dev-python/prometheus_client/Manifest
+++ b/dev-python/prometheus_client/Manifest
@@ -1,2 +1,3 @@
DIST prometheus_client-0.2.0.tar.gz 41574 BLAKE2B c8e0288f37d1d3e6548283105dd6ba1e4cae5a6f1846c776538de1a68a2eebe6387f8212631c07f2c37839204262d0f555f1a5edb624c0d7418753123c296ca4 SHA512 7336d8294ef91dfebe91f325a882105cdaf947de212bff651d1c3ebfc139d9045b7f637ea44b18e921a9f2ad9af554aee28587e57b1202b5a30c49b1a765ba4c
DIST prometheus_client-0.3.0.tar.gz 42186 BLAKE2B 14b116d89493d6c6f04a598accaf5203e30358e93ab666a3025f4436df8dda22265cf86920b149d345aec74870e416360862f64dac9a34b5e8ceccd61b4100a2 SHA512 fa16108428a8531977c3f56fbe564a965c91048d08035d046de6d80f61744f678872d9f4f4108970a047aa6e3ca1b7aa892015a71f49d146cc0a5a8c7a7eba3b
+DIST prometheus_client-0.3.1.tar.gz 43185 BLAKE2B 07c69ca13f45c502870dd1eb5934413d71b5e53a5fde7c565414b570a20de183ae1bdda11a34e1c84b874cb5b8491128ff47046632913aaae1c865b0868142aa SHA512 939a985bcf6b377d353871333634ab1641f50288c531ab70b3e5e5466362c02012ae6cf0adf889dac96a89fc5ce29462aa62e651ce21c15d40647d6465baab1a
diff --git a/dev-python/prometheus_client/prometheus_client-0.3.1.ebuild b/dev-python/prometheus_client/prometheus_client-0.3.1.ebuild
new file mode 100644
index 000000000000..a86c3230d43f
--- /dev/null
+++ b/dev-python/prometheus_client/prometheus_client-0.3.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 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.org/project/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
+}