From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB64B1395E2 for ; Fri, 9 Dec 2016 14:44:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26CF7E0A9D; Fri, 9 Dec 2016 14:44:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8748E0A9D for ; Fri, 9 Dec 2016 14:44:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CCAB8340EEA for ; Fri, 9 Dec 2016 14:44:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 702D224BF for ; Fri, 9 Dec 2016 14:44:26 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1481294643.7abbad8f8af5b6688cb3ac8217d83d017933800a.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/prometheus_client/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/prometheus_client/Manifest dev-python/prometheus_client/metadata.xml dev-python/prometheus_client/prometheus_client-0.0.18.ebuild X-VCS-Directories: dev-python/prometheus_client/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 7abbad8f8af5b6688cb3ac8217d83d017933800a X-VCS-Branch: master Date: Fri, 9 Dec 2016 14:44:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 00ac3e71-c3d4-4f66-a221-7a37fa3bb3b3 X-Archives-Hash: 6298bfaba6bcbdf93815d01cf40932a1 commit: 7abbad8f8af5b6688cb3ac8217d83d017933800a Author: Manuel Rüger gentoo org> AuthorDate: Fri Dec 9 14:41:14 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Fri Dec 9 14:44:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7abbad8f dev-python/prometheus_client: Initial version Package-Manager: portage-2.3.3 dev-python/prometheus_client/Manifest | 1 + dev-python/prometheus_client/metadata.xml | 15 ++++++++++++ .../prometheus_client-0.0.18.ebuild | 28 ++++++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/dev-python/prometheus_client/Manifest b/dev-python/prometheus_client/Manifest new file mode 100644 index 00000000..1f782ae --- /dev/null +++ b/dev-python/prometheus_client/Manifest @@ -0,0 +1 @@ +DIST prometheus_client-0.0.18.tar.gz 38102 SHA256 ea484439f7484af1c9137324a6cb2e920a5b9e968a66dbd02700e0329b631e6d SHA512 97291948b9ccabec7747b1059d30c7707358a95b03d278037a4d7b02ee9d3390d995425891e4c6a59ffb7aedf1f957a31093d14ac1ed254764f5768ec3a7b784 WHIRLPOOL 5e873d242c98e77612a9a5b40872f7760411e6bb7aefe5491077d5e6a778ddccb420830ae32e8ea20e39e7711c7e166a91df1e8e67968a2c454ef4d3f0156242 diff --git a/dev-python/prometheus_client/metadata.xml b/dev-python/prometheus_client/metadata.xml new file mode 100644 index 00000000..5357dd8 --- /dev/null +++ b/dev-python/prometheus_client/metadata.xml @@ -0,0 +1,15 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + + python@gentoo.org + Python + + + prometheus/client_python + + diff --git a/dev-python/prometheus_client/prometheus_client-0.0.18.ebuild b/dev-python/prometheus_client/prometheus_client-0.0.18.ebuild new file mode 100644 index 00000000..21760f1 --- /dev/null +++ b/dev-python/prometheus_client/prometheus_client-0.0.18.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +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/${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}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + pytest || die +}