Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/github-exporter/
Date: Sat, 01 May 2021 22:33:11
Message-Id: 1619908382.1a3eb1fbc7bb77d08ff8d024264f23de050f74d6.williamh@gentoo
1 commit: 1a3eb1fbc7bb77d08ff8d024264f23de050f74d6
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 1 22:32:52 2021 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sat May 1 22:33:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3eb1fb
7
8 app-metrics/github-exporter: 1.0.2 bump
9
10 Closes: https://bugs.gentoo.org/781227
11 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
12
13 app-metrics/github-exporter/Manifest | 1 +
14 .../github-exporter/github-exporter-1.0.2.ebuild | 80 ++++++++++++++++++++++
15 2 files changed, 81 insertions(+)
16
17 diff --git a/app-metrics/github-exporter/Manifest b/app-metrics/github-exporter/Manifest
18 index 312c14cedde..833fef3d404 100644
19 --- a/app-metrics/github-exporter/Manifest
20 +++ b/app-metrics/github-exporter/Manifest
21 @@ -1,5 +1,6 @@
22 DIST github-exporter-04.tar.gz 7023 BLAKE2B a2502fab29f7d987e7fe02a739d9d3bcc34376315581830033dc99d9c16be0bca52a30b8f491682de34ded4732c9216a05e8bfc1d2ac6510a22bd752a50bb5b9 SHA512 4837d78d058e8adb110ced899a9d136eed86aa3facf7258a6d7b392a3a61aa827662e63f8bd64b0ca44e6ed78518a6ae669068018ffc18d3bb42d19f4fb364be
23 DIST github-exporter-1.0.1.tar.gz 20538 BLAKE2B 059802e5e735838f25f0fb56482c8d80c2e0325a7b10ba954af9ea4e39cea1826540e267db9b3fbc6ee4eb181185fd6b34128d09202faf43604fd1e3431bdafc SHA512 8f984cc766d8fc40cb230d88f9aac15563713333d4e6bb98e882b5fbf79cd15c1664cfdc09ccb242d11d0de8a29232124f1a2ab6859cdcb7bd84e862bfb56423
24 +DIST github-exporter-1.0.2.tar.gz 20534 BLAKE2B 344e01adfca6afade30598305ba388878ddfb3a7e277dc95b87bb5a409bc269b4bfce7ba178ac155f3cd06f72fcf69cf8c38c898eaf391e85ce122618c707fcd SHA512 98326a8c33a7b1e3e7d4106bdd58d07ec34a9f56bce5e4caefe07ba31ac50e2c98bf849aa60cf9d5445afd02d3d9c899a3cb59eddf45635130853d740b3d6347
25 DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20180321164747-3a771d992973.mod 31 BLAKE2B f69b0989e51b0b649f81b044169fe4309f130eba5bcc6ff33aa9666b1b754aa0e524b8c7a627a91000ccc4f93bf93cdee3e97bd3b2184b050878bc3f413f0c72 SHA512 f21fd002853e4435421f8396e6be016f65be1537815c60d23940caf26e3f14dd6f2caac802cb64cd586b1b1f1220b2727de347b3d1816b8e741f68d87ebcf03f
26 DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20180321164747-3a771d992973.zip 15013 BLAKE2B daecbcbb12a60a1423c4f419db44a0d63108fe622cf843593abb16fd75dcea703b3cf56f1c13433959eccbfb2a9bd5640f837f4be3296220366438dd7ed04f86 SHA512 44ccb3d6134742a80ac15830613c169d1b0d43e6ce40c2f2fdea07203bec134e1ba80dc57c6d14a007014ea141dca311b3ebe61b12d2181311665a9ffe83ca39
27 DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
28
29 diff --git a/app-metrics/github-exporter/github-exporter-1.0.2.ebuild b/app-metrics/github-exporter/github-exporter-1.0.2.ebuild
30 new file mode 100644
31 index 00000000000..bb43dd07a08
32 --- /dev/null
33 +++ b/app-metrics/github-exporter/github-exporter-1.0.2.ebuild
34 @@ -0,0 +1,80 @@
35 +# Copyright 2019 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +inherit go-module systemd
40 +DESCRIPTION="Github statistics exporter for prometheus"
41 +HOMEPAGE="https://github.com/infinityworks/github-exporter"
42 +
43 +EGO_SUM=(
44 + "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973"
45 + "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
46 + "github.com/davecgh/go-spew v1.1.0/go.mod"
47 + "github.com/davecgh/go-spew v1.1.1"
48 + "github.com/davecgh/go-spew v1.1.1/go.mod"
49 + "github.com/fatih/structs v1.1.0"
50 + "github.com/fatih/structs v1.1.0/go.mod"
51 + "github.com/golang/protobuf v1.2.0"
52 + "github.com/golang/protobuf v1.2.0/go.mod"
53 + "github.com/infinityworks/go-common v0.0.0-20170820165359-7f20a140fd37"
54 + "github.com/infinityworks/go-common v0.0.0-20170820165359-7f20a140fd37/go.mod"
55 + "github.com/konsorten/go-windows-terminal-sequences v1.0.1"
56 + "github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
57 + "github.com/matttproud/golang_protobuf_extensions v1.0.1"
58 + "github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
59 + "github.com/pmezard/go-difflib v1.0.0"
60 + "github.com/pmezard/go-difflib v1.0.0/go.mod"
61 + "github.com/prometheus/client_golang v0.9.2"
62 + "github.com/prometheus/client_golang v0.9.2/go.mod"
63 + "github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910"
64 + "github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
65 + "github.com/prometheus/common v0.0.0-20181126121408-4724e9255275"
66 + "github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod"
67 + "github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a"
68 + "github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod"
69 + "github.com/sirupsen/logrus v1.4.2"
70 + "github.com/sirupsen/logrus v1.4.2/go.mod"
71 + "github.com/steinfletcher/apitest v1.3.8"
72 + "github.com/steinfletcher/apitest v1.3.8/go.mod"
73 + "github.com/stretchr/objx v0.1.0/go.mod"
74 + "github.com/stretchr/objx v0.1.1/go.mod"
75 + "github.com/stretchr/testify v1.2.2"
76 + "github.com/stretchr/testify v1.2.2/go.mod"
77 + "github.com/stretchr/testify v1.3.0"
78 + "github.com/stretchr/testify v1.3.0/go.mod"
79 + "github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80"
80 + "github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80/go.mod"
81 + "golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod"
82 + "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f"
83 + "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
84 + "golang.org/x/sys v0.0.0-20190422165155-953cdadca894"
85 + "golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod"
86 + )
87 +go-module_set_globals
88 +SRC_URI="https://github.com/infinityworks/github-exporter/archive/${PV}.tar.gz -> ${P}.tar.gz
89 + ${EGO_SUM_SRC_URI}"
90 +
91 +LICENSE="MIT Apache-2.0 BSD"
92 +SLOT="0"
93 +KEYWORDS="~amd64"
94 +
95 +RDEPEND="acct-group/github-exporter
96 + acct-user/github-exporter"
97 +
98 +src_compile() {
99 + go build . || die "build failed"
100 +}
101 +
102 +src_install() {
103 + dobin ${PN}
104 + dodoc *.md
105 + newconfd "${FILESDIR}"/${PN}.confd ${PN}
106 + newinitd "${FILESDIR}"/${PN}.initd ${PN}
107 +}
108 +
109 +pkg_postinst() {
110 + if [[ -z "${REPLACING_VERSIONS}" ]]; then
111 + elog "Before you can use ${PN}, you must configure it in"
112 + elog "${EROOT}/etc/conf.d/${PN}"
113 + fi
114 +}