summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-04-04 12:06:57 +0200
committerManuel Rüger <mrueg@gentoo.org>2018-04-04 12:06:57 +0200
commitc77141ce2e736e376039c8e6d73f93351c581742 (patch)
treeb2e75fafa94b6d9d50ed02ebf9cb4733496d20cb /dev-go
parentmedia-libs/libjpeg-turbo: Bump to version 1.5.90 (diff)
downloadgentoo-c77141ce2e736e376039c8e6d73f93351c581742.tar.gz
gentoo-c77141ce2e736e376039c8e6d73f93351c581742.tar.bz2
gentoo-c77141ce2e736e376039c8e6d73f93351c581742.zip
dev-go/goversion: Update snapshot
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/goversion/Manifest1
-rw-r--r--dev-go/goversion/goversion-1.0.0_p20180403.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-go/goversion/Manifest b/dev-go/goversion/Manifest
index 1dbfeb0f392..ae0fc127de4 100644
--- a/dev-go/goversion/Manifest
+++ b/dev-go/goversion/Manifest
@@ -1 +1,2 @@
DIST goversion-1.0.0_p20180222.tar.gz 8178 BLAKE2B f7ec0491bf35344b7b762dc6f14c7bae8cbf77ebf8e8e8373a7b04d772116f93787f184cbca11417b1487d1a91a7525f88fd6ad6f56622702142a2785380fc46 SHA512 0cfad73f7495baa722e36c7f773d4a5439099221a0e422e29abdd7724d1383673b453b39c8e823fcf386c4eb1afa356e527eaa99f5ea348b560eb8ca9bcc14c5
+DIST goversion-1.0.0_p20180403.tar.gz 8562 BLAKE2B 937d5531ef0f4cf8d72c1fded8ae0e1c6230f87a6ebadd3444aa87875c6712ff82d12b17ce78fcd41c6e6c2e51944a3dd824dbd0ffc3d768316c0b7b4b96edb9 SHA512 d446ca4d7b512b6fd5e510b3a7c2c11a7c72f6e915f4dd0ad9c61f8f93359ef08ff5256133245138798df3b0a3ab6d19157ddf76ea935858ba3230653cfde7ad
diff --git a/dev-go/goversion/goversion-1.0.0_p20180403.ebuild b/dev-go/goversion/goversion-1.0.0_p20180403.ebuild
new file mode 100644
index 00000000000..4045bf9cc6b
--- /dev/null
+++ b/dev-go/goversion/goversion-1.0.0_p20180403.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="rsc.io/goversion"
+
+EGIT_COMMIT="38f6ce479a8bd51821a711abdc8343164d820be4"
+
+inherit golang-build golang-vcs-snapshot bash-completion-r1
+ARCHIVE_URI="https://github.com/rsc/goversion/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Print version used to build Go executables"
+HOMEPAGE="https://github.com/rsc/goversion https://rsc.io/goversion"
+SRC_URI="${ARCHIVE_URI}"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+src_compile() {
+ pushd src/${EGO_PN} || die
+ GOPATH="${S}" go build -o ${PN} . || die
+ popd || die
+}
+
+src_install() {
+ dobin src/${EGO_PN}/${PN}
+ dodoc src/${EGO_PN}/README.md
+}