Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13621
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
DIST delve-1.3.0.tar.gz 7725559 BLAKE2B 4817536620ba86a0eefaaefe3249941f23e11ef66bab11c50847e021b3f86ca0d77bcead455fb4ecde5ca4d2753eb858b832109b0b2ab0a0902f24eb8dd21515 SHA512 9c7f543d855d3e27a16622a37ddf1ffc74f9abc06b34ec32d0202692def098e664e877f1c89ffe65683758dc43ed2cca350ba64e55c564920145323bb5e4ea13
+DIST delve-1.3.2.tar.gz 7732880 BLAKE2B dda40993beb553ed4e126547eadf2fcc14645a3e8f8d73032a6b75621d991d292d82b40a5da3435264af803dd081b9ebdfebfadae29caa5614d4b331340a38a4 SHA512 9a02c9e38e3ac824c257627a96d4184014db76c29851179df96edb2edf638e4f6ca055a392cbfa2a1bd36851d5ec24a9abe7983a9a1944f624b10cd5b392883c
--- /dev/null
+# Copyright 1999-2019 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"
+
+RESTRICT="test"
+
+src_compile() {
+ go build -ldflags="-X main.Build=6c8c4508db7cbd735354e274c17ccecca9a8501a" -o "${S}/dlv" ./cmd/dlv || die
+}
+
+src_install() {
+ dodoc README.md CHANGELOG.md
+ dobin dlv
+}