aboutsummaryrefslogblamecommitdiffstats
path: root/app-office/visidata/visidata-2.11.ebuild
blob: 580ef91766bf02f54f126f2d9101daeb4157fd95 (plain) (tree)
1
2
3
4
5
6




                                                                  
                                 











                                                                                        



                                                       














                                                                                    
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10,11} )

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}"
BDEPEND=""

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
}