From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B93351382C5 for ; Fri, 12 Jun 2020 21:14:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4D24E091F; Fri, 12 Jun 2020 21:14:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE6E0E091F for ; Fri, 12 Jun 2020 21:14:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14AD734F0FF for ; Fri, 12 Jun 2020 21:14:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90AD4286 for ; Fri, 12 Jun 2020 21:14:07 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1591996366.23d6e910651b74097e39c40d22e2bc8675d1b31a.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/github-cli/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/github-cli/github-cli-9999.ebuild X-VCS-Directories: dev-util/github-cli/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 23d6e910651b74097e39c40d22e2bc8675d1b31a X-VCS-Branch: master Date: Fri, 12 Jun 2020 21:14:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6881602a-3145-4a10-9eb4-75d56ba65a97 X-Archives-Hash: 0730331eb82a977895cec87f72bd722b commit: 23d6e910651b74097e39c40d22e2bc8675d1b31a Author: William Hubbs gentoo org> AuthorDate: Fri Jun 12 21:12:46 2020 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Jun 12 21:12:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d6e910 dev-util/github-cli: sync live ebuild Signed-off-by: William Hubbs gentoo.org> dev-util/github-cli/github-cli-9999.ebuild | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/dev-util/github-cli/github-cli-9999.ebuild b/dev-util/github-cli/github-cli-9999.ebuild index 9da2da770a1..a85b465b8d8 100644 --- a/dev-util/github-cli/github-cli-9999.ebuild +++ b/dev-util/github-cli/github-cli-9999.ebuild @@ -273,13 +273,6 @@ LICENSE="MIT Apache-2.0 BSD BSD-2 MPL-2.0" SLOT="0" RDEPEND=">=dev-vcs/git-1.7.3" -BDEPEND=">=dev-lang/go-1.13" - -unset GOBIN GOPATH GOCODE - -PATCHES=( - "${FILESDIR}/cli-0.9.0-manpage-build-gen-docs.patch" -) src_unpack() { if [[ ${PV} == *9999 ]]; then @@ -292,17 +285,19 @@ src_unpack() { src_compile() { [[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}" - # Golang LDFLAGS are not the same as GCC/Binutils LDFLAGS + # Go LDFLAGS are not the same as GCC/Binutils LDFLAGS unset LDFLAGS + # Once we set up cross compiling, this line will need to be adjusted + # to compile for the target. + # Everything else in this function happens on the host. + emake - emake bin/gh # default target - - einfo "Building manpage" + einfo "Building man pages" emake manpages - einfo "Building completion" - bin/gh completion -s bash > gh.bash-completion || die - bin/gh completion -s zsh > gh.zsh-completion || die + einfo "Building completions" + go run ./cmd/gh completion -s bash > gh.bash-completion || die + go run ./cmd/gh completion -s zsh > gh.zsh-completion || die } src_install() {