diff options
| author | William Hubbs <williamh@gentoo.org> | 2025-02-10 11:34:16 -0600 |
|---|---|---|
| committer | William Hubbs <williamh@gentoo.org> | 2025-02-10 11:36:27 -0600 |
| commit | a6109d415d80272ac5191427ca47467c6081bedb (patch) | |
| tree | 86c9f4a93cacb4e633c611196690ece4bc4a1674 /dev-util/github-cli | |
| parent | 0569d7b325888b9f40673deefa5ba1b08fb4a213 (diff) | |
| download | gentoo-a6109d415d80272ac5191427ca47467c6081bedb.tar.gz gentoo-a6109d415d80272ac5191427ca47467c6081bedb.tar.bz2 gentoo-a6109d415d80272ac5191427ca47467c6081bedb.zip | |
dev-util/github-cli: add 2.66.1
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/github-cli')
| -rw-r--r-- | dev-util/github-cli/Manifest | 2 | ||||
| -rw-r--r-- | dev-util/github-cli/github-cli-2.66.1.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/github-cli/Manifest b/dev-util/github-cli/Manifest index 7b0dc01e0fd1..4da6a515427c 100644 --- a/dev-util/github-cli/Manifest +++ b/dev-util/github-cli/Manifest @@ -2,3 +2,5 @@ DIST github-cli-2.52.0-deps.tar.xz 89577956 BLAKE2B 5259f324843c92ea1781d14e9488 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 +DIST github-cli-2.66.1-deps.tar.xz 72745840 BLAKE2B 2d57fd21d05a56ef6c7cd098d5121838b4c0dab14565ee88c0deddd4645e2f2dbf82f4f13e19106565b790d6d2dce201200e8271863666f267e9f668f1db2fac SHA512 22294bff4cbc477e45738dd8c176b319171b20384e81f1ca9c485ed9f00163f26545deb86142c2818b968fdcabb7ae739779c75448f661a74d962424efdb9223 +DIST github-cli-2.66.1.tar.gz 12962922 BLAKE2B bd0f56928fd24823782b1191afa44d8aaac17e501ac77981d53fe83fee56e70ee2f7602f3e43f8fdcef899f63784861e78aae6a86f286c44f175a0565616d9d5 SHA512 8d25a7c9cb79e94316362590f133aabe8d78bf7d180506b7e6980fabd9d7b4ad8d405f55c0439dac2293b5998e3f951fd05e469dc197f24095a51a872b6cd925 diff --git a/dev-util/github-cli/github-cli-2.66.1.ebuild b/dev-util/github-cli/github-cli-2.66.1.ebuild new file mode 100644 index 000000000000..cd54bf0e7d58 --- /dev/null +++ b/dev-util/github-cli/github-cli-2.66.1.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 +} |
