diff options
author | William Hubbs <williamh@gentoo.org> | 2024-06-05 15:48:00 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-06-05 15:48:00 -0500 |
commit | 1979c189036ee0f329015848c802b0fbbcc50c91 (patch) | |
tree | 3dd5320a6c691342d5e9bcaa8d37569e9cc1e131 /dev-util/gitlab-cli | |
parent | net-libs/nodejs: add 20.14.0 (diff) | |
download | gentoo-1979c189036ee0f329015848c802b0fbbcc50c91.tar.gz gentoo-1979c189036ee0f329015848c802b0fbbcc50c91.tar.bz2 gentoo-1979c189036ee0f329015848c802b0fbbcc50c91.zip |
dev-util/gitlab-cli: add 1.41.0
Closes: https://bugs.gentoo.org/933223
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/gitlab-cli')
-rw-r--r-- | dev-util/gitlab-cli/Manifest | 2 | ||||
-rw-r--r-- | dev-util/gitlab-cli/gitlab-cli-1.41.0.ebuild | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-util/gitlab-cli/Manifest b/dev-util/gitlab-cli/Manifest index e1617cad92bc..93e42c18b0b9 100644 --- a/dev-util/gitlab-cli/Manifest +++ b/dev-util/gitlab-cli/Manifest @@ -10,3 +10,5 @@ DIST gitlab-cli-1.35.0-deps.tar.xz 47876656 BLAKE2B b76ba63c98fdbbbbeffe38340722 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 +DIST gitlab-cli-1.41.0-deps.tar.xz 16529512 BLAKE2B 263d605ad70546e47984e2ef229f5ebd1ef2709c6f7e1ccb07f60807c16e0f6cdc6881d698454688718da54eb1b386a3f4eabcd9aa09008cf3eddf2fd34c5f52 SHA512 d6565eaac2dbe443080c6846fe0bbb42214ad52414d6885cfe91ce53c93f6d49e29cd2706d650f3a7c34a7d095d1a23336846571ce903faf292e85d983ae5cf2 +DIST gitlab-cli-1.41.0.tar.bz2 16825512 BLAKE2B bdb6b271ae78b43fb721f48cc5e2ed272b5fc95b0f2f24b83b5816fa73a6eb276b677dca57ce207453fec696d89b6518846b10be9cf8cfb87a0e964a8fcb5bb5 SHA512 349393cc5893d1a703aaa8bcd933fb2981ed56a071fed662fe775524132b8c09326a61fc626b60733694146f0cf42cf71a0f3cfe45161135a15025c1f3d2969f diff --git a/dev-util/gitlab-cli/gitlab-cli-1.41.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.41.0.ebuild new file mode 100644 index 000000000000..9f497a5929a8 --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.41.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=3657f322c1dabbbc3b6d31567df8d2c8adf16162 + +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/* +} |