summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorMarco Scardovi <marco@scardovi.com>2021-05-27 10:38:18 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-07-02 10:38:25 +0300
commit7da66647cd743b65ad06cb75be1fcaf6f543bfc1 (patch)
tree064b8f8315ab350f7d65afd9096a94705b3b8a8d /dev-go
parentsys-auth/seatd: cleanup, 0.4.0-r1 (diff)
downloadgentoo-7da66647cd743b65ad06cb75be1fcaf6f543bfc1.tar.gz
gentoo-7da66647cd743b65ad06cb75be1fcaf6f543bfc1.tar.bz2
gentoo-7da66647cd743b65ad06cb75be1fcaf6f543bfc1.zip
dev-go/delve: bump to 1.6.1
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Marco Scardovi <marco@scardovi.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/delve/Manifest1
-rw-r--r--dev-go/delve/delve-1.6.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-go/delve/Manifest b/dev-go/delve/Manifest
index 8e5e3c1be225..06160af8f27c 100644
--- a/dev-go/delve/Manifest
+++ b/dev-go/delve/Manifest
@@ -1 +1,2 @@
DIST delve-1.6.0.tar.gz 7629850 BLAKE2B d5a264fc6f82da8a6abfa9843da43a834f208605df9c05a8ad18173cd5bb9aae7bf0c0f5a0c5c0c877b13a715c46e7cc351c0c14bd04db1cb75a547e6a7f7adf SHA512 3a0a59304284ea67e9c9be82816ad7c46979495ced22cf372739c254397d3bb3469b6a2de28f268dc704ddbe0282cf9fb3e3a3a1717f0c2921dc31e78c9ed0e3
+DIST delve-1.6.1.tar.gz 7686466 BLAKE2B 24ac5d3219ec5972a985b95a94c543af10c045d7ed7f3ea23234ef1284dd143ba719b2dd2a962c9fdbb2cf516cec65dac3a21c69500542db0ce8e6cf08ee2d31 SHA512 8665ecdad1cb27500ca5628ce0ef4cc5c23295fc3f67aa17fc1cd080d58fcd31c3a806b01e9cdf383907ae7fc07e9a57ce88f971205e43e069f26bf1cc3200cf
diff --git a/dev-go/delve/delve-1.6.1.ebuild b/dev-go/delve/delve-1.6.1.ebuild
new file mode 100644
index 000000000000..d484c713c345
--- /dev/null
+++ b/dev-go/delve/delve-1.6.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module
+
+DESCRIPTION="A source-level debugger for the Go programming language"
+HOMEPAGE="https://github.com/go-delve/delve"
+
+EGO_PN="github.com/go-delve/delve"
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64"
+
+LICENSE="MIT BSD BSD-2 Apache-2.0"
+SLOT="0"
+IUSE="test"
+
+# Needs network access to download more unspecified modules.
+RESTRICT="test"
+
+src_compile() {
+ go build -mod vendor -ldflags="-X main.Build=5dd4b7df9da1770edb4c2fd86535b58b1df294e7" -o "${S}/dlv" ./cmd/dlv || die
+}
+
+src_test() {
+ go test
+}
+
+src_install() {
+ dodoc README.md CHANGELOG.md
+ dobin dlv
+}