summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz N Tiram <oz.tiram@gmail.com>2021-12-25 00:22:11 +0100
committerSam James <sam@gentoo.org>2021-12-25 23:20:10 +0000
commitf9d6aae0e7c8991bd734568d768cb117be3998e0 (patch)
tree82a6defb0431d47396ad0f81e4141b0183c5f029 /dev-go/delve
parentdev-libs/libuev: use ${ED} (diff)
downloadgentoo-f9d6aae0e7c8991bd734568d768cb117be3998e0.tar.gz
gentoo-f9d6aae0e7c8991bd734568d768cb117be3998e0.tar.bz2
gentoo-f9d6aae0e7c8991bd734568d768cb117be3998e0.zip
dev-go/delve: add 1.8.0
Signed-off-by: Oz N Tiram <oz.tiram@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/23502 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-go/delve')
-rw-r--r--dev-go/delve/Manifest1
-rw-r--r--dev-go/delve/delve-1.8.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-go/delve/Manifest b/dev-go/delve/Manifest
index c86738affc40..f5bf7c02e309 100644
--- a/dev-go/delve/Manifest
+++ b/dev-go/delve/Manifest
@@ -11,6 +11,7 @@ DIST cloud.google.com%2Fgo%2Ffirestore%2F@v%2Fv1.1.0.mod 568 BLAKE2B d3d62f2d5c0
DIST cloud.google.com%2Fgo%2Fpubsub%2F@v%2Fv1.0.1.mod 508 BLAKE2B 9915d1d1a768852b3f262784771c8fe2e7e176e61f7d77841f8d3adac571dc141e36c6455c19090cf00a98a7a5ef0c2c887424142e2ecad339f8105b1c30f91e SHA512 8a393b8614207c22c73a706ccc3e66a8a16d2f305ab95d8f70774f13d0bcb7396b0ac5095daa57ebb991225a1db08c3110f1e85c26dd72f3bbcaf73fea536d9c
DIST cloud.google.com%2Fgo%2Fstorage%2F@v%2Fv1.0.0.mod 374 BLAKE2B 4fef9f7da9f23e94efe43be0e279958715949a889c5d51e388f5b66ec9a7cdbf15a717c988883647032998facd71359ad1dcacebcf3334100144abbfa12dac03 SHA512 faf4a02a513ae4c23f931b8917e74a056c528b4267ef3b5b704949283910bfc5d41fdd7264b78d4fc1f6e5b370474a7c9933a2fad36bb5c872006def71f8ed0b
DIST delve-1.7.2.tar.gz 8527848 BLAKE2B 04527796bd82287b2b8e795b0b232b0fc6e9fbc9fd42ac81c83feda5f2198a8e601496eb9f2f7e21adfafd0756a9abd842c38c6732c824faee434978ec281acd SHA512 2d070e51732df10d8f8c05e4cc26ce43ea1ea4085b5c0b7343420838c7de89e8990a2c7320e8dc54c5780b68a9527ebfd5c4ae225e71abb06406b2a7d6f3bc5a
+DIST delve-1.8.0.tar.gz 9007735 BLAKE2B 81289ed39ecbfb118d171b56e88b7a5689671054ac906ee315d46d4e568853e1d6753f36389ea26d7a6f57e6f356ea7e4075b0a1571bebb36a51883fd2343279 SHA512 bda883bf27c5bf0c1d1bbbd58fe81757abd1beaead69906c48c2b67d2ab7ab8e202238e09f2d59a0afb2455753ad40536156d59e28657563780b7b15f121dc5a
DIST dmitri.shuralyov.com%2Fgpu%2Fmtl%2F@v%2Fv0.0.0-20190408044501-666a987793e9.mod 36 BLAKE2B b430ef9388b0dfe932b201495a00275a6036338c99160d7362556be1e25924584b0802061d193533f23b1f76719dfd6a9484572babd25f1af0e53fd9bf07ac00 SHA512 196affe091247f94ceda4b56629bd62d4ee2b397f2c0f56c9534c02e43531b46705ad33543b58c1a4fc7a48e25e5923db087fe0485a93966a4086581c0d1d3e1
DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
DIST github.com%2F!burnt!sushi%2Fxgb%2F@v%2Fv0.0.0-20160522181843-27f122750802.mod 33 BLAKE2B d234bf9be3dd919cb1f8d33750a24dca68c90fea110fd0ff62f0dba86d2ebbfc66d55fea62745b6383c5607bc91cfd78c9d2cf12df251397e85995c04707caa2 SHA512 dbfa64ac31b25fdbff12110c6f9815abfde65f281e40852e7165499a2cefb6656c74fe0b82f0f018304daa02b83b421e9c15654efabad39787c69c1b2996a79d
diff --git a/dev-go/delve/delve-1.8.0.ebuild b/dev-go/delve/delve-1.8.0.ebuild
new file mode 100644
index 000000000000..476b2e0a06cf
--- /dev/null
+++ b/dev-go/delve/delve-1.8.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 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
+}