Gentoo Archives: gentoo-commits

From: Nicolas Bock <nicolasbock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/kbfs/
Date: Mon, 23 Oct 2017 12:27:43
Message-Id: 1508761625.5b78f8ab4c44e6807398bd6a252ca7c98efcf601.nicolasbock@gentoo
1 commit: 5b78f8ab4c44e6807398bd6a252ca7c98efcf601
2 Author: Karl-Johan Karlsson <creideiki <AT> ferretporn <DOT> se>
3 AuthorDate: Mon Oct 23 07:56:38 2017 +0000
4 Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 23 12:27:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b78f8ab
7
8 app-crypt/kbfs: build the Git remote helper, #633554
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 app-crypt/kbfs/kbfs-9999.ebuild | 12 ++++++++++--
13 app-crypt/kbfs/metadata.xml | 5 +++++
14 2 files changed, 15 insertions(+), 2 deletions(-)
15
16 diff --git a/app-crypt/kbfs/kbfs-9999.ebuild b/app-crypt/kbfs/kbfs-9999.ebuild
17 index 4da71bde3c9..b084faeb8f1 100644
18 --- a/app-crypt/kbfs/kbfs-9999.ebuild
19 +++ b/app-crypt/kbfs/kbfs-9999.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 +# Copyright 1999-2017 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=6
26 @@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/keybase/kbfs.git"
27 LICENSE="BSD"
28 SLOT="0"
29 KEYWORDS=""
30 -IUSE=""
31 +IUSE="git"
32
33 DEPEND="
34 >=dev-lang/go-1.6:0
35 @@ -37,8 +37,16 @@ src_compile() {
36 -tags production \
37 -o "${T}/kbfsfuse" \
38 github.com/keybase/kbfs/kbfsfuse
39 + use git && \
40 + GOPATH="${WORKDIR}" \
41 + go build -v -x \
42 + -tags production \
43 + -o "${T}/git-remote-keybase" \
44 + github.com/keybase/kbfs/kbfsgit/git-remote-keybase
45 }
46
47 src_install() {
48 dobin "${T}/kbfsfuse"
49 + use git && \
50 + dobin "${T}/git-remote-keybase"
51 }
52
53 diff --git a/app-crypt/kbfs/metadata.xml b/app-crypt/kbfs/metadata.xml
54 index b925088bda7..00881f3d617 100644
55 --- a/app-crypt/kbfs/metadata.xml
56 +++ b/app-crypt/kbfs/metadata.xml
57 @@ -8,4 +8,9 @@
58 The official Keybase implementation of the client-side code for the
59 Keybase filesystem (KBFS).
60 </longdescription>
61 + <use>
62 + <flag name="git">
63 + Build the Git remote helper for storing repositories in Keybase
64 + </flag>
65 + </use>
66 </pkgmetadata>