summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-11-30 11:39:25 -0600
committerWilliam Hubbs <williamh@gentoo.org>2015-11-30 11:40:16 -0600
commit93152a337703cab2d754c35ab05500ff442c5536 (patch)
tree393257d6e082c49129db0b147f9b00850325db4c /dev-go
parentsys-apps/usbutils: mark 008-r1 arm64/m68k/s390/sh stable #567132 (diff)
downloadgentoo-93152a337703cab2d754c35ab05500ff442c5536.tar.gz
gentoo-93152a337703cab2d754c35ab05500ff442c5536.tar.bz2
gentoo-93152a337703cab2d754c35ab05500ff442c5536.zip
dev-go/godep: add live ebuild
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/godep/godep-9999.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-go/godep/godep-9999.ebuild b/dev-go/godep/godep-9999.ebuild
new file mode 100644
index 000000000000..6f0bf647b8a3
--- /dev/null
+++ b/dev-go/godep/godep-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EGO_PN=github.com/tools/godep
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64"
+ EGIT_COMMIT=v${PV}
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="dependency tool for go"
+HOMEPAGE="https://github.com/tools/godep"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+DEPEND=""
+RDEPEND=""
+
+src_install() {
+ dobin godep
+dodoc src/${EGO_PN}/*.md
+}