summaryrefslogtreecommitdiff
path: root/dev-util/github-cli
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/github-cli')
-rw-r--r--dev-util/github-cli/Manifest2
-rw-r--r--dev-util/github-cli/github-cli-2.72.0.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/github-cli/Manifest b/dev-util/github-cli/Manifest
index e80047cb615e..1d383f6f87c6 100644
--- a/dev-util/github-cli/Manifest
+++ b/dev-util/github-cli/Manifest
@@ -4,3 +4,5 @@ DIST github-cli-2.66.1-deps.tar.xz 72745840 BLAKE2B 2d57fd21d05a56ef6c7cd098d512
DIST github-cli-2.66.1.tar.gz 12962922 BLAKE2B bd0f56928fd24823782b1191afa44d8aaac17e501ac77981d53fe83fee56e70ee2f7602f3e43f8fdcef899f63784861e78aae6a86f286c44f175a0565616d9d5 SHA512 8d25a7c9cb79e94316362590f133aabe8d78bf7d180506b7e6980fabd9d7b4ad8d405f55c0439dac2293b5998e3f951fd05e469dc197f24095a51a872b6cd925
DIST github-cli-2.68.1-deps.tar.xz 72745620 BLAKE2B 295590956a6ecfc6cf4dc0a3bd589edfacf951f4e5b975438d4688488ba1b37e7d08c282e34a8cc41e196be3a9f42073a773b77be9915d5094e183b1307f6bf8 SHA512 d7a2078ff6576128accc62a0bf409b0b03afaa2e6da5392441c6f8960a715218578685d8a06c308b2d254a92282e981a17f8d5cfabda407b4c55c0cadb8323ff
DIST github-cli-2.68.1.tar.gz 12985312 BLAKE2B eaa232027117c3be638a68b5dd5c45fbda7b076fadaee8bc2dde81212fd096b0ee759cba4df473c7402a84e80fdf2f8764d79db1d8df519a36cc2529eef9fa1f SHA512 cc46186151ab2711eb3b9af61e3339db542db389f594db489942f425a0101b5878cd49800f29e7bab3eeeeb67f6147f540994b9c9cac6d644aef8e4b1c3104e5
+DIST github-cli-2.72.0-deps.tar.xz 69413936 BLAKE2B d5eac29534af7ee3d0ad750e0c6555f3c85c8576d11a87fc9149615ebf54e2400bb8a9da06a38709be982525e8007eccfcbb5f37533714388959aa23ab35b187 SHA512 de86696382ecaf20831d015ad878fcd8c30c1698f38afba427aead255cad552dcd28ba9b6b9e5f0e1b63687402b3099e178519fab49f851da04761b5474c24d5
+DIST github-cli-2.72.0.tar.gz 13025051 BLAKE2B d3bcffbd2d932b363104f4483fe2bcfb561aacab4f09da08fe4c1353150b0953d746d6a3b845811b298242abe04b70719d542049246575e5174a069076cb6469 SHA512 3375a00fffa73fe54ab76330b8c77a70033b0860bed729e3a4b794bbcdc2bbf937e98c43fc124dcf44ec0eab60c52a9b530c5cc07d5eca301b0f7a47d156d050
diff --git a/dev-util/github-cli/github-cli-2.72.0.ebuild b/dev-util/github-cli/github-cli-2.72.0.ebuild
new file mode 100644
index 000000000000..cd54bf0e7d58
--- /dev/null
+++ b/dev-util/github-cli/github-cli-2.72.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=/usr bin/gh manpages completions
+}
+
+src_install() {
+ emake prefix=/usr DESTDIR="${D}" install
+ dodoc README.md
+}