commit:     5ecf26e6661db44d412f86268be611e7733b965f
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 10 22:51:59 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jul 10 22:52:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ecf26e6

dev-util/gitlab-cli: add 1.31.0

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

 dev-util/gitlab-cli/Manifest                 |  2 ++
 dev-util/gitlab-cli/gitlab-cli-1.31.0.ebuild | 32 ++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-util/gitlab-cli/Manifest b/dev-util/gitlab-cli/Manifest
index 860c70eacbe0..c939b0344355 100644
--- a/dev-util/gitlab-cli/Manifest
+++ b/dev-util/gitlab-cli/Manifest
@@ -2,3 +2,5 @@ DIST gitlab-cli-1.28.1-deps.tar.xz 36252544 BLAKE2B 
8c7d4ef554bec4c7e8216bffd8ff
 DIST gitlab-cli-1.28.1.tar.bz2 16781342 BLAKE2B 
0b59e60d0f8b7f1e95bbdf1aff8c22017dbf54eae2a72848a5416c35bee893341c1606249eeeaee1ffff1aa72500a8fe91389358abdf066339d9218a6ecdc648
 SHA512 
57b9d6e2b527bcaf227d8c07101129749a80203db061ac757adc84bda72576e35f6404d80972ffcecb6fecd2e9b644b0e5c9a06b6135a7e3a68c46af82de69b1
 DIST gitlab-cli-1.29.4-deps.tar.xz 38656412 BLAKE2B 
fcbb787a1fb893ae8d3452919e9e540f011ce0d35827a383f083e1492018a335f80089f2f87315329afb42bebdd1014ef6dc59e6673b930d4397edfa57384513
 SHA512 
12382eb22cf71cf11ebdfacf834dbcd08d6dc5fb02f7f705772240d896b907e8054a1847976a1ba9105b765df194eb5581dbd8d77fc191ac01b63257f1e76370
 DIST gitlab-cli-1.29.4.tar.bz2 16787326 BLAKE2B 
d0cc93c92cfb9ae01b9acfec04341c1e06a1bce36f666abec46c6bd0eab6700e2b6ea4f8cc27606da499b8246795c145a402dbf32c8f94074c0feaae34b8ec8a
 SHA512 
a212f73fb06849c1d197efac1a7cf33a09fc94a3b8d954de1d442462deb59e52ff1a89c68e6ce4deb0a1472367890947ccabebfd459fd6e172142a9931c68df1
+DIST gitlab-cli-1.31.0-deps.tar.xz 38653264 BLAKE2B 
79ebd6c213a03a7c4a45de602f3074098fc9d20fa0359d27608eb345676e02c6d302d11df3486bd275b4b4e826312d3bde80f0aed3aaf6418ad8d176ff0c26fb
 SHA512 
6cdacd95acfc607a49d1b47b3b975c7234a4249a5f544a262d462d222211dca4ba0553f3dc5d9e2c4e025e630aee6cfc972c41f51abc23b3c4fa5e50adfbfa94
+DIST gitlab-cli-1.31.0.tar.bz2 16794522 BLAKE2B 
72051d063be5b4108fec878d7b51cfd0680274e6a3e5e1eab3a992dd0838ff00ca19196e80a5651895dc261518bb93a0f0c5c4f2db2a99dc8e7f9b332af7022a
 SHA512 
4020e7e62c7f3b420c0988712b61ca0a89733cfe8c370faf2a5c21d3983bba69283e85dcff98b3c5a8c6cb18319fb85101789490435d2f38a704ae9eed9aedb1

diff --git a/dev-util/gitlab-cli/gitlab-cli-1.31.0.ebuild 
b/dev-util/gitlab-cli/gitlab-cli-1.31.0.ebuild
new file mode 100644
index 000000000000..0562e5401e38
--- /dev/null
+++ b/dev-util/gitlab-cli/gitlab-cli-1.31.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+GIT_COMMIT=1f8464b403a4611ef689a89893cb700718abdb20
+
+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";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# tests communicate with gitlab.com and require a personal access token
+RESTRICT="test"
+
+S="${WORKDIR}/cli-v${PV}-${GIT_COMMIT}"
+
+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