aboutsummaryrefslogblamecommitdiffstats
path: root/app-office/visidata/visidata-2.7.ebuild
blob: e329160ff78c4ff55fe5f0bb881f3dcf9895aa8c (plain) (tree)

































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

EAPI=8

PYTHON_COMPAT=( python3_9 )

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}]"
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
}