summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-06-06 23:53:28 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-06-06 23:53:28 +0200
commit5119523bafd1fce57bf5989833a00ed9a12d2e71 (patch)
treec9597f2a1cf414d328ba9f1dbe6c8fedc1a51efa /dev-go/delve
parentdev-python/parsedatetime: Version bump to 2.4 (diff)
downloadgentoo-5119523bafd1fce57bf5989833a00ed9a12d2e71.tar.gz
gentoo-5119523bafd1fce57bf5989833a00ed9a12d2e71.tar.bz2
gentoo-5119523bafd1fce57bf5989833a00ed9a12d2e71.zip
dev-go/delve: Version bump to 0.12.2
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-go/delve')
-rw-r--r--dev-go/delve/Manifest1
-rw-r--r--dev-go/delve/delve-0.12.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-go/delve/Manifest b/dev-go/delve/Manifest
index f3a200783575..fad865ca366f 100644
--- a/dev-go/delve/Manifest
+++ b/dev-go/delve/Manifest
@@ -1 +1,2 @@
DIST delve-0.11.0_alpha.tar.gz 910021 SHA256 47278abc6928161cca902b203dab9351aa27428d82c4eefae23fc457781733f5 SHA512 57af18bd8a671ab7ad67980b84e9168795c5c72724117fad85a156eba6668fd4360faf2109833d29d6f3faea3f4856fa7094b5ff7687bf199d7e2b97f107c15e WHIRLPOOL 4b3194207529c09cf222cc0166376e19e453b829abd7547a50b09d89a995839d7931194ba0c1dc77e28f20d14e16273c66aa1ba50b5e2e0fe6dff4c42a983c84
+DIST delve-0.12.2.tar.gz 1127128 SHA256 3dc9f6b7167b87dfa1142ddf6865ff4be6593624a965533870ce0c7aae007299 SHA512 f2351340a1f9cefe2410535cda79ad5ef5ad3c3783cd5869d8f0b682d5c109ea6efd3041f9ccc9988ccef77922c9bfab59ca062d98f429f85466b3e2ccc1eeee WHIRLPOOL a653637e19b58fb06b79ed30f95491cea17f683aeb607c19659cd2685d11336255acb22f2b9c5348cd128679ef589848ab3a7d162fd5d4cfbd885b4460791803
diff --git a/dev-go/delve/delve-0.12.2.ebuild b/dev-go/delve/delve-0.12.2.ebuild
new file mode 100644
index 000000000000..2e433501aed5
--- /dev/null
+++ b/dev-go/delve/delve-0.12.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 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
+ EGIT_COMMIT="v${PV}"
+ DELVE_SHA="f605716"
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="A source-level debugger for the Go programming language"
+HOMEPAGE="http://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
+}