summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-02-21 17:10:53 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-02-21 17:10:53 +0100
commit5e529802311c41e051c8c3c8c37da53ae36c2ee6 (patch)
treeddf669f70f241aadd2392caa3c32c97062179bc3 /dev-go/delve
parentsys-libs/libseccomp: add ~amd64-linux keyword (diff)
downloadgentoo-5e529802311c41e051c8c3c8c37da53ae36c2ee6.tar.gz
gentoo-5e529802311c41e051c8c3c8c37da53ae36c2ee6.tar.bz2
gentoo-5e529802311c41e051c8c3c8c37da53ae36c2ee6.zip
dev-go/delve: Version bump to 1.0.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-go/delve')
-rw-r--r--dev-go/delve/Manifest1
-rw-r--r--dev-go/delve/delve-1.0.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-go/delve/Manifest b/dev-go/delve/Manifest
index ed805d0a522a..faacfd391f29 100644
--- a/dev-go/delve/Manifest
+++ b/dev-go/delve/Manifest
@@ -1,2 +1,3 @@
DIST delve-0.12.2.tar.gz 1127128 BLAKE2B 3728eea41bcad6dc44cb642b536730fcc75e29524dda7081c3a3e761f6c00bfb8b7ef9e65a16578c152313d19ce361a1766f8a7fa86742ac9c3b843a08b24196 SHA512 f2351340a1f9cefe2410535cda79ad5ef5ad3c3783cd5869d8f0b682d5c109ea6efd3041f9ccc9988ccef77922c9bfab59ca062d98f429f85466b3e2ccc1eeee
+DIST delve-1.0.0.tar.gz 1573015 BLAKE2B de9318cb1fa289984fd2c7daabcff61fe4a0ed141460bfa3020097fd8d1cde535ddf4825371608521e03cc0f9c25a59e2a7dedc65a781cb86911d0c2c2f2e025 SHA512 128311bb7fd61b5b681c89060d7c0817da649fdbeef6367e627ca537ad4c3f07771d638e7e803c052c95bace8a7f5c8fb07feda1e06ce0ef34fd87143c29fece
DIST delve-1.0.0_rc1.tar.gz 1268859 BLAKE2B 6192128ace7b8896e2624f7fa25a5b70b748780097630b2db535acc4f8867cd015ff61f14e0cea255ed863591991addaee1b3bd5d1e1489522a268dbdf7ee23d SHA512 97e58bd7e00089bcdee7fa6e749a6c5b72cf5d63f776d56b6000703371091129ac52ab58601256429362d12c88a4ba7cd0d3d196d5cee2d6d2701a73963a9358
diff --git a/dev-go/delve/delve-1.0.0.ebuild b/dev-go/delve/delve-1.0.0.ebuild
new file mode 100644
index 000000000000..c7290865e8e2
--- /dev/null
+++ b/dev-go/delve/delve-1.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/derekparker/delve"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit golang-vcs
+else
+ DELVE_SHA="279a8a7"
+ SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="A source-level debugger for the Go programming language"
+HOMEPAGE="https://github.com/derekparker/delve"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_compile() {
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -ldflags="-X main.Build=${DELVE_SHA}" -o "bin/dlv" ./cmd/dlv || die
+}
+
+src_install() {
+ dodoc README.md CHANGELOG.md
+ dobin bin/dlv
+}