diff options
| author | Crucible <crucible@localhost> | 2026-09-24 20:11:12 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-24 20:11:12 -0500 |
| commit | b15863f694d57e70e1ca114c172a86352489bf0b (patch) | |
| tree | 7daac3ac580c4f41444bf648c327d33d1d1c224a /dev-util | |
| parent | 4ee8e923b706dbd107d50841841ea6a6c25a02ff (diff) | |
| download | srcux-b15863f694d57e70e1ca114c172a86352489bf0b.tar.gz srcux-b15863f694d57e70e1ca114c172a86352489bf0b.tar.xz srcux-b15863f694d57e70e1ca114c172a86352489bf0b.zip | |
Publish srcux candidate 0000000394-20260924-200842
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/github-cli/Manifest | 2 | ||||
| -rw-r--r-- | dev-util/github-cli/github-cli-2.101.0.ebuild | 51 | ||||
| -rw-r--r-- | dev-util/gitlab-cli/Manifest | 2 | ||||
| -rw-r--r-- | dev-util/gitlab-cli/gitlab-cli-1.119.0.ebuild | 54 |
4 files changed, 109 insertions, 0 deletions
diff --git a/dev-util/github-cli/Manifest b/dev-util/github-cli/Manifest index a3b881dfa78d..05639884bb6a 100644 --- a/dev-util/github-cli/Manifest +++ b/dev-util/github-cli/Manifest @@ -1,5 +1,7 @@ DIST github-cli-2.100.0-deps.tar.xz 62670456 BLAKE2B c8f93715498cac5090d2490688c238f32e5495d7df20006a260abcdd71b0abdf7212e23dacf9550e54a0b3ea0e686402bf7eb9eed956fcfa27ee8a02e8bcafbd SHA512 11b9ddb673749b90201b008fb9b7fe7a47fa356b7c33915f2220d710ff5edf4607119d51dbdba27e4f8374dadd2aba833554695ec2e4fa13a9731868584d6f7b DIST github-cli-2.100.0.tar.gz 15067137 BLAKE2B 4fd52c059dfdc931d27860d953fbfbf8e0b2ce604549b6e28e9fdf8054014d807c42c542c3bba35cc73880df9f9177d2aa4c81d00c4816271bc6e7ba5097d74e SHA512 af9ea93dd72bc57ce7f66f164d26b11a1f7c2c2b7b8c76c447d5d3785d214757cac6e4682a409b05bd5560f170cd96423b5274351ac3042581d1fe65c67a8664 +DIST github-cli-2.101.0-deps.tar.xz 62724648 BLAKE2B c8478b075a3257a3bfaca1990f33b96c420715d02a2fe5a8835adff387780f2396b6dc973a1e18856287035ed260deb897966ee4767fb8da69c22b7af7da2623 SHA512 eff864d626ebc0760e990d3c7232a66a1a1a16579dab2d7c061875806f48135fba1ce50e0014a1074c41d96a03bf8128179af130862d4f9a88af09993bc83136 +DIST github-cli-2.101.0.tar.gz 15105069 BLAKE2B 096f732d72d51ce3fadb1b8a782241fab3dedbeea1300177a71abc8830e32e19dfd44862d0d165ad02b519c4284611f57f835d42d2bf11ea3504cc2faab5e622 SHA512 b43fedbf65caa5526f59f9d2a86d50b5f6f5040a9a78b8e7bb292ea135a040db46ec3a5fb1a45e6d84f764de03cb750fa6fb7728e7d5f5d72c121807346702f6 DIST github-cli-2.96.0-deps.tar.xz 62178716 BLAKE2B 9e06cb75d05b00785cc073d2c8ea4dd081a12686dd356586ef9335c8c453ed56aa87a783e2c11ae19b3402941c066054c227c695af8094af236452d99938ab28 SHA512 f2589251d1c65609338d3d20b0eba3db7379375f14f6bb9a65966d39cde98d3a32d1e7870343c957ab44794763846504329f0f198bd40e4496890c64a848a969 DIST github-cli-2.96.0.tar.gz 14796760 BLAKE2B 6fadf6a785d2f5fd5ec4ebc55bb08bb3eaaa135929595ca04119ebd0ecee131a1b2cec4ce77c59a408bf106a6b28ff8793b2bbc602f7a8cfb0a168445cb50553 SHA512 af530e2bd052bc75e20c1285712e35c952872160a690afba9127bd4654ea35d0963231e908648d5766803bfec803d39a58479b69e605d8e9ac7121ad0be1a6ca DIST github-cli-2.98.0-deps.tar.xz 62386296 BLAKE2B cc07ec3afe4723a366939648eb1b1985a109501077902c1e9982c0723b1373868284b2f91bddab6e9ce5b7ab785470d5c701194978f37ef02d9b5ba3cbab4b9a SHA512 4fe76d421986a8f2edc6262620c5e5ebe9321a3946fd82f52f17e3e9ef67dcc5b1e8f85d9d4ab43be08b4bbbf6b9ebab7c187425017ce97627accc0e83356505 diff --git a/dev-util/github-cli/github-cli-2.101.0.ebuild b/dev-util/github-cli/github-cli-2.101.0.ebuild new file mode 100644 index 000000000000..adb14062adaf --- /dev/null +++ b/dev-util/github-cli/github-cli-2.101.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +inherit go-module + +DESCRIPTION="GitHub CLI" +HOMEPAGE="https://github.com/cli/cli" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cli/cli.git" +else + SRC_URI="https://github.com/cli/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" + S="${WORKDIR}/cli-${PV}" +fi + +LICENSE="MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0 Unlicense" +SLOT="0" +RESTRICT="test" + +RDEPEND=">=dev-vcs/git-1.7.3" +BDEPEND=">=dev-lang/go-1.27.0" + +PATCHES=( + "${FILESDIR}/${PN}-2.92.0-disable-telemetry.patch" +) + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi +} + +src_compile() { + [[ ${PV} != 9999 ]] && export GH_VERSION="v${PV}" + emake prefix="${EPREFIX}/usr" bin/gh manpages completions +} + +src_install() { + emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install + dodoc README.md +} diff --git a/dev-util/gitlab-cli/Manifest b/dev-util/gitlab-cli/Manifest index eff6cf2847e0..669aa8dbff93 100644 --- a/dev-util/gitlab-cli/Manifest +++ b/dev-util/gitlab-cli/Manifest @@ -2,3 +2,5 @@ DIST gitlab-cli-1.106.0-vendor.tar.xz 10388708 BLAKE2B 14bb5b6bcd8c4450bba277fbf DIST gitlab-cli-1.106.0.tar.bz2 17711631 BLAKE2B 4069c0094f73d1c0c79e1c6e9c92f9095b45237b46f51b3a9fe32ae14c20b0e075d9c1384f4f705fd6a07e3b49e01086476e44b1038f1a367cc6ce52e77e0889 SHA512 b8b287d7b7ae5f7b11ece75502c07c22fbfc17fbf313e20d59049041aab81a6d0c139be016c8b7a2c00e274177593580c096947aa0ba8c4b95507cc46422c19e DIST gitlab-cli-1.116.0-vendor.tar.xz 10438712 BLAKE2B 92c55aac214c4f646813bb25697aa66b1c0eda7d4d0687b90092a1259d5cd5f5a06bb92b78f64235b62de25e12c269be1614b8b656ebda441ee7107de1c5385d SHA512 d8e89662c23a3156023169f81e41c2812131243d2f93b03ee0e49d56a3626c5d8503a1d9342d079cfb3e7226915fa9e10f77491fae42ddde796bcb9487ad3dcd DIST gitlab-cli-1.116.0.tar.bz2 17874337 BLAKE2B 0524389cd0d4b2c3c9eb4a9c0ef3d8739dd38e3b0365b1a6d68afe14e87ed7e00f7c11852fbcc30f2ef4275215c9b273519385e83f935cc73942efe96ea8085f SHA512 22193ea737d6944bbe0aa6e220d6e5607a9e3c77a4cb054349947b51e415ab2d09268c7b593c8757ee36a307a891ab1115d2ff0963ed892ea57e70496a918ba0 +DIST gitlab-cli-1.119.0-vendor.tar.xz 10526856 BLAKE2B 7ff05a36bb7b2699f1f5de08e73c01e32868eb4256b7082b35911787da39b351ead26e6da7aa158881def75aa0d9c920f525c41bfcd1540779469e673b8e92b6 SHA512 a98f9c70585e2a254d70114c92df1042771ed452517c2bfe757ca7d74000b6d5836adfb8e96b4af371e4ec45c815d67065ed58dc0efa26b66ff7aef02e1cd03b +DIST gitlab-cli-1.119.0.tar.bz2 17973213 BLAKE2B 0369c932fdf09b53f2b1e464ba0bfaaeccb16349aee2a4bca7d21cc793156bd4ad8169e4295af4289b17920dcaa9411b8cb94419ff495ae389d40d76284a6517 SHA512 88fd47933bd25706a304d82fed4708ce311085c37a90744873d6fa8add2ca532c1959d80969bbcd069975d29a4bf39a24b0bd8e97a8b19ae47bfd7981f284de6 diff --git a/dev-util/gitlab-cli/gitlab-cli-1.119.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.119.0.ebuild new file mode 100644 index 000000000000..e2b1c2d3837d --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.119.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +inherit go-module shell-completion sysroot + +# update on every bump +GIT_COMMIT=f5016eda261bb7142627d05d1d85a20d6dd56ddc + +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.27.0" + +QA_PRESTRIPPED=usr/bin/glab + +src_unpack() { + mkdir -p "${S}" || die + ln -s "../${P}/vendor" "${S}/vendor" || die + go-module_src_unpack +} + +src_compile() { + 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 -s bash > "${T}"/glab.bash || die + sysroot_try_run_prefixed bin/glab completion -s zsh > "${T}"/glab.zsh || die + sysroot_try_run_prefixed bin/glab completion -s 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 +} |
