dev-go/delve: Delete manifest
Official Portage is finally updated, this is obsolete.
This commit is contained in:
parent
3c772d7b77
commit
5a8585526d
2 changed files with 0 additions and 35 deletions
|
@ -1,2 +0,0 @@
|
|||
DIST delve-1.20.1.tar.gz 9184789 BLAKE2B 4b1fce8836b82f691a70659e56effd7a26f238c39ed7aa84d3b533b27afe8864683113114e6288d5ad7c88fdb3bac8e4462e6ebfbd623146da721963a2a60138 SHA512 e3edca19ce989f39e42f380ae6ff70c331f17e0233b2c6a4e1f68090de2ec16a5cb9dd9300ae780eb017d48bd3b9bef0758f53a3ff212e15265372c62d0e384b
|
||||
EBUILD delve-1.20.1.ebuild 893 BLAKE2B 81d316d575ede7be44656de9ddd558af739e18296b7f8e21ef98975cad619bb9e47f7f19119c1a5e76c91cbfe38448540d7c9263098957b2e40e8a41b4e3626e SHA512 3c102a6501cfca3a42eecc4c8b0c21544ffafa67fdc071860f81d186b4e97a0621f0332d37f95ace695efb17d2747bde9f41db052f0aa9af2b87607dcaf431a2
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright 1999-2023 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_compile() {
|
||||
go build -mod vendor -ldflags="-X main.Build=${PV}" -o "${S}/dlv" ./cmd/dlv || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local packages
|
||||
readarray -t packages < <(go list ./...)
|
||||
(( ${#packages[@]} > 0 )) || die "go list failed"
|
||||
# The first test fails, without network since it is calling go build ...
|
||||
# disabled for now. Future ebuilds will patch that test.
|
||||
go test -count 1 -p 1 -v "-ldflags=-X main.Build=${PV}" ${packages[@]:1} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin dlv
|
||||
dodoc README.md CHANGELOG.md
|
||||
}
|
Loading…
Reference in a new issue