commit:     ca647e88eb43d57e4805396a8179643bf19c8bd1
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  6 16:53:45 2025 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Feb  6 16:54:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca647e88

dev-util/gitlab-cli: add 1.52.0

Closes: https://bugs.gentoo.org/949022
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-util/gitlab-cli/Manifest                 |  2 ++
 dev-util/gitlab-cli/gitlab-cli-1.52.0.ebuild | 31 ++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-util/gitlab-cli/Manifest b/dev-util/gitlab-cli/Manifest
index 607efb5c5f7a..a1030da4ab37 100644
--- a/dev-util/gitlab-cli/Manifest
+++ b/dev-util/gitlab-cli/Manifest
@@ -1,2 +1,4 @@
 DIST gitlab-cli-1.51.0-deps.tar.xz 21574644 BLAKE2B 
ab3309e6e1bd413a306e3c1aec172b191cd223bee3b941e1e21811951311e477e8d4118f20a89a8ee9a898eaf30d7f5ce8fc30f4eadc7ac07d7a76fe86288361
 SHA512 
2628b65c1f1c4c9207eba14e3c36656a724bbce48ad371a264d361fe52499eb206b35ebd43eee25e80b896d40250643d3b69dc954b70ef30ff8227fc0658c845
 DIST gitlab-cli-1.51.0.tar.bz2 16865378 BLAKE2B 
65091d664ec3a2148c670407c5c92dd2b64d92662255b8ba6f3911d6eb79a55ee9e5c83da2b48615de6bb996aaa361b259b359230070198250d959e2b2060e0e
 SHA512 
dc587d8574c924c2c69502bd6028b40533f662f1ec79f93ef42e78fca41c7cde7c30fd5cbf7cd99f8d3311802048d957553082df16368608815f637d9a362af9
+DIST gitlab-cli-1.52.0-deps.tar.xz 21580776 BLAKE2B 
fe834534c503b2af0f0b3b1c5cdf3b2af3d0fade4f791622aa57936e6f874818392d03a456b1884a1a3cd762d2fdfc5e928a721e747759705d394c75956904d5
 SHA512 
e69aa049081d5ccabefdf4ff3b43ee310d8701c97c7a9794a2a753e0295d2e2ae82b3dcc222039f7195428e2a803070dbe613617971362970de780e7d7538920
+DIST gitlab-cli-1.52.0.tar.bz2 16869127 BLAKE2B 
0039197b39af84969788a4e7492406fdf1a765d8351053bee220fe09966153bbb25802728cda67180c1edf752f93a64dd745858c0665c6e9d685867c52c8752e
 SHA512 
215c2bdf17c44ee619b6c54453f2d7d279aafc982d059a8c63c6d2ab5953b7e9d4e6c2bc9c11a9dc15f4d243ceb9e81255a9c95821bc45dd429d70f1e813bb6d

diff --git a/dev-util/gitlab-cli/gitlab-cli-1.52.0.ebuild 
b/dev-util/gitlab-cli/gitlab-cli-1.52.0.ebuild
new file mode 100644
index 000000000000..7d905d1e9191
--- /dev/null
+++ b/dev-util/gitlab-cli/gitlab-cli-1.52.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+GIT_COMMIT=4fd24da6a1f643aab839c68699b7515baa21f67a
+
+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";
+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"
+
+src_compile() {
+       emake \
+               GLAB_VERSION=v${PV} \
+               build manpage
+}
+
+src_install() {
+       dobin bin/glab
+       dodoc README.md
+       doman share/man/man1/*
+}

Reply via email to