From 482312fe02bf2b9c8c370e8721dbf46e3b89caab Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Tue, 19 May 2020 14:55:50 -0400 Subject: [PATCH] app-office/visidata: new package ahead of Gentoo Main Ahead of Gentoo Main Thanks to https://github.com/SpiderX Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Horea Christian --- app-office/visidata/ChangeLog | 5 +++ app-office/visidata/Manifest | 1 + app-office/visidata/metadata.xml | 22 ++++++++++ app-office/visidata/visidata-1.5.2.ebuild | 53 +++++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 app-office/visidata/ChangeLog create mode 100644 app-office/visidata/Manifest create mode 100644 app-office/visidata/metadata.xml create mode 100644 app-office/visidata/visidata-1.5.2.ebuild diff --git a/app-office/visidata/ChangeLog b/app-office/visidata/ChangeLog new file mode 100644 index 0000000..b684aeb --- /dev/null +++ b/app-office/visidata/ChangeLog @@ -0,0 +1,5 @@ +*visidata-1.5.2 (19 May 2020) + + 19 May 2020; +metadata.xml, +visidata-1.5.2.ebuild: + app-office/visidata: new package ahead of Gentoo Main Ahead of Gentoo Main + Thanks to https://github.com/SpiderX diff --git a/app-office/visidata/Manifest b/app-office/visidata/Manifest new file mode 100644 index 0000000..7a8d58e --- /dev/null +++ b/app-office/visidata/Manifest @@ -0,0 +1 @@ +DIST visidata-1.5.2.tar.gz 637598 SHA256 11563f5e4eafb2d8fe875ae782eac3c5a6c55e9db3a494189b5b236697c1f040 SHA512 36f11c207f391d06095dfab75fe4a638e562cd20bc29f72a6e5df1dcc87ab46f2834ffbdb561fb9e4e07fdd50dc5b34c619bbc4bc3d34ce350428e7330ea252c WHIRLPOOL 2fcbf9192c0c8377d238f29210932c92f15023dc6386d5e3c3f43e0bcb16a8596a15f583883735ea1fb48ec3d5c66e6f3d5e2e6189de0ed6677e5bc6906455fa diff --git a/app-office/visidata/metadata.xml b/app-office/visidata/metadata.xml new file mode 100644 index 0000000..baa3633 --- /dev/null +++ b/app-office/visidata/metadata.xml @@ -0,0 +1,22 @@ + + + + + chr@chymera.eu + Horea Christian + + + proxy-maint@gentoo.org + Proxy Maintainers + + + VisiData is an interactive multitool for tabular data. It combines the + clarity of a spreadsheet, the efficiency of the terminal, and the power + of Python, into a lightweight utility which can handle millions of rows + with ease. + + + saulpw/visidata + visidata + + diff --git a/app-office/visidata/visidata-1.5.2.ebuild b/app-office/visidata/visidata-1.5.2.ebuild new file mode 100644 index 0000000..82387f9 --- /dev/null +++ b/app-office/visidata/visidata-1.5.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Terminal spreadsheet multitool for discovering and arranging data" +HOMEPAGE="http://visidata.org" +SRC_URI="https://github.com/saulpw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="test? ( $(python_gen_impl_dep sqlite) + dev-vcs/git + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] )" + +python_test() { + git init || die "git init failed" + git add tests/golden/ || die "git add failed" + dev/test.sh || die "test failed" +} + +pkg_postinst() { + optfeature "integration with yaml" dev-python/pyyaml + optfeature "integration with pcap" dev-python/dnslib #dpkt pypcapkit + optfeature "integration with png" dev-python/pypng + optfeature "integration with http" dev-python/requests + optfeature "integration with postgres" dev-python/psycopg + optfeature "integration with xlsx" dev-python/openpyxl + optfeature "integration with xls" dev-python/xlrd + optfeature "integration with hdf5" dev-python/h5py + optfeature "integration with ttf/otf" dev-python/fonttools + optfeature "integration with xml/htm/html" dev-python/lxml + optfeature "integration with dta (Stata)" dev-python/pandas + optfeature "integration with shapefiles" sci-libs/pyshp + optfeature "integration with namestand" dev-python/graphviz + #optfeature "integration with mbtiles" mapbox-vector-tile + #optfeature "integration with xpt (SAS)" xport + #optfeature "integration with sas7bdat (SAS)" sas7bdat + #optfeature "integration with sav (SPSS)" savReaderWriter +}