diff options
author | Sam James <sam@gentoo.org> | 2021-10-20 02:49:21 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-20 03:02:33 +0000 |
commit | a384e3cde43b4350c4660002bc847a93f7828caf (patch) | |
tree | 4238b6045bc6f12bf463ed9ae0e1bb23368df307 /dev-go | |
parent | dev-go/delve: drop 1.6.1 (diff) | |
download | gentoo-a384e3cde43b4350c4660002bc847a93f7828caf.tar.gz gentoo-a384e3cde43b4350c4660002bc847a93f7828caf.tar.bz2 gentoo-a384e3cde43b4350c4660002bc847a93f7828caf.zip |
dev-go/delve: ebuild tidying
- Use go-module.eclass' exported module_src_unpack.
- Drop unencessary USE=test.
- Use same variable ordering as skel.ebuild.
- Drop too-short longdescription in metadata.xml (pkgcheck warned as
RedundantLongDescription).
See: https://github.com/gentoo/gentoo/pull/22468
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/delve/delve-1.7.2.ebuild | 12 | ||||
-rw-r--r-- | dev-go/delve/metadata.xml | 3 |
2 files changed, 2 insertions, 13 deletions
diff --git a/dev-go/delve/delve-1.7.2.ebuild b/dev-go/delve/delve-1.7.2.ebuild index eee9ec933c31..44325d77e6c9 100644 --- a/dev-go/delve/delve-1.7.2.ebuild +++ b/dev-go/delve/delve-1.7.2.ebuild @@ -342,22 +342,14 @@ EGO_SUM=( "honnef.co/go/tools v0.0.1-2019.2.3/go.mod" "rsc.io/binaryregexp v0.2.0/go.mod" "rsc.io/pdf v0.1.1/go.mod" - ) +) go-module_set_globals SRC_URI="https://github.com/go-delve/delve/archive/v${PV}.tar.gz -> ${P}.tar.gz ${EGO_SUM_SRC_URI}" -KEYWORDS="~amd64" - LICENSE="MIT BSD BSD-2 Apache-2.0" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -src_unpack() { - unpack "${P}.tar.gz" - go-module_setup_proxy -} +KEYWORDS="~amd64" src_compile() { go build -mod vendor -ldflags="-X main.Build=${PV}" -o "${S}/dlv" ./cmd/dlv || die diff --git a/dev-go/delve/metadata.xml b/dev-go/delve/metadata.xml index c4914eb3ec57..9744c5cdd6be 100644 --- a/dev-go/delve/metadata.xml +++ b/dev-go/delve/metadata.xml @@ -9,9 +9,6 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> - <longdescription lang="en"> - Delve is a source level debugger for Go programs. - </longdescription> <upstream> <remote-id type="github">go-delve/delve</remote-id> </upstream> |