public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot-prometheus/
@ 2018-01-23 15:12 Manuel Rüger
  0 siblings, 0 replies; 3+ messages in thread
From: Manuel Rüger @ 2018-01-23 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     37562fdd465ac2164abb43fd3d4bff23253efe89
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 13:07:17 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 15:11:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37562fdd

dev-util/buildbot-prometheus: Initial version

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-util/buildbot-prometheus/Manifest               |  1 +
 .../buildbot-prometheus-17.7.2.ebuild               | 21 +++++++++++++++++++++
 dev-util/buildbot-prometheus/metadata.xml           | 12 ++++++++++++
 3 files changed, 34 insertions(+)

diff --git a/dev-util/buildbot-prometheus/Manifest b/dev-util/buildbot-prometheus/Manifest
new file mode 100644
index 00000000000..0cc6923df04
--- /dev/null
+++ b/dev-util/buildbot-prometheus/Manifest
@@ -0,0 +1 @@
+DIST buildbot-prometheus-17.7.2.tar.gz 10101 BLAKE2B 25c060b5368aa1dea6145b6d380db8001f3cd1fb49f9b3bb1e4ecccdb771591abc269d5aee9d022a9b182b19650a0c398b580004f20def0675b86ca9f3a1e2db SHA512 8a0ecaf57eade3d69fabc57a19a1c02af8e398c3bc4732e40f39e8904a16c9b751d4f6f8ace0dd7893b380d1ffc8a51360279aeb7b4059a6cd9438145344e74b

diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild
new file mode 100644
index 00000000000..4a401d88a64
--- /dev/null
+++ b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+inherit distutils-r1
+
+DESCRIPTION="A Prometheus metrics exporter for Buildbot"
+HOMEPAGE="https://github.com/claws/buildbot-prometheus"
+SRC_URI="https://github.com/claws/buildbot-prometheus/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-python/prometheus_client[${PYTHON_USEDEP}]
+	dev-util/buildbot[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	${RDEPEND}"

diff --git a/dev-util/buildbot-prometheus/metadata.xml b/dev-util/buildbot-prometheus/metadata.xml
new file mode 100644
index 00000000000..688a3484930
--- /dev/null
+++ b/dev-util/buildbot-prometheus/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>mrueg@gentoo.org</email>
+		<name>Manuel Rüger</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="pypi">buildbot-prometheus</remote-id>
+		<remote-id type="github">claws/buildbot-prometheus</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot-prometheus/
@ 2018-01-24 18:23 Manuel Rüger
  0 siblings, 0 replies; 3+ messages in thread
From: Manuel Rüger @ 2018-01-24 18:23 UTC (permalink / raw
  To: gentoo-commits

commit:     63238087899314bbe4b5db4b3cd8208e26f97b41
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 24 18:22:15 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Wed Jan 24 18:23:12 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63238087

dev-util/buildbot-prometheus: Fix missing dependency on pip

Closes: https://bugs.gentoo.org/645582
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild
index 4a401d88a64..e84caf19914 100644
--- a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild
+++ b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild
@@ -18,4 +18,5 @@ IUSE=""
 RDEPEND="dev-python/prometheus_client[${PYTHON_USEDEP}]
 	dev-util/buildbot[${PYTHON_USEDEP}]"
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	dev-python/pip[${PYTHON_USEDEP}]
 	${RDEPEND}"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot-prometheus/
@ 2018-03-02 13:14 Manuel Rüger
  0 siblings, 0 replies; 3+ messages in thread
From: Manuel Rüger @ 2018-03-02 13:14 UTC (permalink / raw
  To: gentoo-commits

commit:     64a9702a67f63b58a159139bbe395595c864404a
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  2 13:14:16 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Fri Mar  2 13:14:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a9702a

dev-util/buildbot-prometheus: Drop dependency on pip

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 ...rometheus-17.7.2.ebuild => buildbot-prometheus-17.7.2-r1.ebuild} | 6 +++++-
 dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild      | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild
similarity index 75%
copy from dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild
copy to dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild
index e84caf19914..a930624175f 100644
--- a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild
+++ b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild
@@ -18,5 +18,9 @@ IUSE=""
 RDEPEND="dev-python/prometheus_client[${PYTHON_USEDEP}]
 	dev-util/buildbot[${PYTHON_USEDEP}]"
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-	dev-python/pip[${PYTHON_USEDEP}]
 	${RDEPEND}"
+
+python_prepare_all() {
+	sed -i -e "/^install_reqs.*$/d" -e "/^from pip.*$/d" -e "s/requires = .*/requires = ['buildbot', 'prometheus_client']/" setup.py || die
+	distutils-r1_python_prepare_all
+}

diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild
index e84caf19914..a930624175f 100644
--- a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild
+++ b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild
@@ -18,5 +18,9 @@ IUSE=""
 RDEPEND="dev-python/prometheus_client[${PYTHON_USEDEP}]
 	dev-util/buildbot[${PYTHON_USEDEP}]"
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-	dev-python/pip[${PYTHON_USEDEP}]
 	${RDEPEND}"
+
+python_prepare_all() {
+	sed -i -e "/^install_reqs.*$/d" -e "/^from pip.*$/d" -e "s/requires = .*/requires = ['buildbot', 'prometheus_client']/" setup.py || die
+	distutils-r1_python_prepare_all
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-02 13:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-02 13:14 [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot-prometheus/ Manuel Rüger
  -- strict thread matches above, loose matches on Subject: below --
2018-01-24 18:23 Manuel Rüger
2018-01-23 15:12 Manuel Rüger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox