diff options
author | William Hubbs <williamh@gentoo.org> | 2021-05-01 17:32:52 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2021-05-01 17:33:02 -0500 |
commit | 1a3eb1fbc7bb77d08ff8d024264f23de050f74d6 (patch) | |
tree | 84e072507dd0967059d35e325a47de3c6625cdbb /app-metrics | |
parent | acct-user/github-exporter: new user (diff) | |
download | gentoo-1a3eb1fbc7bb77d08ff8d024264f23de050f74d6.tar.gz gentoo-1a3eb1fbc7bb77d08ff8d024264f23de050f74d6.tar.bz2 gentoo-1a3eb1fbc7bb77d08ff8d024264f23de050f74d6.zip |
app-metrics/github-exporter: 1.0.2 bump
Closes: https://bugs.gentoo.org/781227
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/github-exporter/Manifest | 1 | ||||
-rw-r--r-- | app-metrics/github-exporter/github-exporter-1.0.2.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/app-metrics/github-exporter/Manifest b/app-metrics/github-exporter/Manifest index 312c14cedde2..833fef3d4046 100644 --- a/app-metrics/github-exporter/Manifest +++ b/app-metrics/github-exporter/Manifest @@ -1,5 +1,6 @@ DIST github-exporter-04.tar.gz 7023 BLAKE2B a2502fab29f7d987e7fe02a739d9d3bcc34376315581830033dc99d9c16be0bca52a30b8f491682de34ded4732c9216a05e8bfc1d2ac6510a22bd752a50bb5b9 SHA512 4837d78d058e8adb110ced899a9d136eed86aa3facf7258a6d7b392a3a61aa827662e63f8bd64b0ca44e6ed78518a6ae669068018ffc18d3bb42d19f4fb364be DIST github-exporter-1.0.1.tar.gz 20538 BLAKE2B 059802e5e735838f25f0fb56482c8d80c2e0325a7b10ba954af9ea4e39cea1826540e267db9b3fbc6ee4eb181185fd6b34128d09202faf43604fd1e3431bdafc SHA512 8f984cc766d8fc40cb230d88f9aac15563713333d4e6bb98e882b5fbf79cd15c1664cfdc09ccb242d11d0de8a29232124f1a2ab6859cdcb7bd84e862bfb56423 +DIST github-exporter-1.0.2.tar.gz 20534 BLAKE2B 344e01adfca6afade30598305ba388878ddfb3a7e277dc95b87bb5a409bc269b4bfce7ba178ac155f3cd06f72fcf69cf8c38c898eaf391e85ce122618c707fcd SHA512 98326a8c33a7b1e3e7d4106bdd58d07ec34a9f56bce5e4caefe07ba31ac50e2c98bf849aa60cf9d5445afd02d3d9c899a3cb59eddf45635130853d740b3d6347 DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20180321164747-3a771d992973.mod 31 BLAKE2B f69b0989e51b0b649f81b044169fe4309f130eba5bcc6ff33aa9666b1b754aa0e524b8c7a627a91000ccc4f93bf93cdee3e97bd3b2184b050878bc3f413f0c72 SHA512 f21fd002853e4435421f8396e6be016f65be1537815c60d23940caf26e3f14dd6f2caac802cb64cd586b1b1f1220b2727de347b3d1816b8e741f68d87ebcf03f DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20180321164747-3a771d992973.zip 15013 BLAKE2B daecbcbb12a60a1423c4f419db44a0d63108fe622cf843593abb16fd75dcea703b3cf56f1c13433959eccbfb2a9bd5640f837f4be3296220366438dd7ed04f86 SHA512 44ccb3d6134742a80ac15830613c169d1b0d43e6ce40c2f2fdea07203bec134e1ba80dc57c6d14a007014ea141dca311b3ebe61b12d2181311665a9ffe83ca39 DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e diff --git a/app-metrics/github-exporter/github-exporter-1.0.2.ebuild b/app-metrics/github-exporter/github-exporter-1.0.2.ebuild new file mode 100644 index 000000000000..bb43dd07a082 --- /dev/null +++ b/app-metrics/github-exporter/github-exporter-1.0.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module systemd +DESCRIPTION="Github statistics exporter for prometheus" +HOMEPAGE="https://github.com/infinityworks/github-exporter" + +EGO_SUM=( + "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973" + "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod" + "github.com/davecgh/go-spew v1.1.0/go.mod" + "github.com/davecgh/go-spew v1.1.1" + "github.com/davecgh/go-spew v1.1.1/go.mod" + "github.com/fatih/structs v1.1.0" + "github.com/fatih/structs v1.1.0/go.mod" + "github.com/golang/protobuf v1.2.0" + "github.com/golang/protobuf v1.2.0/go.mod" + "github.com/infinityworks/go-common v0.0.0-20170820165359-7f20a140fd37" + "github.com/infinityworks/go-common v0.0.0-20170820165359-7f20a140fd37/go.mod" + "github.com/konsorten/go-windows-terminal-sequences v1.0.1" + "github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod" + "github.com/matttproud/golang_protobuf_extensions v1.0.1" + "github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod" + "github.com/pmezard/go-difflib v1.0.0" + "github.com/pmezard/go-difflib v1.0.0/go.mod" + "github.com/prometheus/client_golang v0.9.2" + "github.com/prometheus/client_golang v0.9.2/go.mod" + "github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910" + "github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod" + "github.com/prometheus/common v0.0.0-20181126121408-4724e9255275" + "github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod" + "github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a" + "github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod" + "github.com/sirupsen/logrus v1.4.2" + "github.com/sirupsen/logrus v1.4.2/go.mod" + "github.com/steinfletcher/apitest v1.3.8" + "github.com/steinfletcher/apitest v1.3.8/go.mod" + "github.com/stretchr/objx v0.1.0/go.mod" + "github.com/stretchr/objx v0.1.1/go.mod" + "github.com/stretchr/testify v1.2.2" + "github.com/stretchr/testify v1.2.2/go.mod" + "github.com/stretchr/testify v1.3.0" + "github.com/stretchr/testify v1.3.0/go.mod" + "github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80" + "github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80/go.mod" + "golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod" + "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f" + "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod" + "golang.org/x/sys v0.0.0-20190422165155-953cdadca894" + "golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod" + ) +go-module_set_globals +SRC_URI="https://github.com/infinityworks/github-exporter/archive/${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + +LICENSE="MIT Apache-2.0 BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="acct-group/github-exporter + acct-user/github-exporter" + +src_compile() { + go build . || die "build failed" +} + +src_install() { + dobin ${PN} + dodoc *.md + newconfd "${FILESDIR}"/${PN}.confd ${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Before you can use ${PN}, you must configure it in" + elog "${EROOT}/etc/conf.d/${PN}" + fi +} |