diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-27 22:40:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-27 22:40:05 +0100 |
commit | 8c364c784966be1700ea39ae45028f3e9be9cae0 (patch) | |
tree | c1971211069b79e3831b71accd52a67a9fdc77a3 /dev-util/buildbot-prometheus | |
parent | 6bd95d1f6320b8666a31ec949183aaa3088aa16f (diff) |
gentoo resync : 27.03.2018
Diffstat (limited to 'dev-util/buildbot-prometheus')
6 files changed, 0 insertions, 165 deletions
diff --git a/dev-util/buildbot-prometheus/Manifest b/dev-util/buildbot-prometheus/Manifest deleted file mode 100644 index ddd34bdf7416..000000000000 --- a/dev-util/buildbot-prometheus/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX buildbot-prometheus-17.7.2-Migrate-duration-calculations-to-buildbot-09.patch 2407 BLAKE2B 90bfa4d0892a2bcafaace817ddc1076ca02ae7fa12aefa67cd622f902b1e21b0c23b2112a9a522cb7076d414dd98d665271b9adf41ceaa6f1567151bfa23a67a SHA512 d08ba36d3a28d14f15b1cd3f0545855e15d6d3345166ca0c27aa4470c14663ce7b3ab154ffbdbc80efc8f8225afabb0bd336e623108483be4d6c2760a11c0114 -DIST buildbot-prometheus-17.7.2.tar.gz 10101 BLAKE2B 25c060b5368aa1dea6145b6d380db8001f3cd1fb49f9b3bb1e4ecccdb771591abc269d5aee9d022a9b182b19650a0c398b580004f20def0675b86ca9f3a1e2db SHA512 8a0ecaf57eade3d69fabc57a19a1c02af8e398c3bc4732e40f39e8904a16c9b751d4f6f8ace0dd7893b380d1ffc8a51360279aeb7b4059a6cd9438145344e74b -EBUILD buildbot-prometheus-17.7.2-r1.ebuild 891 BLAKE2B 05ca697284b2afcb56dfcbed7d568f434a4f0cf93fa9ab797f100b85db6656ce26a4728465529cc47ac9ce9f147fe8a8e235037293a10f970b635cba3f75e250 SHA512 c3fac2396d1097623cef5a060c329d25bbc681968e0aa05764528b51923804561c894297d1ee6b94430dafc1b039b93e7cef66a4d4c64f0616aeb755724a3300 -EBUILD buildbot-prometheus-17.7.2-r2.ebuild 1122 BLAKE2B 4ed47d8f6f252be8866c997639f7380d0ecf33f7813c1c08b7f6fd83837b216dac116cc78bdd3e5d892ba8a8952f65564919b59286d1375b2b09f42b36065f51 SHA512 b72291f2d007542bd510e3f2f2b0bd42439d3c70583909a742a02a209e9f8507850597512222acfb99f355b4dcedb51777b7f1c67177fccd5bd2a1373b9e3d2e -EBUILD buildbot-prometheus-17.7.2.ebuild 786 BLAKE2B eb065d7e22a00eca5d57658a0e26e6600dd3ba40dcb6b0dd27cd41230903103f7f5f472977e6152b7e9842c01389645d342153afeecc5c2619d84e2e3e928da8 SHA512 bcfed633ffe3aaef5e30f638fafbae2a6c716b269efc0ac7e52b3f1ffa9c61b69531c576b10f5d1226a8018792010a7bae759f2c6144f407fdfd0bc8f9740fa4 -MISC metadata.xml 498 BLAKE2B e2cfffddc7ee5bcf879529fea9c97b2c5f93134c16b57dcac5a9f445cba4097f001f973668d82a9a619a524e03da6d79f8910a76637ed1070beb742ad25599c1 SHA512 6a99e044eef36810ef2dee8b090e852ec9518fb8cc8a019257543e77200aae69faf0e0e89f54d562be701dd8f5ebae9d90af860e3bdc3c54fa079e669af16202 diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild deleted file mode 100644 index f6c6bd792ce5..000000000000 --- a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# 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}" - -PATCHES=( - "$FILESDIR}/buildbot-prometheus-17.7.2-Migrate-duration-calculations-to-buildbot-09.patch" -) - -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-r2.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r2.ebuild deleted file mode 100644 index 67323d1dbeff..000000000000 --- a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# 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-0.9.0[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - ${RDEPEND}" - -PATCHES=( - "${FILESDIR}/buildbot-prometheus-17.7.2-Migrate-duration-calculations-to-buildbot-09.patch" -) - -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 -} - -pkg_postinst() { - einfo "This version has been patched to be compatible with the current buildbot releases >=0.9.0" - einfo "For older buildbot-0.8* releases, please use dev-python/buildbot-prometheus-17.7.2-r1 version" -} diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild deleted file mode 100644 index a930624175f3..000000000000 --- a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# 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}" - -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/files/buildbot-prometheus-17.7.2-Migrate-duration-calculations-to-buildbot-09.patch b/dev-util/buildbot-prometheus/files/buildbot-prometheus-17.7.2-Migrate-duration-calculations-to-buildbot-09.patch deleted file mode 100644 index 0ba69478ac7a..000000000000 --- a/dev-util/buildbot-prometheus/files/buildbot-prometheus-17.7.2-Migrate-duration-calculations-to-buildbot-09.patch +++ /dev/null @@ -1,52 +0,0 @@ -From ceddea3f55773e104c628ef6316ce74785d235f3 Mon Sep 17 00:00:00 2001 -From: °RÓ¨ < _â> -Date: Tue, 6 Mar 2018 02:30:56 +0000 -Subject: [PATCH] Migrate duration calculations to >=buildbot-0.9 - ---- - buildbot_prometheus/prometheus.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/buildbot_prometheus/prometheus.py b/buildbot_prometheus/prometheus.py -index a766f41..ebf41a1 100644 ---- a/buildbot_prometheus/prometheus.py -+++ b/buildbot_prometheus/prometheus.py -@@ -302,7 +302,7 @@ class Prometheus(service.BuildbotService): - build_started = msg['started_at'] - build_finished = msg['complete_at'] - build_duration = build_finished - build_started -- duration_seconds = build_duration.total_seconds() -+ duration_seconds = build_duration - self.g_builds_duration.labels(**labels).set(duration_seconds) - - build_status = resolve_results_status(msg['results']) -@@ -401,7 +401,7 @@ class Prometheus(service.BuildbotService): - buildset_started = msg['submitted_at'] - buildset_finished = msg['complete_at'] - buildset_duration = buildset_finished - buildset_started -- duration_seconds = buildset_duration.total_seconds() -+ duration_seconds = buildset_duration - self.g_buildsets_duration.labels(**labels).set(duration_seconds) - - bs_success = resolve_results_status(msg['results']) -@@ -444,7 +444,7 @@ class Prometheus(service.BuildbotService): - br_started = msg['submitted_at'] - br_finished = msg['complete_at'] - br_duration = br_finished - br_started -- duration_seconds = br_duration.total_seconds() -+ duration_seconds = br_duration - self.g_build_requests_duration.labels(**labels).set(duration_seconds) - - br_success = resolve_results_status(msg['results']) -@@ -491,7 +491,7 @@ class Prometheus(service.BuildbotService): - step_started = msg['started_at'] - step_finished = msg['complete_at'] - step_duration = step_finished - step_started -- duration_seconds = step_duration.total_seconds() -+ duration_seconds = step_duration - self.g_steps_duration.labels(**labels).set(duration_seconds) - - step_success = resolve_results_status(msg['results']) --- -libgit2 0.24.6 - diff --git a/dev-util/buildbot-prometheus/metadata.xml b/dev-util/buildbot-prometheus/metadata.xml deleted file mode 100644 index 81ebfb154a13..000000000000 --- a/dev-util/buildbot-prometheus/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?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> - <maintainer type="person"> - <email>dolsen@gentoo.org</email> - <name>Brian Dolbec</name> - </maintainer> - <upstream> - <remote-id type="pypi">buildbot-prometheus</remote-id> - <remote-id type="github">claws/buildbot-prometheus</remote-id> - </upstream> -</pkgmetadata> |