summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-01-15 21:52:37 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-01-15 21:52:37 +0100
commit85fb642eef48c3d02507beae4f0a321a2b3603bd (patch)
treef195d354d0cdca4aa312c02790567345925de3dc /dev-go
parentnet-wireless/bluez: Stable for HPPA (bug #597486). (diff)
downloadgentoo-85fb642eef48c3d02507beae4f0a321a2b3603bd.tar.gz
gentoo-85fb642eef48c3d02507beae4f0a321a2b3603bd.tar.bz2
gentoo-85fb642eef48c3d02507beae4f0a321a2b3603bd.zip
dev-go/glide: Initial version
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/glide/Manifest1
-rw-r--r--dev-go/glide/glide-0.12.3.ebuild33
-rw-r--r--dev-go/glide/metadata.xml8
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-go/glide/Manifest b/dev-go/glide/Manifest
new file mode 100644
index 00000000000..8f3dfb6b21e
--- /dev/null
+++ b/dev-go/glide/Manifest
@@ -0,0 +1 @@
+DIST glide-0.12.3.tar.gz 244609 SHA256 a304c29267cf7e00b7299b6ac8da0317f2f4f4096acb6cf817d4c745e0dee8b4 SHA512 525bd73ed4941428dd2ad06fb5ecf87faa555eb48025a7f9ff57b4b4913b6f1a4202d9875d017080b3e96aee7b3d467c03a815e1845d0686223208f960ef9a99 WHIRLPOOL eedf042adc1c1b421930806c3387024cf7e5dc55325cb46625c7efce586afbdd698f90226320e8f4377f27c517c399f30c6be817002748b116cc7fc51df6ef3c
diff --git a/dev-go/glide/glide-0.12.3.ebuild b/dev-go/glide/glide-0.12.3.ebuild
new file mode 100644
index 00000000000..3e1d8b09ae2
--- /dev/null
+++ b/dev-go/glide/glide-0.12.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+EGO_PN="github.com/Masterminds/glide"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT="v${PV/_/-}"
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="Vendor Package Managment for Golang"
+HOMEPAGE="http://github.com/Masterminds/glide"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+src_compile() {
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -ldflags="-X main.version=${PV}" -o "bin/glide" glide.go || die
+}
+
+src_install() {
+ dodoc README.md CHANGELOG.md
+ dobin bin/glide
+}
diff --git a/dev-go/glide/metadata.xml b/dev-go/glide/metadata.xml
new file mode 100644
index 00000000000..97df2a00971
--- /dev/null
+++ b/dev-go/glide/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>