summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-10 05:36:05 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-10 05:36:05 +0100
commit4bbcd26e7cb1908fb98bb318bfaa13ea9e32d860 (patch)
tree39e9258a61ef296b0e5afba0c7dc2557891487c4 /dev-go
parent47d5e233005d470dbd431a280e64ce6073fc7149 (diff)
gentoo auto-resync : 10:04:2023 - 05:36:05
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/Manifest.gzbin4719 -> 4720 bytes
-rw-r--r--dev-go/delve/Manifest2
-rw-r--r--dev-go/delve/delve-1.20.2.ebuild33
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-go/Manifest.gz b/dev-go/Manifest.gz
index c2443be4a19d..7e4299623209 100644
--- a/dev-go/Manifest.gz
+++ b/dev-go/Manifest.gz
Binary files differ
diff --git a/dev-go/delve/Manifest b/dev-go/delve/Manifest
index ba2411ab7096..a281fa91b576 100644
--- a/dev-go/delve/Manifest
+++ b/dev-go/delve/Manifest
@@ -1,5 +1,7 @@
+DIST delve-1.20.2.tar.gz 9198885 BLAKE2B 16cb8d5ec8c83082c6d61e0c5235597e46a3ff2e1c4f5628eb92040e663e101ed33ac903ec3c5be4eb6b338df8bc8f6017547bca73e9ade0a9e89d37b4e39318 SHA512 c48027d200257d0a979fbf2ea3a65f6dc645d1c231264023b10c216de1e3d80db86ac775cdb02f4dcd261756c8e26bbdce598cce709eb2aa4c9853f2e0cf6cf8
DIST delve-1.8.0.tar.gz 9007735 BLAKE2B 81289ed39ecbfb118d171b56e88b7a5689671054ac906ee315d46d4e568853e1d6753f36389ea26d7a6f57e6f356ea7e4075b0a1571bebb36a51883fd2343279 SHA512 bda883bf27c5bf0c1d1bbbd58fe81757abd1beaead69906c48c2b67d2ab7ab8e202238e09f2d59a0afb2455753ad40536156d59e28657563780b7b15f121dc5a
DIST delve-1.9.0.tar.gz 9052933 BLAKE2B 0af3c8e340aff800b5d26d5021220f92f1eb5fb25c83a23b71989a99e2ffdfb63e1f38e3bf6e3bd84788e0f1a04f8b5e2a28cc6576d81dfffd5c4cb409734a49 SHA512 7a616281eeb92d07657ed8522672648a993bb54fbe6c8bbea5979cac8f0cff37dfe183950b481a444a20ffa7c95a6a83133356a12ce2894ba0a595d5cacf4100
+EBUILD delve-1.20.2.ebuild 893 BLAKE2B 81d316d575ede7be44656de9ddd558af739e18296b7f8e21ef98975cad619bb9e47f7f19119c1a5e76c91cbfe38448540d7c9263098957b2e40e8a41b4e3626e SHA512 3c102a6501cfca3a42eecc4c8b0c21544ffafa67fdc071860f81d186b4e97a0621f0332d37f95ace695efb17d2747bde9f41db052f0aa9af2b87607dcaf431a2
EBUILD delve-1.8.0.ebuild 893 BLAKE2B 7564349961cbeff11e3f4388f343f7acf67df930a7e3dc3d27bb06c6c3f4643401c408c716eb2cb0a6900a0e37c9aecdb3ba3cb701849d258450789d1ba4bb60 SHA512 fd192e0611ca01fba52f71a6905a0a7453bba305f72c453736d95791d244c240ea08dd5983925d76a99da3bf7c8abd4775fe635062a3c47de10fc80c14f428ac
EBUILD delve-1.9.0.ebuild 893 BLAKE2B e46506fe0b4b6a8edb503f9622a54cbdc62f6602a68072e5469bfe9a1c5ac069f0a1d3b5dca48b75198021aaaaee943409e7f5e51e7ce9ff196bd6993d12c0be SHA512 af0f60d0039a81d2955c616330c7143633463f3e00529b365543f1f21037016eacac7cd6abf795051740eaa27255fbc1d818c8674cebb440d71378ddba050abf
MISC metadata.xml 487 BLAKE2B ab662da8edd1670e9c0ceae94a35c930c9125cce89a5bd9a86aafa1fd2df5d0b28ee2c89e6b1b6ab5b07d0f12e3d186b30f15aa30479fe283d15dacbd03da87a SHA512 a68530071f066c07dc57783cbedfe6e97ca39de9bad7cde5ffffdafb7a81a95350ec0e1e27323d5d87f1eaa87573e7028ff23fb1e6853c91e6e1f3414e3cade6
diff --git a/dev-go/delve/delve-1.20.2.ebuild b/dev-go/delve/delve-1.20.2.ebuild
new file mode 100644
index 000000000000..af82268a6195
--- /dev/null
+++ b/dev-go/delve/delve-1.20.2.ebuild
@@ -0,0 +1,33 @@
+# 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
+}