public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-go/delve/
Date: Sun, 19 Jan 2025 18:18:56 +0000 (UTC)	[thread overview]
Message-ID: <1737310731.ed8aae154f61cf551e8c966ca644f8ad154fd6a8.arthurzam@gentoo> (raw)

commit:     ed8aae154f61cf551e8c966ca644f8ad154fd6a8
Author:     Leo Douglas <douglarek <AT> gmail <DOT> com>
AuthorDate: Wed Jan 15 10:23:43 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 18:18:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed8aae15

dev-go/delve: add 1.24.0

Closes: https://bugs.gentoo.org/947911
Signed-off-by: Leo Douglas <douglarek <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40142
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-go/delve/Manifest            |  1 +
 dev-go/delve/delve-1.24.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-go/delve/Manifest b/dev-go/delve/Manifest
index 2f1a29bd8706..8f27d0c3a9c0 100644
--- a/dev-go/delve/Manifest
+++ b/dev-go/delve/Manifest
@@ -2,3 +2,4 @@ DIST delve-1.20.2.tar.gz 9198885 BLAKE2B 16cb8d5ec8c83082c6d61e0c5235597e46a3ff2
 DIST delve-1.21.2.tar.gz 9430716 BLAKE2B 4fe7e53791aa96284cea0ce614a066c15a9e15894c0fb84993f3405b4a5cd6abd1d88a912408912757de931fdc2ab4f73227d2bce1e58859b3336dd21698d75d SHA512 78953099b1ba79d04136b037d1fd45dc2f9013428a9eed77bb0bba7c43a00370d701d0576e9c1367e5e45f236ceb4bcdfc1c3366db95999dbe9e758e54225541
 DIST delve-1.22.1.tar.gz 9565782 BLAKE2B 51945229974adf0bd0addcfb07439964c02b658b2b330a03a01fe3abfc7b451c77d427e1234fc650ece9ec37b4f4d222091b41dfb24ee19b342bb6a7a4515f01 SHA512 73b6e7f5c88ffe3c3197a33106c2d10349bb622f10ec54e3dd0b045ed5717a341d48c5415f6b56b3a927afa6d994ff30dced802f82ed14d149f202f46c7a6b44
 DIST delve-1.23.1.tar.gz 9532112 BLAKE2B 5d617fe6664b25629004f7088b53ba103832ddc07345e75ca95c9a4b41075c05aa885c3a3edb1794585ff7e3f5fd3cd517aaefb86c6a656f17698cf1fec8ec5f SHA512 1f88b5aa7d0442b5c4f79be5cf465d76bc3849e849f36677f36735a57b117db0a3cdecc2bbc215573d9fcdae724e6f50b792550b6188e844e392d9a659281dfe
+DIST delve-1.24.0.tar.gz 9694472 BLAKE2B 481eacece39f72a8eee4d4c8ce2b5f1b75ae06944be586011e92bbdb3d4a3ac45966ab820a46be4cac12691b21f045bee150e8cfbbff0854d88197cd463207cf SHA512 aee968e3b8ad408297f192df0c3e3ca4bd5ecdd5e8eff71ae7c5e143400a2693310ff094e3916c688ce610327eacd6a982c7637b58d7e20636dd18311950e974

diff --git a/dev-go/delve/delve-1.24.0.ebuild b/dev-go/delve/delve-1.24.0.ebuild
new file mode 100644
index 000000000000..f33bfabd721d
--- /dev/null
+++ b/dev-go/delve/delve-1.24.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="A source-level debugger for the Go programming language"
+HOMEPAGE="https://github.com/go-delve/delve"
+SRC_URI="https://github.com/go-delve/delve/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT BSD BSD-2 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_prepare() {
+	default
+
+	# disable failing tests
+	sed -e 's/TestDebugger_LaunchWithTTY/_&/' -i service/debugger/debugger_unix_test.go || die
+	sed -e 's/TestDump/_&/' -i pkg/proc/proc_test.go || die
+	rm cmd/dlv/dlv_test.go || die
+}
+
+src_compile() {
+	ego build -mod=vendor -ldflags="-X main.Build=${PV}" -o "${S}/dlv" ./cmd/dlv
+}
+
+src_test() {
+	ego test -count 1 -p 1 -ldflags="-X main.Build=${PV}" ./...
+}
+
+src_install() {
+	dobin dlv
+	dodoc README.md CHANGELOG.md
+}
+
+pkg_postinst() {
+	elog "Telemetry notice:"
+	elog "Starting with version 1.24.0, Delve will begin collecting opt-in telemetry"
+	elog "data using the same mechanism used by the Go toolchain."
+	elog
+	elog "For more information, please see:"
+	elog "  * https://github.com/golang/go/issues/68384"
+	elog "  * https://go.dev/doc/telemetry#background"
+	elog "  * https://github.com/go-delve/delve/issues/3815"
+}


             reply	other threads:[~2025-01-19 18:18 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-19 18:18 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-23 16:39 [gentoo-commits] repo/gentoo:master commit in: dev-go/delve/ Arthur Zamarin
2025-05-23  2:40 Sam James
2025-05-21 21:57 Sam James
2025-03-14 13:52 Arthur Zamarin
2025-01-03 16:41 Joonas Niilola
2024-04-22  8:17 Arthur Zamarin
2024-04-19 16:15 Arthur Zamarin
2023-12-26 21:26 Sam James
2023-12-26 21:26 Sam James
2023-04-10  2:54 Sam James
2022-08-28  8:22 Joonas Niilola
2022-08-28  8:22 Joonas Niilola
2021-12-25 23:20 Sam James
2021-10-20  3:02 Sam James
2021-10-20  3:02 Sam James
2021-10-20  3:02 Sam James
2021-07-02  7:38 Joonas Niilola
2021-07-02  7:38 Joonas Niilola
2021-04-11  8:37 Joonas Niilola
2021-04-11  8:37 Joonas Niilola
2021-04-11  8:37 Joonas Niilola
2021-04-11  8:37 Joonas Niilola
2021-03-16 19:23 Sam James
2020-04-14  8:35 Joonas Niilola
2019-11-13  6:03 Joonas Niilola
2019-11-07  5:42 Joonas Niilola
2019-10-10  3:20 Joonas Niilola
2019-10-10  2:54 Joonas Niilola
2019-01-27 11:05 Pacho Ramos
2018-02-21 16:11 Manuel Rüger
2017-07-23 12:21 Manuel Rüger
2017-07-16 12:59 Manuel Rüger
2017-07-16 12:59 Manuel Rüger
2017-06-06 21:53 Manuel Rüger
2016-11-15 14:04 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1737310731.ed8aae154f61cf551e8c966ca644f8ad154fd6a8.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox