1 |
commit: 42b48870ea2fbe45aaedc5be1bc9ee2b175fef7a |
2 |
Author: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jan 23 04:55:41 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Tue Feb 23 08:31:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=42b48870 |
7 |
|
8 |
app-office/visidata: bump to 2.1.1 |
9 |
|
10 |
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/sci/pull/1041 |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
13 |
|
14 |
app-office/visidata/visidata-2.1.1.ebuild | 82 +++++++++++++++++++++++++++++++ |
15 |
1 file changed, 82 insertions(+) |
16 |
|
17 |
diff --git a/app-office/visidata/visidata-2.1.1.ebuild b/app-office/visidata/visidata-2.1.1.ebuild |
18 |
new file mode 100644 |
19 |
index 000000000..f1dc1c502 |
20 |
--- /dev/null |
21 |
+++ b/app-office/visidata/visidata-2.1.1.ebuild |
22 |
@@ -0,0 +1,82 @@ |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python3_{7..9} ) |
29 |
+ |
30 |
+inherit distutils-r1 optfeature |
31 |
+ |
32 |
+DESCRIPTION="Terminal spreadsheet multitool for discovering and arranging data" |
33 |
+HOMEPAGE="http://visidata.org" |
34 |
+SRC_URI="https://github.com/saulpw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="GPL-3" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+IUSE="test" |
40 |
+RESTRICT="!test? ( test )" |
41 |
+ |
42 |
+RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]" |
43 |
+BDEPEND=" |
44 |
+ test? ( |
45 |
+ dev-python/h5py[${PYTHON_USEDEP}] |
46 |
+ dev-python/openpyxl[${PYTHON_USEDEP}] |
47 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
48 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
49 |
+ dev-python/requests[${PYTHON_USEDEP}] |
50 |
+ dev-vcs/git |
51 |
+ $(python_gen_impl_dep sqlite) |
52 |
+ ) |
53 |
+" |
54 |
+ |
55 |
+distutils_enable_sphinx docs \ |
56 |
+ dev-python/recommonmark \ |
57 |
+ dev-python/sphinx-argparse |
58 |
+# dev-python/sphinx-markdown-tables |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ rm tests/load-http.vd || die "Could not remove network-dependent test." |
62 |
+ rm tests/graph-cursor-nosave.vd || die "Could not remove network-dependent test." |
63 |
+ rm tests/messenger-nosave.vd || die "Could not remove network-dependent test." |
64 |
+ rm tests/save-benchmarks.vd || die "Could not benchmarks test" |
65 |
+ rm tests/graph-sincos-nosave.vd || die "Could not benchmarks test" |
66 |
+ rm tests/graphpr-nosave.vd || die "Could not benchmarks test" |
67 |
+ rm tests/describe-error.vd || die "Could not remove network-dependent test" |
68 |
+ rm tests/describe.vd || die "Could not remove network-dependent test" |
69 |
+ rm tests/edit-type.vd || die "Could not remove network-dependent test" |
70 |
+ |
71 |
+ distutils-r1_python_prepare_all |
72 |
+} |
73 |
+ |
74 |
+python_test() { |
75 |
+ git init || die "Git init failed." |
76 |
+ git add tests/golden/ || die "Git add failed." |
77 |
+ dev/test.sh || die "Tests failed." |
78 |
+ rm .git -rf || die "Could not clean up git test directory." |
79 |
+} |
80 |
+ |
81 |
+pkg_postinst() { |
82 |
+ optfeature "integration with yaml" >=dev-python/pyyaml-5.1 |
83 |
+ optfeature "integration with pcap" dev-python/dnslib #dpkt pypcapkit |
84 |
+ optfeature "integration with png" dev-python/pypng |
85 |
+ optfeature "integration with http" dev-python/requests |
86 |
+ optfeature "integration with postgres" dev-python/psycopg-binary |
87 |
+ optfeature "integration with xlsx" dev-python/openpyxl |
88 |
+ optfeature "integration with xls" dev-python/xlrd |
89 |
+ optfeature "integration with hdf5" dev-python/h5py |
90 |
+ optfeature "integration with ttf/otf" dev-python/fonttools |
91 |
+ optfeature "integration with xml/htm/html" dev-python/lxml |
92 |
+ optfeature "integration with dta (Stata)" dev-python/pandas |
93 |
+ optfeature "integration with shapefiles" sci-libs/pyshp |
94 |
+ optfeature "integration with namestand" dev-python/graphviz |
95 |
+ optfeature "integration with pdfminer.six" dev-python/pdfminer-six # in guru |
96 |
+ optfeature "integration with vobject" dev-python/vobject |
97 |
+ optfeature "integration with tabulate" dev-python/tabulate |
98 |
+ optfeature "integration with tabulate (with unicode)" dev-python/wcwidth |
99 |
+ # optfeature "pdf tables" tabula # no package presently |
100 |
+ #optfeature "integration with mbtiles" mapbox-vector-tile |
101 |
+ #optfeature "integration with xpt (SAS)" xport |
102 |
+ #optfeature "integration with sas7bdat (SAS)" sas7bdat |
103 |
+ #optfeature "integration with sav (SPSS)" savReaderWriter |
104 |
+} |