blob: b18975f3b8b367f8c3f453d5558e0f7160b9edab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_8 python3_9 python3_10 python3_11 python3_12 )
inherit distutils-r1
DESCRIPTION="Terminal spreadsheet multitool for discovering and arranging data"
HOMEPAGE="https://www.visidata.org/ https://github.com/saulpw/visidata"
SRC_URI="https://github.com/saulpw/visidata/archive/refs/tags/v3.2.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
>=dev-python/pandas-0.23.2[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/tabulate[${PYTHON_USEDEP}]
dev-python/openpyxl[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
dev-python/prompt_toolkit[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
src_prepare() {
default
}
python_test() {
"${EPYTHON}" -m unittest discover -s tests || die "Tests failed."
}
|