commit: 83e2204ecf89eb71dd5fa799dbe592e5c626f76e Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Mon Aug 21 21:39:34 2023 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Mon Aug 21 21:39:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83e2204e
dev-util/gitlab-cli: add 1.32.0 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> dev-util/gitlab-cli/Manifest | 2 ++ dev-util/gitlab-cli/gitlab-cli-1.32.0.ebuild | 32 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-util/gitlab-cli/Manifest b/dev-util/gitlab-cli/Manifest index c939b0344355..a841adc39e52 100644 --- a/dev-util/gitlab-cli/Manifest +++ b/dev-util/gitlab-cli/Manifest @@ -4,3 +4,5 @@ DIST gitlab-cli-1.29.4-deps.tar.xz 38656412 BLAKE2B fcbb787a1fb893ae8d3452919e9e 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 +DIST gitlab-cli-1.32.0-deps.tar.xz 36780836 BLAKE2B 2f83b28fb1096a1eb265100100691ec0e69d9049b4c37fb7a29360dec07eaa05449bf2ae5b7c3dd4f07e5071ee05435f3ef040ce8f7b8607a7d6721027fe21d2 SHA512 b47a487d01ff83775855cb527457bb0245346af3a36c030ce73d6ed228a5a6307369ab562a9ac71525447d23f83458445c817ccfdf2cf2722fe02d9a9e2d887f +DIST gitlab-cli-1.32.0.tar.bz2 16799762 BLAKE2B 70c0942713fd4449dd0ba5310c012be71c880934abba6d91cb05820cf4905910638fcbf8d577627c4f5867364dafc19e701a2bea2614986231dd06db47be1219 SHA512 1d00495c852c53284f4d6e25d58a0731aa3b2ebeeecdbea0b4c6ce4f75ce552fd5ba5ad5b9c3daacd30e64fec6a9f23b2b27c0c85d22d7ac51cae575cd3b514a diff --git a/dev-util/gitlab-cli/gitlab-cli-1.32.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.32.0.ebuild new file mode 100644 index 000000000000..0ea07f8b73f6 --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.32.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=9fdb6193c89e86786707279c16472632665f4918 + +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/* +}
