* [gentoo-commits] repo/gentoo:master commit in: app-metrics/go-carbon/
@ 2023-04-10 12:24 Fabian Groffen
0 siblings, 0 replies; 2+ messages in thread
From: Fabian Groffen @ 2023-04-10 12:24 UTC (permalink / raw
To: gentoo-commits
commit: 0a189a60d2fe987742bd7fa500eea55bfcdd5297
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 10 12:23:21 2023 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 12:23:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a189a60
app-metrics/go-carbon-0.17.1: fix tests, bug #904050
Closes: https://bugs.gentoo.org/904050
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
app-metrics/go-carbon/go-carbon-0.17.1.ebuild | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/app-metrics/go-carbon/go-carbon-0.17.1.ebuild b/app-metrics/go-carbon/go-carbon-0.17.1.ebuild
index 5b808efaa023..2402f67a999f 100644
--- a/app-metrics/go-carbon/go-carbon-0.17.1.ebuild
+++ b/app-metrics/go-carbon/go-carbon-0.17.1.ebuild
@@ -18,6 +18,18 @@ RDEPEND="${DEPEND}
acct-user/carbon"
BDEPEND=""
+src_prepare() {
+ export BUILD="gentoo-${PVR}"
+
+ # bug 904050: -race conflicts with -buildmode=pie added by go-module
+ sed -i \
+ -e '/make run-test COMMAND="test -race"/d' \
+ -e '/make run-test COMMAND="vet"/d' \
+ Makefile || die
+
+ eapply_user
+}
+
src_install() {
insinto /etc/go-carbon
doins "${S}"/go-carbon.conf.example
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/go-carbon/
@ 2024-02-03 16:12 Fabian Groffen
0 siblings, 0 replies; 2+ messages in thread
From: Fabian Groffen @ 2024-02-03 16:12 UTC (permalink / raw
To: gentoo-commits
commit: 7a6ed359c687da00ae6dc1f58e6cd97ec5ac34f5
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 3 16:12:26 2024 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Feb 3 16:12:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6ed359
app-metrics/go-carbon-0.17.3: version bump
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
app-metrics/go-carbon/Manifest | 1 +
app-metrics/go-carbon/go-carbon-0.17.3.ebuild | 40 +++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/app-metrics/go-carbon/Manifest b/app-metrics/go-carbon/Manifest
index db8bef38af66..57f84fec0200 100644
--- a/app-metrics/go-carbon/Manifest
+++ b/app-metrics/go-carbon/Manifest
@@ -1 +1,2 @@
DIST go-carbon-0.17.1.tar.gz 5074817 BLAKE2B 59b708ee2eeea486e3f4612efbe94e0592f920de3a194f7d89b4c92df88c65027373871a1503f9ce1027bc1695f19d86503de6da4789b7277780a08871f1c893 SHA512 d18e5768fa8942d3ad8039f2c8304797c488d892aae2d3bca64e2659d7bd432e9c8db14dae22eae86be9e6217b0ea567e2f40b4395c7123a7871f75afed82fc0
+DIST go-carbon-0.17.3.tar.gz 5426401 BLAKE2B 8f2ea61524b9fdc70c7d233d4e88c7190351c970cc787d80de14e51d4cc4ad94413774c7ca86fbf4910bffc3ad241b266772969305378afc289a146f7ad69318 SHA512 16e12099692da6a6b8df55816f5b7b91777c384ca292ea309c16513096e8601cb447e7ef4530466e6b989042efc4b31d8190290b35938d2e0e654f4ae6da70bb
diff --git a/app-metrics/go-carbon/go-carbon-0.17.3.ebuild b/app-metrics/go-carbon/go-carbon-0.17.3.ebuild
new file mode 100644
index 000000000000..2402f67a999f
--- /dev/null
+++ b/app-metrics/go-carbon/go-carbon-0.17.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Golang implementation of Graphite/Carbon server"
+HOMEPAGE="https://github.com/go-graphite/go-carbon"
+SRC_URI="https://github.com/go-graphite/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ acct-group/carbon
+ acct-user/carbon"
+BDEPEND=""
+
+src_prepare() {
+ export BUILD="gentoo-${PVR}"
+
+ # bug 904050: -race conflicts with -buildmode=pie added by go-module
+ sed -i \
+ -e '/make run-test COMMAND="test -race"/d' \
+ -e '/make run-test COMMAND="vet"/d' \
+ Makefile || die
+
+ eapply_user
+}
+
+src_install() {
+ insinto /etc/go-carbon
+ doins "${S}"/go-carbon.conf.example
+ dobin go-carbon
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-03 16:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-03 16:12 [gentoo-commits] repo/gentoo:master commit in: app-metrics/go-carbon/ Fabian Groffen
-- strict thread matches above, loose matches on Subject: below --
2023-04-10 12:24 Fabian Groffen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox