app-misc/glow: add 3.0.0

updates the minimum required go version

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
This commit is contained in:
ingenarel (NeoJesus) committed 2026-09-22 08:29:59 +06:00
1 parent 22e957f559
commit 8626f97e2d
2 files changed
+43

No files matched your search

+2
View File
@@ -1,2 +1,4 @@
DIST glow-2.1.2-deps.tar.xz 36898996 BLAKE2B 581f0429759914be47bf4250e9954d2d7ba663afad5b41d9721f0d1d6af1daa00629d5dd6347817f3b0267ad8386bf9bb3290e43c644b0904815a9b001c9a3b4 SHA512 9033c2783a55767302d1c9586f844c64af67362280a557f1732bee7fde34bcff1cc9c88a6aaba16726688d2f57f9634de8a2d88604946381a3f8ed05f6600d26
DIST glow-2.1.2.tar.gz 510356 BLAKE2B 1ae620618c01d94ebd55b505bd6b13c4f61f133460e432ace766921d7c9d2fb0cf5e4c530382d015499c664c8c67bbd5ff1d12567cfb50aac2a128d3f2c3375f SHA512 0fc423212a59f95dbd946d8c39329fcebdbe59eba4eaf5efee426615c25f2eac4d22dbc1a4793952fa8ca93a48b81189259417bc17bd94220dca7a970592de79
DIST glow-3.0.0-deps.tar.xz 35595976 BLAKE2B a4e3d9d3af469a0dc9191822795421949c6d80c1133a01a5feaf57c101f49efa2228dcc6e87208ef1aa216815a10153911462ab4c79fc10c503ca5408d75b8cb SHA512 12c946475ca649cd72ff3e9eada08ca9f1d6b42909172252581017c7868b2e66e30a7cdc416f703e326caa0d71777e11fd05269047889799fb89eed876730e79
DIST glow-3.0.0.tar.gz 511038 BLAKE2B 07536589a4ed3a2874a1ad91323f844ddc15536bcbc9a4b349aaa53542e285d942ee12cf262cd0829f633ee8af30c5d3e612ba6131f825c139f9863246426830 SHA512 474ad34683aaf986213e85204fe9767d24c22d1ee4ea24339a4b7caca4a5ce2f2e93a0ef4b9b47add9e7dccccae21edbfb64f31b15b3eefdb131ff3e2530262a
+41
View File
@@ -0,0 +1,41 @@
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion
DESCRIPTION="Render markdown on the CLI, with pizzazz!"
HOMEPAGE="https://github.com/charmbracelet/glow"
SRC_URI="https://github.com/charmbracelet/glow/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/ingenarel/guru-depfiles/releases/download/${P}/${P}-go-mod-deps.tar.xz -> ${P}-deps.tar.xz
"
LICENSE="MIT"
#gentoo-go-license glow-3.0.0.ebuild
LICENSE+=" Apache-2.0 BSD MIT "
SLOT="0"
KEYWORDS="~amd64"
BDEPEND=">=dev-lang/go-1.26.5"
src_compile(){
ego build -o bin/glow
}
src_test(){
ego test -v ./...
}
src_install(){
dobin bin/glow
bin/glow man > glow.1
doman glow.1
einstalldocs
bin/glow completion bash > "${PN}" || die "generating bash completion failed"
dobashcomp "${PN}"
bin/glow completion zsh > "_${PN}" || die "generating zsh completion failed"
dozshcomp "_${PN}"
bin/glow completion fish > "${PN}.fish" || die "generating fish completion failed"
dofishcomp "${PN}.fish"
}