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: Wed, 08 Jan 2025 19:01:16 +0000 (UTC) [thread overview]
Message-ID: <1736362861.92005f922b965c9e1e59b27b09f22289d28e47bc.williamh@gentoo> (raw)
commit: 92005f922b965c9e1e59b27b09f22289d28e47bc
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 8 19:01:01 2025 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jan 8 19:01:01 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92005f92
dev-util/github-cli: sync live
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
dev-util/github-cli/github-cli-9999.ebuild | 28 ++++++----------------------
1 file changed, 6 insertions(+), 22 deletions(-)
diff --git a/dev-util/github-cli/github-cli-9999.ebuild b/dev-util/github-cli/github-cli-9999.ebuild
index 2ec1463144a6..cd54bf0e7d58 100644
--- a/dev-util/github-cli/github-cli-9999.ebuild
+++ b/dev-util/github-cli/github-cli-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit bash-completion-r1 go-module
+inherit go-module
DESCRIPTION="GitHub CLI"
HOMEPAGE="https://github.com/cli/cli"
@@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]]; then
else
SRC_URI="https://github.com/cli/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
- KEYWORDS="~amd64 ~loong ~riscv"
+ KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
S="${WORKDIR}/cli-${PV}"
fi
@@ -34,27 +34,11 @@ src_unpack() {
}
src_compile() {
- [[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}"
- # 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
-
- einfo "Building man pages"
- emake manpages
-
- 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
+ [[ ${PV} != 9999 ]] && export GH_VERSION="v${PV}"
+ emake prefix=/usr bin/gh manpages completions
}
src_install() {
- dobin bin/gh
+ emake prefix=/usr DESTDIR="${D}" install
dodoc README.md
-
- doman share/man/man?/gh*.?
-
- newbashcomp gh.bash-completion gh
- insinto /usr/share/zsh/site-functions
- newins gh.zsh-completion _gh
}
next reply other threads:[~2025-01-08 19:01 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-08 19:01 William Hubbs [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-02 17:16 [gentoo-commits] repo/gentoo:master commit in: dev-util/github-cli/ William Hubbs
2025-10-02 17:14 William Hubbs
2025-09-16 4:42 Sam James
2025-09-15 19:58 Sam James
2025-09-08 18:07 William Hubbs
2025-08-05 21:40 William Hubbs
2025-08-05 21:05 William Hubbs
2025-05-14 14:03 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
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-12 21:14 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=1736362861.92005f922b965c9e1e59b27b09f22289d28e47bc.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