commit:     9612a8a5c1c6badd9cc7bc62abdaaa8025314e3e
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  2 19:05:57 2025 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Oct  2 19:17:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9612a8a5

dev-util/gitlab-cli: add 1.72.0

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-util/gitlab-cli/Manifest                 |  2 ++
 dev-util/gitlab-cli/gitlab-cli-1.72.0.ebuild | 37 ++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-util/gitlab-cli/Manifest b/dev-util/gitlab-cli/Manifest
index bd108f0cf9be..8f62d89424e0 100644
--- a/dev-util/gitlab-cli/Manifest
+++ b/dev-util/gitlab-cli/Manifest
@@ -5,3 +5,5 @@ DIST gitlab-cli-1.57.0.tar.bz2 16910116 BLAKE2B 
3a914685937bf742a7ba211dc58af719
 DIST gitlab-cli-1.65.0-deps.tar.xz 45676844 BLAKE2B 
62def35751dfb2fed5ac811520f45452468a71ae24947154a4731ea7011430626d3696cdad5e7887abc32abd74a587a2ceb56f6c7e2118e7ed619d5328f17dc7
 SHA512 
87edf69548b80277050bfd52ef53f4a3830042c512e4329353aa8c9ddc24442f2227d2c7ee4aa857b52760032e4e0b421f2ea0290f43d4dcbc280505e5183436
 DIST gitlab-cli-1.65.0-man.tar.xz 30832 BLAKE2B 
cf0aacd559b9a98bb1ac85137020ea48f2ed7ae4fc61ae8159b0d019cbd3573c9140e5f6036ae31f77b578ce2ff28929eb8c44f4da9ed9ff8e3ebe7997d96c92
 SHA512 
b828de026c1f3c891e4a5da411c3d292933a9f82ddadeb1eaadf640934746bd9955ed19b8ebb509374057dfd91386451986cacb48b015c4b8a9495f70eaf3d7c
 DIST gitlab-cli-1.65.0.tar.bz2 16964412 BLAKE2B 
5cb5d073c5624acfe890eb73fd504aadadd8cfd2d33040db25234f840a1d78e0afd149eb1c2d7f23d277e6f74cbfd5fd53734d7b185f26b5c3d59c3134d455d4
 SHA512 
e01548eb4419ebd441c991b7e30037ddc7a6184a7ddbcde4206a45a0d64a41baaf044db137f56e781eeadef85421f793d59b162922fb32a31f886092f44406e9
+DIST gitlab-cli-1.72.0-deps.tar.xz 46902560 BLAKE2B 
baba800d46585221cdbba1138772fd1f491cacdc8059198f02647547f53d012917badeb952db3753e612fc9c6457bd123b68fce0ee1bc8860666a35f2dece6d0
 SHA512 
c0ed1687ef4bb4854cb1d08c7d73aa98b5d1e73078ae3c8c8a987ac54544fe835741945b2b319e9d2327c61e74a0d4ee6180adbf0d1cb828a2932e523cbce1ae
+DIST gitlab-cli-1.72.0.tar.bz2 16999349 BLAKE2B 
3bc0f444d6a65854fa9e781c22c39f17a6e05166d7d18b917674112141e32018a8593140e29a62cce6db439990704661f6c0e166fd30bd7931f4192e94580558
 SHA512 
7dc223762c1d2ff1fa9143aeb697e16918884450b465a5d1a5201f4a3ac147dc1957d53cb4a20a13afc68c8ca43e5e932ae89a589d309149bbb7a864ce62ff89

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/*
+}

Reply via email to