diff options
author | William Hubbs <williamh@gentoo.org> | 2022-05-24 10:03:12 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-05-24 10:04:07 -0500 |
commit | ae6a319c710261f8fdc8bd167ac705f6841ad71d (patch) | |
tree | 3437a8ec524a23aa9b73ea82a6f3f8eac1a18223 /dev-util/github-cli | |
parent | net-libs/nativebiginteger: drop 0.9.50 (diff) | |
download | gentoo-ae6a319c710261f8fdc8bd167ac705f6841ad71d.tar.gz gentoo-ae6a319c710261f8fdc8bd167ac705f6841ad71d.tar.bz2 gentoo-ae6a319c710261f8fdc8bd167ac705f6841ad71d.zip |
dev-util/github-cli: add 2.11.0
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.11.0.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-util/github-cli/Manifest b/dev-util/github-cli/Manifest index 8f13728bda4c..bb8cc96bab3f 100644 --- a/dev-util/github-cli/Manifest +++ b/dev-util/github-cli/Manifest @@ -48,6 +48,8 @@ DIST cloud.google.com%2Fgo%2Fstorage%2F@v%2Fv1.6.0.mod 736 BLAKE2B 2337ea8dca35e DIST cloud.google.com%2Fgo%2Fstorage%2F@v%2Fv1.8.0.mod 622 BLAKE2B 621e3faa3335ebec92c376298699510d800c2653c3680a438095c3dd9d6ba1f83f13a0302f316beea786b8f606ff3b4f62d21abe63d72f3f5c4e12fb81f61511 SHA512 409dad03104a4ac6b4a8c6da3540ab382345c86e48732f2b37d64ae2bc1c721d9f0a1ed0824a36085baa7102d2626e84f44706b16297623e8deb58fa9e24ba38 DIST dmitri.shuralyov.com%2Fgpu%2Fmtl%2F@v%2Fv0.0.0-20190408044501-666a987793e9.mod 36 BLAKE2B b430ef9388b0dfe932b201495a00275a6036338c99160d7362556be1e25924584b0802061d193533f23b1f76719dfd6a9484572babd25f1af0e53fd9bf07ac00 SHA512 196affe091247f94ceda4b56629bd62d4ee2b397f2c0f56c9534c02e43531b46705ad33543b58c1a4fc7a48e25e5923db087fe0485a93966a4086581c0d1d3e1 DIST github-cli-2.0.0.tar.gz 548905 BLAKE2B f97d8be57270368999bd62eef1eba3e5ba1a9a7b1f879c3d3f8ef72b2fd68554fc4be37318b43054a7218e81f2984c0b2c2afdc226e81e1b51eb2fb15df72ed8 SHA512 3b0008894690a9a097259410e144e0031dee7c876e0b862e5219009d82a2f50d00ad22e3d92a16c369e9b1f0f51668e868c08d9eeb718dfe8a0337aa00233435 +DIST github-cli-2.11.0-deps.tar.xz 76402168 BLAKE2B 210c9861199caf92aff566334530fe953cd66134219b88d83fc973920f9264b2343d1f3b16338b190b64333eaa825fd498e7e5011f03c87c2f8786316332e4f4 SHA512 f147e76cf0705d3e8da2296c038911c2b11e422d14dfdfce34bf31d0813189fba501878dcc5c37323b5ece37fa4948730c351c5438cc8a11e99677d2b8678801 +DIST github-cli-2.11.0.tar.gz 716133 BLAKE2B 10c35dd8dd52e930c8dbae32d4ad5e02f2cb17872f9f1a4652ca6be7df2f8d38b18b98a1cf3577a249830691431f3408e0c3e00fda588e8c35412e32efcf2597 SHA512 4cccaf9baf1486ab031ffc4b0caf96b0b8eb0f25b52a303cc642ff35586139c13727b20cc9d4dc90335ba5b630f8778c49c6d7dcfdeb709df8c0de536e033ada DIST github-cli-2.4.0.tar.gz 637511 BLAKE2B 09576f613bf07b4785619b4a0fa035b37e725aa96657998f7f4c3c05da118f781f85e29e48e8db6c210c284e3e43f482eac5c5f581b56de53c3119f3f47eda12 SHA512 393a09cbd838381627e349b4cd391755794ee71a2e9cf9fee14d155aabb48f1672b7fc100ea6d2782b5e2ca69c85bdc8f99d3aee81ce73e48e1ebc2ae79b91a8 DIST github-cli-2.5.1.tar.gz 659105 BLAKE2B 0dd35ac0b637420bfec007dc2abc0357155ad617b833538bbd9a5781564718bd35326374a7aa7f01d474330f4304b8cb304970480786582fe51bf1af2d6397b3 SHA512 9fcde985114d59f71a6f4bbd52ed603da748225111af745dc211ca750e58552a19e03b723646906d819b9c2e1d3211939de66576a997679c0e8e42ddeeb296de DIST github-cli-2.8.0-deps.tar.xz 157288896 BLAKE2B 92937cf3c0928c6b8b29e0731d7a94f1df59a59fcbebda9f5a71d9da01963581934fcb112675b648d46398b3b7b522a9c2f5d08103fd31acee77ecec50c79508 SHA512 b0bdc79ca14a5d8309bec336c36e3b95bc0f2aa868ee611fa87f295ac7e5ff24399971ff88109d3d399fedecc311ab10af0f708a812ff0277744c2dae3d80129 diff --git a/dev-util/github-cli/github-cli-2.11.0.ebuild b/dev-util/github-cli/github-cli-2.11.0.ebuild new file mode 100644 index 000000000000..ec899ad1ea48 --- /dev/null +++ b/dev-util/github-cli/github-cli-2.11.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 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 ~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}" + # Go LDFLAGS are not the same as GCC/Binutils LDFLAGS + unset LDFLAGS + # 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 +} |