From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6BC31581FD for ; Mon, 08 Sep 2025 18:07:46 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AD8DA335DB7 for ; Mon, 08 Sep 2025 18:07:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9FE16110213; Mon, 08 Sep 2025 18:07:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 92C96110213 for ; Mon, 08 Sep 2025 18:07:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 32F5F335DB7 for ; Mon, 08 Sep 2025 18:07:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D5D138A3 for ; Mon, 08 Sep 2025 18:07:43 +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: <1757354855.e152c47a64b13a2b621410dd31557e1f7d5ce53e.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/Manifest dev-util/github-cli/github-cli-2.78.0.ebuild X-VCS-Directories: dev-util/github-cli/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: e152c47a64b13a2b621410dd31557e1f7d5ce53e X-VCS-Branch: master Date: Mon, 08 Sep 2025 18:07:43 +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: 954f24bc-5e24-4639-9aa5-0c6f56e72ce9 X-Archives-Hash: 5a68b55f589849f68331a8892cde0c73 commit: e152c47a64b13a2b621410dd31557e1f7d5ce53e Author: William Hubbs gentoo org> AuthorDate: Mon Sep 8 18:07:16 2025 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Sep 8 18:07:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e152c47a dev-util/github-cli: add 2.78.0 Signed-off-by: William Hubbs gentoo.org> dev-util/github-cli/Manifest | 2 ++ dev-util/github-cli/github-cli-2.78.0.ebuild | 44 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-util/github-cli/Manifest b/dev-util/github-cli/Manifest index eaa320fce50f..489d9bd4d459 100644 --- a/dev-util/github-cli/Manifest +++ b/dev-util/github-cli/Manifest @@ -8,3 +8,5 @@ DIST github-cli-2.72.0-deps.tar.xz 69413936 BLAKE2B d5eac29534af7ee3d0ad750e0c65 DIST github-cli-2.72.0.tar.gz 13025051 BLAKE2B d3bcffbd2d932b363104f4483fe2bcfb561aacab4f09da08fe4c1353150b0953d746d6a3b845811b298242abe04b70719d542049246575e5174a069076cb6469 SHA512 3375a00fffa73fe54ab76330b8c77a70033b0860bed729e3a4b794bbcdc2bbf937e98c43fc124dcf44ec0eab60c52a9b530c5cc07d5eca301b0f7a47d156d050 DIST github-cli-2.76.2-deps.tar.xz 107178868 BLAKE2B b4688c6a0db9fd6b88c59ac6a348e5ba4047d3d42c92a80e005460862cbf6837161b8e3688aba7bb8840aa459c9ebcb5341a25c5eff781a9624d936381d58a36 SHA512 abd82f12b8ae6c4747fee646c807f657be0152a1253615081e5f9581f09eab3f03b5c3187c6d44596f0eeeffae6b20c4f93a440fc1ca45e2159537fe604d1c62 DIST github-cli-2.76.2.tar.gz 15716947 BLAKE2B 4f7355c5985773083df7f01bbf8928ec921f71a537dcbcaa54eb6e6625fe07860cf783d3cf6d67c36d3b91d831177e3ca0779bf36c7082543b51e96cf2a834b5 SHA512 e934a4bc94b112d6871902eef918bef3748f0ecb6d0ff6b2595f70377cc15d587b865327b999f9c9efeb64be189e0ee79d4c6e26e4f80804798436480a2d31bc +DIST github-cli-2.78.0-deps.tar.xz 108123316 BLAKE2B 2a8a2f52cb1bab1048787ca092a72097a45f58bdd965a855c05b230d9f9623332d4923059476b9ec2c9e27d051b2d684e70a9c938ae6b3b1fb9752ee25b5669b SHA512 c8bae8ec82b3c05eb86d446e6076a490a9f887658e91a96a399e4fad6e00963e8bce6eda87c04443a8cab1a679cd0102c594219945a933fd97840b31ac098e89 +DIST github-cli-2.78.0.tar.gz 15722433 BLAKE2B d37bcfe97bbe0008f37c5ab5b63ea1773d354c50a23dde4ddf5dd70832c3f38f10140779ee5a9753f7670d47c9275bc38e0aef940934968ab67acecbbd1e9d04 SHA512 bc4b3025bfcbeb5bc5a1f43672cc75a8acc2f5a8dab5be9e4eca4ba51d5a8ea764ab7a1b59d0e50eb6912c205f7ede56a724349ad8f5b6687eb9dbf57b414137 diff --git a/dev-util/github-cli/github-cli-2.78.0.ebuild b/dev-util/github-cli/github-cli-2.78.0.ebuild new file mode 100644 index 000000000000..396379392a33 --- /dev/null +++ b/dev-util/github-cli/github-cli-2.78.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="GitHub CLI" +HOMEPAGE="https://github.com/cli/cli" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cli/cli.git" +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 ~arm64 ~loong ~ppc64 ~riscv" + S="${WORKDIR}/cli-${PV}" +fi + +LICENSE="MIT Apache-2.0 BSD BSD-2 MPL-2.0" +SLOT="0" + +RDEPEND=">=dev-vcs/git-1.7.3" + +RESTRICT="test" + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi +} + +src_compile() { + [[ ${PV} != 9999 ]] && export GH_VERSION="v${PV}" + emake prefix="${EPREFIX}/usr" bin/gh manpages completions +} + +src_install() { + emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install + dodoc README.md +}