diff options
author | Marco Scardovi <marco@scardovi.com> | 2021-04-02 09:06:30 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-04-11 11:35:51 +0300 |
commit | 6bd7565d7698fd5018a121cba7c4853d572730b5 (patch) | |
tree | fce572096755e2652fac3648fc540ef689a4a811 /dev-go | |
parent | media-libs/gegl: Remove '-Dgraphviz=disable' option (diff) | |
download | gentoo-6bd7565d7698fd5018a121cba7c4853d572730b5.tar.gz gentoo-6bd7565d7698fd5018a121cba7c4853d572730b5.tar.bz2 gentoo-6bd7565d7698fd5018a121cba7c4853d572730b5.zip |
dev-go/delve: bump to 1.6.0
Closes: https://bugs.gentoo.org/722690
Package-Manager: Portage-3.0.18, 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/Manifest | 1 | ||||
-rw-r--r-- | dev-go/delve/delve-1.6.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-go/delve/Manifest b/dev-go/delve/Manifest index 362e3de1448a..6c048ccc4714 100644 --- a/dev-go/delve/Manifest +++ b/dev-go/delve/Manifest @@ -1 +1,2 @@ DIST delve-1.3.2.tar.gz 7732880 BLAKE2B dda40993beb553ed4e126547eadf2fcc14645a3e8f8d73032a6b75621d991d292d82b40a5da3435264af803dd081b9ebdfebfadae29caa5614d4b331340a38a4 SHA512 9a02c9e38e3ac824c257627a96d4184014db76c29851179df96edb2edf638e4f6ca055a392cbfa2a1bd36851d5ec24a9abe7983a9a1944f624b10cd5b392883c +DIST delve-1.6.0.tar.gz 7629850 BLAKE2B d5a264fc6f82da8a6abfa9843da43a834f208605df9c05a8ad18173cd5bb9aae7bf0c0f5a0c5c0c877b13a715c46e7cc351c0c14bd04db1cb75a547e6a7f7adf SHA512 3a0a59304284ea67e9c9be82816ad7c46979495ced22cf372739c254397d3bb3469b6a2de28f268dc704ddbe0282cf9fb3e3a3a1717f0c2921dc31e78c9ed0e3 diff --git a/dev-go/delve/delve-1.6.0.ebuild b/dev-go/delve/delve-1.6.0.ebuild new file mode 100644 index 000000000000..638ef120e14d --- /dev/null +++ b/dev-go/delve/delve-1.6.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module + +EGO_PN="github.com/go-delve/delve" +SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" + +DESCRIPTION="A source-level debugger for the Go programming language" +HOMEPAGE="https://github.com/go-delve/delve" + +LICENSE="MIT BSD BSD-2 Apache-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="dev-lang/go:=" + +src_compile() { + go build -mod vendor -ldflags="-X main.Build=75485427957fba167a6eaca76b1ee9549d62916f" -o "${S}/dlv" ./cmd/dlv || die +} + +src_test() { + go test +} +src_install() { + dodoc README.md CHANGELOG.md + dobin dlv +} |