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
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: William Hubbs <williamh@g.o>
---
 dev-vcs/hub/hub-2.12.3.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-vcs/hub/hub-2.12.3.ebuild b/dev-vcs/hub/hub-2.12.3.ebuild
index 5191e3388ce..652cf977598 100644
--- a/dev-vcs/hub/hub-2.12.3.ebuild
+++ b/dev-vcs/hub/hub-2.12.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit bash-completion-r1
+inherit bash-completion-r1 go-module
 
 DESCRIPTION="Command-line wrapper for git that makes you better at GitHub"
 HOMEPAGE="https://github.com/github/hub"
@@ -13,12 +13,8 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
-DEPEND=">=dev-lang/go-1.5.1:="
 RDEPEND=">=dev-vcs/git-1.7.3"
 
-QA_FLAGS_IGNORED=".*"
-RESTRICT="strip"
-
 src_compile() {
 	emake bin/hub man-pages
 }
-- 
2.21.0

Replies