public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/github-cli/
Date: Fri, 12 Jun 2020 21:14:07 +0000 (UTC)	[thread overview]
Message-ID: <1591996366.23d6e910651b74097e39c40d22e2bc8675d1b31a.williamh@gentoo> (raw)

commit:     23d6e910651b74097e39c40d22e2bc8675d1b31a
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 12 21:12:46 2020 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> 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 <williamh <AT> 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() {


             reply	other threads:[~2020-06-12 21:14 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-12 21:14 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-14 14:03 [gentoo-commits] repo/gentoo:master commit in: dev-util/github-cli/ William Hubbs
2025-02-10 17:38 William Hubbs
2025-02-10 17:36 William Hubbs
2025-01-08 19:04 William Hubbs
2025-01-08 19:01 William Hubbs
2025-01-08 19:01 William Hubbs
2024-08-15 21:18 Sam James
2024-08-15 21:18 Sam James
2024-06-27 16:48 William Hubbs
2024-01-12 22:32 William Hubbs
2023-09-01 18:08 William Hubbs
2023-08-07 19:31 William Hubbs
2023-06-24  2:59 Sam James
2023-06-22 20:39 William Hubbs
2023-06-22 20:38 William Hubbs
2023-04-13 15:02 William Hubbs
2023-01-16 20:11 William Hubbs
2022-12-01 21:16 William Hubbs
2022-12-01 21:13 William Hubbs
2022-10-19 20:42 William Hubbs
2022-10-19 20:42 William Hubbs
2022-08-25  7:07 WANG Xuerui
2022-08-25  7:07 WANG Xuerui
2022-08-05 19:00 William Hubbs
2022-08-04 18:41 Arthur Zamarin
2022-08-04  6:27 Arthur Zamarin
2022-06-22 14:55 William Hubbs
2022-06-22 14:55 William Hubbs
2022-06-01  1:51 Sam James
2022-06-01  1:51 Sam James
2022-06-01  1:51 Sam James
2022-06-01  1:51 Sam James
2022-05-24 15:12 William Hubbs
2022-05-24 15:12 William Hubbs
2022-05-24 15:04 William Hubbs
2022-04-20  1:44 William Hubbs
2022-03-10  2:37 Yixun Lan
2022-02-22 15:25 William Hubbs
2022-02-22 15:10 William Hubbs
2022-01-01 18:05 William Hubbs
2021-08-26 16:09 William Hubbs
2021-08-26 16:07 William Hubbs
2021-08-10 21:02 William Hubbs
2021-08-10 21:02 William Hubbs
2021-05-25 11:12 Joonas Niilola
2021-04-16  6:04 William Hubbs
2021-04-02 17:29 William Hubbs
2021-03-14 17:58 William Hubbs
2021-02-24 19:22 William Hubbs
2021-01-29 16:40 William Hubbs
2021-01-29 16:37 William Hubbs
2021-01-29 15:54 William Hubbs
2020-12-23 17:03 William Hubbs
2020-09-17 14:12 William Hubbs
2020-07-26 17:52 William Hubbs
2020-06-07 18:00 William Hubbs
2020-05-31  4:18 Robin H. Johnson
2020-05-31  4:18 Robin H. Johnson
2020-05-31  4:18 Robin H. Johnson
2020-05-26 20:19 William Hubbs
2020-05-18 15:48 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1591996366.23d6e910651b74097e39c40d22e2bc8675d1b31a.williamh@gentoo \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox