summaryrefslogtreecommitdiff
path: root/dev-util/gitlab-cli
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-util/gitlab-cli
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-util/gitlab-cli')
-rw-r--r--dev-util/gitlab-cli/Manifest7
-rw-r--r--dev-util/gitlab-cli/gitlab-cli-1.100.0.ebuild59
-rw-r--r--dev-util/gitlab-cli/gitlab-cli-1.65.0.ebuild38
-rw-r--r--dev-util/gitlab-cli/gitlab-cli-1.72.0.ebuild37
-rw-r--r--dev-util/gitlab-cli/metadata.xml9
5 files changed, 150 insertions, 0 deletions
diff --git a/dev-util/gitlab-cli/Manifest b/dev-util/gitlab-cli/Manifest
new file mode 100644
index 000000000000..1b4ec665ae22
--- /dev/null
+++ b/dev-util/gitlab-cli/Manifest
@@ -0,0 +1,7 @@
+DIST gitlab-cli-1.100.0-vendor.tar.xz 10362492 BLAKE2B bdb8e415d77a15eeb67cd1c7fd3bdf03858c8e6637ffd152b77b8c03627840c550841177630e2ee7c63ffc5323f89a8970b2d33475b230b2dff387d9235700ff SHA512 a84edee7d13349c0d1553f4e073abeb7e10daeb88a080c778d586dd0e2ef59f08fec232166bc22a882e2509e857b0c68aa6cbe4ac1a7657dd1cb10d810cd314a
+DIST gitlab-cli-1.100.0.tar.bz2 17607550 BLAKE2B e4237b9ff926988edb5ac35baca3860beb894d6652dae8b065666e5f7d5bc62313e9e66233a3c191b793a453b489b52c54446c5a85a458248fdacd2049d14c73 SHA512 18eaa1202395b6285641cd0c775c5508ad9cd657eedb4f9e314434d7694fca181704ccf947435aa9ba8c0292510528679e2ba730e0daba9bedc77e793bc3594b
+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.100.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.100.0.ebuild
new file mode 100644
index 000000000000..c1db03ae19e0
--- /dev/null
+++ b/dev-util/gitlab-cli/gitlab-cli-1.100.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module shell-completion sysroot
+
+# update on every bump
+GIT_COMMIT=e345ca679f612b4990175d6e33839ba864bb02d2
+
+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://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.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"
+
+BDEPEND=">=dev-lang/go-1.26.3"
+
+QA_PRESTRIPPED=usr/bin/glab
+
+src_unpack() {
+ mkdir -p "${S}" || die
+ ln -s "../${P}/vendor" "${S}/vendor" || die
+ go-module_src_unpack
+ sed -e 's/check_update: true/check_update: false/' -i "${S}/internal/config/config.yaml.lock" || die
+ chmod 600 "${S}/internal/config/config.yaml.lock" || die
+}
+
+src_compile() {
+ emake \
+ GLAB_VERSION=v${PV} \
+ gen-config
+ emake \
+ BUILD_COMMIT_SHA=${GIT_COMMIT::8} \
+ GLAB_VERSION=v${PV} \
+ build manpage
+
+ einfo "generating shell completion files"
+ sysroot_try_run_prefixed bin/glab completion bash > "${T}"/glab.bash || die
+ sysroot_try_run_prefixed bin/glab completion zsh > "${T}"/glab.zsh || die
+ sysroot_try_run_prefixed bin/glab completion fish > "${T}"/glab.fish || die
+}
+
+src_install() {
+ dobin bin/glab
+ dodoc README.md
+ doman share/man/man1/*
+
+ [[ -s "${T}"/glab.bash ]] && newbashcomp "${T}"/glab.bash glab
+ [[ -s "${T}"/glab.zsh ]] && newzshcomp "${T}"/glab.zsh _glab
+ [[ -s "${T}"/glab.fish ]] && dofishcomp "${T}"/glab.fish
+}
diff --git a/dev-util/gitlab-cli/gitlab-cli-1.65.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.65.0.ebuild
new file mode 100644
index 000000000000..deba2e1e2375
--- /dev/null
+++ b/dev-util/gitlab-cli/gitlab-cli-1.65.0.ebuild
@@ -0,0 +1,38 @@
+# 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=8514bc42ef2c15a0ff27782a22b3add584b0d21c/
+
+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
+ mv ../share "${T}" || die
+}
+
+src_install() {
+ dobin bin/glab
+ dodoc README.md
+ doman "${T}"/share/man/man1/*
+}
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/*
+}
diff --git a/dev-util/gitlab-cli/metadata.xml b/dev-util/gitlab-cli/metadata.xml
new file mode 100644
index 000000000000..17492b5107c4
--- /dev/null
+++ b/dev-util/gitlab-cli/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>