Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Cc: William Hubbs <williamh@g.o>
Subject: [gentoo-dev] [PATCH 3/3] dev-vcs/hub: migrate to go-module.eclass
Date: Wed, 11 Sep 2019 17:27:41
Message-Id: 20190911172128.18885-4-williamh@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/3] add eclass to handle go modules by William Hubbs
1 Copyright: Sony Interactive Entertainment Inc.
2 Package-Manager: Portage-2.3.69, Repoman-2.3.16
3 Signed-off-by: William Hubbs <williamh@g.o>
4 ---
5 dev-vcs/hub/hub-2.12.3.ebuild | 6 +-----
6 1 file changed, 1 insertion(+), 5 deletions(-)
7
8 diff --git a/dev-vcs/hub/hub-2.12.3.ebuild b/dev-vcs/hub/hub-2.12.3.ebuild
9 index 5191e3388ce..652cf977598 100644
10 --- a/dev-vcs/hub/hub-2.12.3.ebuild
11 +++ b/dev-vcs/hub/hub-2.12.3.ebuild
12 @@ -3,7 +3,7 @@
13
14 EAPI=7
15
16 -inherit bash-completion-r1
17 +inherit bash-completion-r1 go-module
18
19 DESCRIPTION="Command-line wrapper for git that makes you better at GitHub"
20 HOMEPAGE="https://github.com/github/hub"
21 @@ -13,12 +13,8 @@ LICENSE="MIT"
22 SLOT="0"
23 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
24
25 -DEPEND=">=dev-lang/go-1.5.1:="
26 RDEPEND=">=dev-vcs/git-1.7.3"
27
28 -QA_FLAGS_IGNORED=".*"
29 -RESTRICT="strip"
30 -
31 src_compile() {
32 emake bin/hub man-pages
33 }
34 --
35 2.21.0

Replies