blob: 8cf2d21a694eff0d5521726c2384f1746c2353dc (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..12} )
PYTHON_REQ_USE="sqlite"
EGIT_REPO_URI="https://github.com/saulpw/${PN}.git"
inherit distutils-r1 git-r3 optfeature
DESCRIPTION="Terminal spreadsheet multitool for discovering and arranging data"
HOMEPAGE="https://github.com/saulpw/visidata"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
RDEPEND="dev-python/importlib-metadata[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]"
BDEPEND="test? ( dev-python/h5py[${PYTHON_USEDEP}]
dev-python/odfpy[${PYTHON_USEDEP}]
dev-python/openpyxl[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
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 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 tabulate/wcwidth" dev-python/tabulate # saver
#optfeature "integration with pcap" dev-python/dnslib #dpkt
#optfeature "integration with pdf" pdfminer.six tabula
#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
#optfeature "integration with datapackage" frictionless .json
#optfeature "integration with vcf" vobject
}
|