From 404cae27c77315a7e04730f104cc1f4d7d3544e6 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 30 Jan 2024 10:04:54 -0600 Subject: dev-util/gitlab-cli: add 1.36.0 Signed-off-by: William Hubbs --- dev-util/gitlab-cli/Manifest | 2 ++ dev-util/gitlab-cli/gitlab-cli-1.36.0.ebuild | 32 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-util/gitlab-cli/gitlab-cli-1.36.0.ebuild diff --git a/dev-util/gitlab-cli/Manifest b/dev-util/gitlab-cli/Manifest index de6b12d9ec08..e1617cad92bc 100644 --- a/dev-util/gitlab-cli/Manifest +++ b/dev-util/gitlab-cli/Manifest @@ -8,3 +8,5 @@ DIST gitlab-cli-1.32.0-deps.tar.xz 36780836 BLAKE2B 2f83b28fb1096a1eb26510010069 DIST gitlab-cli-1.32.0.tar.bz2 16799762 BLAKE2B 70c0942713fd4449dd0ba5310c012be71c880934abba6d91cb05820cf4905910638fcbf8d577627c4f5867364dafc19e701a2bea2614986231dd06db47be1219 SHA512 1d00495c852c53284f4d6e25d58a0731aa3b2ebeeecdbea0b4c6ce4f75ce552fd5ba5ad5b9c3daacd30e64fec6a9f23b2b27c0c85d22d7ac51cae575cd3b514a DIST gitlab-cli-1.35.0-deps.tar.xz 47876656 BLAKE2B b76ba63c98fdbbbbeffe383407227827cdd02a4640cb2cd32b440d6a9f45f26e8d45b78b52c4b14c8834fa895ea15ad3f4b444493286ec5e1f44a85c18f1540a SHA512 666ee00c95e62a8b2f0cea59cb489699eba2649cfb5e85510508cf3721060d3d40db57162413c6d5905a3e3c8a627940a705a6c335ac79735b1fe29820a7c818 DIST gitlab-cli-1.35.0.tar.bz2 16809995 BLAKE2B d0b90c8dac6f27b21f740c2538b1c9b70af1a0bb29c852233c3b0d8f694e95823c29ed17b2e0f45ca7b27fdd388ebeeb0e8b3574f694d14f0cb5ba9f78b3b571 SHA512 fb462914cd7004508a247a81d52a9812b70ecd51286a1a06aafa6d1c63ed086ae6bff8aa6311d279da6a23a0efff623280abb68df2c2fc91678f877783325249 +DIST gitlab-cli-1.36.0-deps.tar.xz 47874044 BLAKE2B 6d0c2a70a22c4baffe0bd015f10de302e6866e8c05b76aefdcf83123ddd7b8b1f30c3a23474c9364e0ea2bec96f770ab86bf26b3424048750210995ec6cb7a56 SHA512 903aed99128bc4b34cc51125e78cdd28f52ca2468ceaa792d3ce76280631a51078e7ad55198c98aa7ba3d24421ba1faf4a3ebed2b418557a54781423844ea3e0 +DIST gitlab-cli-1.36.0.tar.bz2 16818985 BLAKE2B efae5cd8e9a1851f61259d463b3b772035cbc07c4904b202c259e56af45d22ab5d3ae4865a5d3af781185800f45002249bf2d31065120d36365fdc2942bc6896 SHA512 77114f90f9cc5752761e3dc54590f6886a343484a24738068c78341f4625802e2ae2aea7e183ed568916c5beb9863a09698762945e6b8eb2fca9abc7292a5426 diff --git a/dev-util/gitlab-cli/gitlab-cli-1.36.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.36.0.ebuild new file mode 100644 index 000000000000..ab6e8625f0f9 --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.36.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +GIT_COMMIT=078e3f1dcb0cd48294f97ed2924b5149bc3874f6 + +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/* +} -- cgit v1.2.3-65-gdbad