summaryrefslogtreecommitdiff
path: root/dev-util/github-cli/github-cli-2.52.0.ebuild
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2025-02-10 11:37:45 -0600
committerWilliam Hubbs <williamh@gentoo.org>2025-02-10 11:37:45 -0600
commit5509abe4fc20aef0f6ac4976ec1e55d6209ccad6 (patch)
tree52088510c0d751d0fe4fdf780b9601ab50325955 /dev-util/github-cli/github-cli-2.52.0.ebuild
parenta6109d415d80272ac5191427ca47467c6081bedb (diff)
downloadgentoo-5509abe4fc20aef0f6ac4976ec1e55d6209ccad6.tar.gz
gentoo-5509abe4fc20aef0f6ac4976ec1e55d6209ccad6.tar.bz2
gentoo-5509abe4fc20aef0f6ac4976ec1e55d6209ccad6.zip
dev-util/github-cli: drop 2.52.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/github-cli/github-cli-2.52.0.ebuild')
-rw-r--r--dev-util/github-cli/github-cli-2.52.0.ebuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/dev-util/github-cli/github-cli-2.52.0.ebuild b/dev-util/github-cli/github-cli-2.52.0.ebuild
deleted file mode 100644
index 4484ca69c4ef..000000000000
--- a/dev-util/github-cli/github-cli-2.52.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
-}