summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-11-15 15:03:57 +0100
committerManuel Rüger <mrueg@gentoo.org>2016-11-15 15:04:17 +0100
commit50174c72227e2b1e9b6229ada5dbeb4f940aecf5 (patch)
tree01a35e20bda57890c862e2bbcb4a31ce7bc77a3b /dev-go
parentdev-perl/DateTime-Format-Strptime: Bump to 1.680.0 (diff)
downloadgentoo-50174c72227e2b1e9b6229ada5dbeb4f940aecf5.tar.gz
gentoo-50174c72227e2b1e9b6229ada5dbeb4f940aecf5.tar.bz2
gentoo-50174c72227e2b1e9b6229ada5dbeb4f940aecf5.zip
dev-go/delve: Initial version
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/delve/Manifest1
-rw-r--r--dev-go/delve/delve-0.11.0_alpha.ebuild34
-rw-r--r--dev-go/delve/metadata.xml8
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-go/delve/Manifest b/dev-go/delve/Manifest
new file mode 100644
index 00000000000..f3a20078357
--- /dev/null
+++ b/dev-go/delve/Manifest
@@ -0,0 +1 @@
+DIST delve-0.11.0_alpha.tar.gz 910021 SHA256 47278abc6928161cca902b203dab9351aa27428d82c4eefae23fc457781733f5 SHA512 57af18bd8a671ab7ad67980b84e9168795c5c72724117fad85a156eba6668fd4360faf2109833d29d6f3faea3f4856fa7094b5ff7687bf199d7e2b97f107c15e WHIRLPOOL 4b3194207529c09cf222cc0166376e19e453b829abd7547a50b09d89a995839d7931194ba0c1dc77e28f20d14e16273c66aa1ba50b5e2e0fe6dff4c42a983c84
diff --git a/dev-go/delve/delve-0.11.0_alpha.ebuild b/dev-go/delve/delve-0.11.0_alpha.ebuild
new file mode 100644
index 00000000000..7f5d755c390
--- /dev/null
+++ b/dev-go/delve/delve-0.11.0_alpha.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+EGO_PN="github.com/derekparker/delve"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT="v${PV/_/-}"
+ DELVE_SHA="6774a6c"
+ 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}
+
+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
+}
diff --git a/dev-go/delve/metadata.xml b/dev-go/delve/metadata.xml
new file mode 100644
index 00000000000..97df2a00971
--- /dev/null
+++ b/dev-go/delve/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+</pkgmetadata>