mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
50 lines
914 B
Bash
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
|
|
}
|