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/Manifest12
-rw-r--r--dev-util/github-cli/github-cli-2.31.0.ebuild60
-rw-r--r--dev-util/github-cli/github-cli-2.32.1.ebuild60
-rw-r--r--dev-util/github-cli/github-cli-2.33.0.ebuild60
-rw-r--r--dev-util/github-cli/github-cli-2.42.0.ebuild60
-rw-r--r--dev-util/github-cli/github-cli-2.65.0.ebuild (renamed from dev-util/github-cli/github-cli-2.27.0.ebuild)26
-rw-r--r--dev-util/github-cli/github-cli-9999.ebuild28
7 files changed, 13 insertions, 293 deletions
diff --git a/dev-util/github-cli/Manifest b/dev-util/github-cli/Manifest
index 9792f27ce619..7b0dc01e0fd1 100644
--- a/dev-util/github-cli/Manifest
+++ b/dev-util/github-cli/Manifest
@@ -1,12 +1,4 @@
-DIST github-cli-2.27.0-deps.tar.xz 106343228 BLAKE2B ac99c816089dd7cc309dcb0984d87477e8b733ce938ac4b75c86357d63145ed4d4635d8c344fb68c806241636c7a84da372e228d8c074ad08b695c266b5c83ec SHA512 caa52b8c4216f2cde4bfd33df3240b79401e91574061d6417cf78c8049e617996aa20b6dd09aa7ab8e7f9f5ebaa55b2f997da47d153d95e6d413707c1a7fc3c3
-DIST github-cli-2.27.0.tar.gz 828409 BLAKE2B 1c543dbf8caf39198107a71bcde159996e6a333c9a0949d4a8862e72255246d558e72e35e13947bbc4a3122a101a623c45681c6ddf127d1f4a425b7ff03ad3d6 SHA512 ea475e828ac28dca3ba5a12a5340df697c4dad2d76140eb591b822e438a78511d82e4786b6949fb52396d8b1ef07d70b7d0b2a5a378785cf4b35d084829d1bea
-DIST github-cli-2.31.0-deps.tar.xz 106505536 BLAKE2B cfd4fd3b11839edeef86382b15a2adc561d9d8377b3fe75d896914820e70708cf9781966e25afed3538c284a17efb82da4087613ab74c1a4acb2fb62d76b7f67 SHA512 e9f339d400841541d6aefb8b1725d36a5b6351edcdd4bc7ec25eb75cb8d15041a995e1bbcf9506ce5d96ea2bdaccf02077e37f593917ea3157937ea466e7f5a3
-DIST github-cli-2.31.0.tar.gz 888221 BLAKE2B ad1d0125ca043f180d1cb46eb4413ea654e3ab23ea72cac10c04c40f5858fda825b6cfa2022454293018416a1ef12b8182fe1bdfaf6fea977145503689a062a0 SHA512 e0dbdba446666d8a4ce9edb1b7387f26b8a865cf35d1006e86547ff44b7bffe78b29885b4e5e9654f966a6121d67e0097f4fc759405ffc9d34ca430032ed556a
-DIST github-cli-2.32.1-deps.tar.xz 100042076 BLAKE2B d362088e2fd24938c52c352ca88a2af76f31c8f4048bd0845043668cfe5d438921623ddf99f54d4239dc2cce927d147e1a4ba16fceef4f824b9a2e34540854e2 SHA512 7964719eed7383169496c6f156320eb2c9aa2b7fae374c025bad2dad2215e0502662a0a7da3722cfb660132e6cf5620cb4189ce8aaf9cf6a36f0cda29d28d12b
-DIST github-cli-2.32.1.tar.gz 897387 BLAKE2B 0a46b501958b3fc1b5d3e5467292dd3a3e4cc721d5ac822f637e26f345654bed01bdb27283a86351460c5f2650a54b635abf839e312bfe9b98b794eb60880aff SHA512 4b5b56809110c6b7c19dec344c7171df0eed0bcf5388bc0c63ce5ac4a3b6f4606f1e8de207f5b6889834013059013e8a4b6701b82b933322ed4fcf0e48144b72
-DIST github-cli-2.33.0-deps.tar.xz 100032668 BLAKE2B bffaed49d2724951a34e37632ff131f47f66fb79516a42482d2e0d7399b29266cad5b8519912feb33e279d5b7d39b76efaeaaa48ff462db9912e063b41ce8dc3 SHA512 aefdb7c12507dbf02acccc943be9074f7eac12beefd7a5f8a7a08bbacbbaa46cd91f46262258b3fc0a00b41fb0ccf4816621e9ebe4f2bb10b5f6c5e6260ac003
-DIST github-cli-2.33.0.tar.gz 898066 BLAKE2B 0af992e0687c1e5c2c3552e35419a65af348f76eee91f38377396eb7e7713e8c982b4677a9c35f329380d0281b443e342bb6470b0eade85118248e41333266db SHA512 76a5490964828e375eb3cc0a625c25e6005f9cd44ae40ec04432fd7672bed4628b4db4ffdc713ec2cb59f00c6308e5cf2141a3c932d08ccef4fe5ef676b09916
-DIST github-cli-2.42.0-deps.tar.xz 101578632 BLAKE2B 54153cd48dac9b2f3fc094b5060cca3d9911bda33dfd7e1b42f23b74f97597a664c8e490bec70c6e1215c2310aa6862398da035c3f662e819e158802b915d216 SHA512 4e7c0ac720ef8e2c5ab4c6d0918abc0e8a6c17df31566f4b0e49b74f90225093b792ec6d60ffb98db1a53eaa7a52e2fbcb1a059c57972e344522216a85736f90
-DIST github-cli-2.42.0.tar.gz 825997 BLAKE2B dadb64c62f55ed02c48b56ad02762b806fd4eb0c26c5d9509c9976b6fbddfc542fe46bc54c1790394ac7874e7632f655c001fdcd6cc629fa1fa1b4fc984211b3 SHA512 b8e76ea0bda9f9e78d9b8d5ff57326c1fa77f280688948facd83549d88f3d2259516ad9bb0f0455cecfa34168ef317f01683383cbe1b41e150b5ea9ab8c2fa2b
DIST github-cli-2.52.0-deps.tar.xz 89577956 BLAKE2B 5259f324843c92ea1781d14e948893c3632438d46cc05469edac4557e9977c6df889c796fe4f7b1bcb4b6d64830b8c5c5b5cb2b37a21757990ede84a0fbe4c75 SHA512 bb9b28a8b9251d8cb4082ea5a040bd7d844fa2fa4243f8933502dccbb0673349dd1b0b6191c60905266eab88bdb1e3f7df6e53a3bea13e98236a36e6c0dfab7b
DIST github-cli-2.52.0.tar.gz 988293 BLAKE2B 383a6e88a509cbe25544088f7260335b264d36f0acfc1ca4dbd648b911671d1fe0a4b85d678225bc81ba4a236de8acc2ba57bc55b19cfc53c5dcb746d3ab1a76 SHA512 bb43f4160eebfa61c56d1272f379689f33e115d9b00cc0af40212cdb2964fb9953f25cee777baef95dc751e80a64e5b374c98e07ac5118963a43f8b29100c27b
+DIST github-cli-2.65.0-deps.tar.xz 68106872 BLAKE2B cc32318356dda4c703721243f57e1cefa7d6baec6e08fe02b14fca3f4e4adcbc576b3561be8046e63af800f0a1421fe71d476b0b4b6e0df0adec7f108b7f98ee SHA512 81684d9c810098a922d604fa52e5e849bff78625b72afc55b4823d8b8d0ba0eca200a53f390637e305c3acef8c4b77ca90e423f196047d84dc264a7ebeba6b8a
+DIST github-cli-2.65.0.tar.gz 12939630 BLAKE2B 9d4f5ab0ae8d2b2638a2aeeedefd7fcca7b526dcc71595e22fc8a1a834ed613959999dc7590a8799cb2682b9710c8701a94e7d4cd5a469d6e88b0a551e030f3d SHA512 801d98427e0c58961840e6f6be5fd0a4863da6da1aa31d3af43eb440f2a9dda930d8e7226ba69ebfb04393928092924de913ecb582c0588682773b6e4c76165b
diff --git a/dev-util/github-cli/github-cli-2.31.0.ebuild b/dev-util/github-cli/github-cli-2.31.0.ebuild
deleted file mode 100644
index 4484ca69c4ef..000000000000
--- a/dev-util/github-cli/github-cli-2.31.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit bash-completion-r1 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}"
- # 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
-}
-
-src_install() {
- dobin bin/gh
- dodoc README.md
-
- doman share/man/man?/gh*.?
-
- newbashcomp gh.bash-completion gh
- insinto /usr/share/zsh/site-functions
- newins gh.zsh-completion _gh
-}
diff --git a/dev-util/github-cli/github-cli-2.32.1.ebuild b/dev-util/github-cli/github-cli-2.32.1.ebuild
deleted file mode 100644
index 4484ca69c4ef..000000000000
--- a/dev-util/github-cli/github-cli-2.32.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit bash-completion-r1 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}"
- # 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
-}
-
-src_install() {
- dobin bin/gh
- dodoc README.md
-
- doman share/man/man?/gh*.?
-
- newbashcomp gh.bash-completion gh
- insinto /usr/share/zsh/site-functions
- newins gh.zsh-completion _gh
-}
diff --git a/dev-util/github-cli/github-cli-2.33.0.ebuild b/dev-util/github-cli/github-cli-2.33.0.ebuild
deleted file mode 100644
index 4484ca69c4ef..000000000000
--- a/dev-util/github-cli/github-cli-2.33.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit bash-completion-r1 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}"
- # 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
-}
-
-src_install() {
- dobin bin/gh
- dodoc README.md
-
- doman share/man/man?/gh*.?
-
- newbashcomp gh.bash-completion gh
- insinto /usr/share/zsh/site-functions
- newins gh.zsh-completion _gh
-}
diff --git a/dev-util/github-cli/github-cli-2.42.0.ebuild b/dev-util/github-cli/github-cli-2.42.0.ebuild
deleted file mode 100644
index 4484ca69c4ef..000000000000
--- a/dev-util/github-cli/github-cli-2.42.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit bash-completion-r1 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}"
- # 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
-}
-
-src_install() {
- dobin bin/gh
- dodoc README.md
-
- doman share/man/man?/gh*.?
-
- newbashcomp gh.bash-completion gh
- insinto /usr/share/zsh/site-functions
- newins gh.zsh-completion _gh
-}
diff --git a/dev-util/github-cli/github-cli-2.27.0.ebuild b/dev-util/github-cli/github-cli-2.65.0.ebuild
index 4484ca69c4ef..cd54bf0e7d58 100644
--- a/dev-util/github-cli/github-cli-2.27.0.ebuild
+++ b/dev-util/github-cli/github-cli-2.65.0.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"
@@ -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
}
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
}