aboutsummaryrefslogtreecommitdiffstats
path: root/app-office/visidata/visidata-3.1.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/visidata/visidata-3.1.1.ebuild')
-rw-r--r--app-office/visidata/visidata-3.1.1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/app-office/visidata/visidata-3.1.1.ebuild b/app-office/visidata/visidata-3.1.1.ebuild
new file mode 100644
index 0000000..474c069
--- /dev/null
+++ b/app-office/visidata/visidata-3.1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+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
+}