aboutsummaryrefslogtreecommitdiffstats
path: root/app-office/visidata/visidata-3.0.2.ebuild
blob: 3d81cd172aa9a3a1757c63e278f525d71b618755 (plain) (blame)
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 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11,12} )
DISTUTILS_USE_PEP517="setuptools"

inherit distutils-r1 optfeature

DESCRIPTION="An interactive multitool for tabular data"
HOMEPAGE="https://www.visidata.org"
SRC_URI="https://github.com/saulpw/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
RESTRICT="test"

DEPEND="
	dev-python/python-dateutil[${PYTHON_USEDEP}]
	dev-python/importlib-metadata[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"

pkg_postinst() {
	optfeature "support for Excel spreadsheets (xls)" dev-python/xlrd
	optfeature "support for Excel spreadsheets (xlsx)" dev-python/openpyxl
	optfeature "support for HTML and XML" dev-python/lxml
	optfeature "support for PNG" dev-python/pypng
	optfeature "support for Shapefile geographic data (shp)" sci-libs/pyshp
	optfeature "support for Stata (dta)" dev-python/pandas
	optfeature "support for TrueType Fonts (ttf)" dev-python/fonttools
	optfeature "support for YAML" dev-python/pyyaml
	optfeature "support for all pandas formats" dev-python/pandas
	optfeature "support for the Hierarchical Data Format (hdf5)" dev-python/h5py
}