Files
guru/app-misc/television/television-0.13.11.ebuild
Takuya Wakazono 7d4c85990c app-misc/television: add 0.13.11
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2025-11-25 22:40:43 +09:00

50 lines
914 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.15.0
EAPI=8
CRATES="
"
RUST_MIN_VER="1.90.0"
inherit cargo
DESCRIPTION="Cross-platform, fast and extensible general purpose fuzzy finder TUI."
HOMEPAGE="https://github.com/alexpasmantier/television"
SRC_URI="
https://github.com/alexpasmantier/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/pastalian/distfiles/releases/download/${P}/${P}-crates.tar.xz
"
LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
Apache-2.0 BSD Boost-1.0 CDLA-Permissive-2.0 ISC MIT MPL-2.0
Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
sys-apps/bat
sys-apps/fd
)
"
src_install() {
cargo_src_install
doman man/tv.1
}
src_test() {
local -x TV_BIN_PATH="${S}/$(cargo_target_dir)/tv"
cargo_src_test
}