Install this version:
emerge -a =dev-util/gitea-cli-0.14.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/gitea-cli-0.14.1
Or alternatively:
emerge --autounmask-write -a =dev-util/gitea-cli-0.14.1
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion
DESCRIPTION="Command line tool to interact with Gitea"
HOMEPAGE="https://gitea.com/gitea/tea"
SRC_URI="https://gitea.com/gitea/tea/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/douglarek/gentoo-deps/releases/download/${P}/${P}-vendor.tar.xz -> ${P}-deps.tar.xz"
S="${WORKDIR}/tea"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="strip"
BDEPEND=">=dev-lang/go-1.26"
src_compile() {
ego build -trimpath \
-ldflags "-X code.gitea.io/tea/modules/version.Version=${PV} -s -w" \
-o bin/tea .
}
src_test() {
ego test ./...
}
src_install() {
dobin bin/tea
./bin/tea completion bash > tea.bash || die
dobashcomp tea.bash
./bin/tea completion zsh > _tea || die
dozshcomp _tea
./bin/tea completion fish > tea.fish || die
dofishcomp tea.fish
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gitea-cli-0.14.1-deps.tar.xz | 4221936 bytes | https://github.com/douglarek/gentoo-deps/releases/download/gitea-cli-0.14.1/gitea-cli-0.14.1-vendor.tar.xz |
| DIST | gitea-cli-0.14.1.tar.gz | 810528 bytes | https://gitea.com/gitea/tea/archive/v0.14.1.tar.gz |