diff options
author | William Hubbs <williamh@gentoo.org> | 2022-11-14 10:58:58 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-11-14 10:59:31 -0600 |
commit | 9409f8d8d6591429e3e8d52e2e6979958df21cf3 (patch) | |
tree | 1cdcd8732717e318084dd2a10635d06d485de39c /dev-vcs/lab | |
parent | media-video/mkvtoolnix: bump to 72.0.0 (diff) | |
download | gentoo-9409f8d8d6591429e3e8d52e2e6979958df21cf3.tar.gz gentoo-9409f8d8d6591429e3e8d52e2e6979958df21cf3.tar.bz2 gentoo-9409f8d8d6591429e3e8d52e2e6979958df21cf3.zip |
dev-vcs/lab: add 0.25.1
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-vcs/lab')
-rw-r--r-- | dev-vcs/lab/Manifest | 2 | ||||
-rw-r--r-- | dev-vcs/lab/lab-0.25.1.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-vcs/lab/Manifest b/dev-vcs/lab/Manifest index f0f3c729d1cc..316d0af1ab24 100644 --- a/dev-vcs/lab/Manifest +++ b/dev-vcs/lab/Manifest @@ -1,2 +1,4 @@ DIST lab-0.23.0-deps.tar.xz 334756060 BLAKE2B fd490890537e4d91f24803b3030474669aa6631ccce7652c6dc5567bdba0ac0c0e6c0164b7465f5585cb451c084b5e57cf213baefa55218194c9ad6416213dac SHA512 a6f2a10b897588193acb072835f65ac033c5b6ddff56a5af8c802e08c11d310928460ef16ea3781dea6a7038d0c4dd2722ad83c8dd79f42e0a79f8bc851d5f5c DIST lab-0.23.0.tar.gz 173189 BLAKE2B 98998f6befbd2e34fa9c201cc4720a99a3d04c26639d3e990e21a60297e2c489c8aebcfaaac7ca0825c311db3794b93cd91748332ada52ddf38af588b4dd9dc4 SHA512 c2638a26a85d4207847d3612517a2d86c743be241ec5d7cd3eab90b10cdd1b525fb65b16a23a1b82265133a66ac3e7c9aeac37b8336d2fbf39aa54917920e140 +DIST lab-0.25.1-deps.tar.xz 38855364 BLAKE2B afa5f9af9301630eb5b2a70f802d281e2fe964014a0f236525773981174e6899656176079ed7b5958df45d5fce6901f4bc27d25dc3e940766cd53bbeb15b955e SHA512 7ba3be7502b16e5c4feb909891efae75343c603d6244cc3aa9a4af50115d40203a52dc4d295155c3830d90dc06e9740d258784424a55e341e389b159ce4553a7 +DIST lab-0.25.1.tar.gz 180159 BLAKE2B 55c6908114fc86fdedefc6a20ea4ee728fdf6a91d7e42545b44ed48f41e7cdbaa22fb3652696a2601a7d19b973ea6d8eb7e0a010bba4029b4159240a98404fe3 SHA512 891605f0572c9deff27b5583782b59361fd99a2559f9ac84a77f9a9d323ba54b97ac79bfed4ea63e8a421e38a63b3ea713a67c42ecd45ca895d29b2f826e8859 diff --git a/dev-vcs/lab/lab-0.25.1.ebuild b/dev-vcs/lab/lab-0.25.1.ebuild new file mode 100644 index 000000000000..250254da0a17 --- /dev/null +++ b/dev-vcs/lab/lab-0.25.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit bash-completion-r1 go-module +LONG_VERSION=v0.25.1-0-g7e9b4be + +DESCRIPTION="Lab wraps Git or Hub, making it simple to interact with repositories on GitLab" +HOMEPAGE="https://zaquestion.github.io/lab/" +SRC_URI="https://github.com/zaquestion/lab/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +RDEPEND="dev-vcs/git" + +# tests try to write to /src and fetch from gitlab +RESTRICT+=" test" + +src_compile() { + emake VERSION="${LONG_VERSION}" + mkdir -v "${T}/comp" || die + ./lab completion bash > "${T}/comp/lab" || die + ./lab completion zsh > "${T}/comp/_lab" || die +} + +src_install() { + dobin lab + einstalldocs + dobashcomp "${T}/comp/lab" + insinto /usr/share/zsh/site-functions + doins "${T}/comp/_lab" +} |