mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-util/github-cli: add 2.81.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
parent
1b4b2a64da
commit
a128cdbfe7
@ -10,3 +10,5 @@ DIST github-cli-2.76.2-deps.tar.xz 107178868 BLAKE2B b4688c6a0db9fd6b88c59ac6a34
|
||||
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
|
||||
DIST github-cli-2.81.0-deps.tar.xz 108440808 BLAKE2B 13f9cedd3c03a4100f38fe560c5a22cd76059cdb8a8de62591b1eeb086d663e5e828732ac1e00ba8edc217a6d6178d81b00422d85b5b9a51fc48bb7566ae8d53 SHA512 4f7b32a364298bf5f472e17dc1ddc6b54f4a602391ab45307a4927a1dd81d58eefa3a623b7126aa0239d00230ef036c5d1f4f94fd9db8445f1f37f2fa15d3cee
|
||||
DIST github-cli-2.81.0.tar.gz 15794402 BLAKE2B 363f47fd745f5c5b14dcd56d8666eb0f49cb322c61c47079f6f7a177b17344be05f07a46c6d26736fb385a3df130b58b39da7abe15742e1efc2584699666e669 SHA512 bfb89e594f10561360b0a9433eda4da3c65f7a8e0603b7a5bdb2f1daad1349d8a0b0688c66d3a7c87d44fbb8f6aabf17b410bb94055e40991a81b571580919d1
|
||||
|
||||
44
dev-util/github-cli/github-cli-2.81.0.ebuild
Normal file
44
dev-util/github-cli/github-cli-2.81.0.ebuild
Normal file
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user