diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-util/gitlab-cli/gitlab-cli-1.72.0.ebuild | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | srcux-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz srcux-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz srcux-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-util/gitlab-cli/gitlab-cli-1.72.0.ebuild')
| -rw-r--r-- | dev-util/gitlab-cli/gitlab-cli-1.72.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/gitlab-cli/gitlab-cli-1.72.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.72.0.ebuild new file mode 100644 index 000000000000..f9e21db62484 --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.72.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +# update on every bump +GIT_COMMIT=294f0726782123e38b76aa10a90f246c6a641cef + +DESCRIPTION="the official gitlab command line interface" +HOMEPAGE="https://gitlab.com/gitlab-org/cli" +SRC_URI="https://gitlab.com/gitlab-org/cli/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" +# SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-man.tar.xz" +S="${WORKDIR}/cli-v${PV}-${GIT_COMMIT}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# tests communicate with gitlab.com and require a personal access token +RESTRICT="test" + +QA_PRESTRIPPED=usr/bin/glab + +src_compile() { + emake \ + BUILD_COMMIT_SHA=${GIT_COMMIT::8} \ + GLAB_VERSION=v${PV} \ + build manpage +} + +src_install() { + dobin bin/glab + dodoc README.md + doman share/man/man1/* +} |
