[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2023-07-22 Thread Andrew Ammerlaan
commit: b90875d38acbb99efc56f9ca08c86eecbeb819c8
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat Jul 22 09:19:08 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Jul 22 09:19:08 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=b90875d3

app-office/visidata: add 2.11.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 app-office/visidata/visidata-2.11.1.ebuild | 88 ++
 1 file changed, 88 insertions(+)

diff --git a/app-office/visidata/visidata-2.11.1.ebuild 
b/app-office/visidata/visidata-2.11.1.ebuild
new file mode 100644
index 0..3a5c510b4
--- /dev/null
+++ b/app-office/visidata/visidata-2.11.1.ebuild
@@ -0,0 +1,88 @@
+# 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_11 )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Terminal spreadsheet multitool for discovering and arranging data"
+HOMEPAGE="https://www.visidata.org/;
+SRC_URI="https://github.com/saulpw/visidata/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   test? (
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/odfpy[${PYTHON_USEDEP}]
+   dev-python/openpyxl[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-vcs/git
+   $(python_gen_impl_dep sqlite)
+   )
+"
+
+#distutils_enable_sphinx docs \
+#  dev-python/recommonmark \
+#  dev-python/sphinx-argparse
+# dev-python/sphinx-markdown-tables
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   rm tests/load-http.vd || die "Could not remove network-dependent test."
+   rm tests/graph-cursor-nosave.vd || die "Could not remove 
network-dependent test."
+   rm tests/messenger-nosave.vd || die "Could not remove network-dependent 
test."
+   rm tests/save-benchmarks.vd || die "Could not benchmarks test"
+   rm tests/graphpr-nosave.vd || die "Could not benchmarks test"
+   rm tests/describe-error.vd || die "Could not remove network-dependent 
test"
+   rm tests/describe.vd || die "Could not remove network-dependent test"
+   rm tests/edit-type.vd || die "Could not remove network-dependent test"
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   git init || die "Git init failed."
+   git add tests/golden/ || die "Git add failed."
+   # this test script eventually calls pytest under the hood
+   dev/test.sh || die "Tests failed."
+   rm .git -rf || die "Could not clean up git test directory."
+}
+
+pkg_postinst() {
+   optfeature "integration with yaml" >=dev-python/pyyaml-5.1
+   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-binary
+   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 pdfminer.six" dev-python/pdfminer-six # in 
guru
+   optfeature "integration with vobject" dev-python/vobject
+   optfeature "integration with tabulate" dev-python/tabulate
+   optfeature "integration with tabulate (with unicode)" dev-python/wcwidth
+   # optfeature "pdf tables" tabula # no package presently
+   #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
+}



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2023-07-22 Thread Andrew Ammerlaan
commit: ba7d8e5749c5651529adbf55266704e3a0eadf7e
Author: j-aub  gmail  com>
AuthorDate: Sat Jul 22 00:34:47 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Jul 22 09:14:06 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ba7d8e57

app-office/visidata: add missing runtime dep

Closes: https://github.com/gentoo/sci/pull/1203
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 .../visidata/{visidata-2.11.ebuild => visidata-2.11-r1.ebuild}   | 5 -
 ...idata-2.11_p20230217.ebuild => visidata-2.11_p20230217-r1.ebuild} | 5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/app-office/visidata/visidata-2.11.ebuild 
b/app-office/visidata/visidata-2.11-r1.ebuild
similarity index 96%
rename from app-office/visidata/visidata-2.11.ebuild
rename to app-office/visidata/visidata-2.11-r1.ebuild
index d0c917d7a..208587336 100644
--- a/app-office/visidata/visidata-2.11.ebuild
+++ b/app-office/visidata/visidata-2.11-r1.ebuild
@@ -19,7 +19,10 @@ KEYWORDS="~amd64 ~x86"
 # https://github.com/saulpw/visidata/issues/1905
 RESTRICT="test"
 
-RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
+RDEPEND="
+   >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+"
 BDEPEND="
test? (
dev-python/h5py[${PYTHON_USEDEP}]

diff --git a/app-office/visidata/visidata-2.11_p20230217.ebuild 
b/app-office/visidata/visidata-2.11_p20230217-r1.ebuild
similarity index 96%
rename from app-office/visidata/visidata-2.11_p20230217.ebuild
rename to app-office/visidata/visidata-2.11_p20230217-r1.ebuild
index a0993fff7..5edfdcb23 100644
--- a/app-office/visidata/visidata-2.11_p20230217.ebuild
+++ b/app-office/visidata/visidata-2.11_p20230217-r1.ebuild
@@ -17,7 +17,10 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
+RDEPEND="
+   >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+"
 BDEPEND="
test? (
dev-python/h5py[${PYTHON_USEDEP}]



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2023-05-25 Thread Horea Christian
commit: 2b3ef433724d7b3360bfe379cacb7183014d5ece
Author: Horea Christian  chymera  eu>
AuthorDate: Fri May 26 02:45:48 2023 +
Commit: Horea Christian  gmail  com>
CommitDate: Fri May 26 02:45:48 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=2b3ef433

app-office/visidata: updated test restriction comment

Signed-off-by: Horea Christian  chymera.eu>

 app-office/visidata/visidata-2.11.ebuild | 2 +-
 app-office/visidata/visidata-2.8.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/visidata/visidata-2.11.ebuild 
b/app-office/visidata/visidata-2.11.ebuild
index 974fb6874..d0c917d7a 100644
--- a/app-office/visidata/visidata-2.11.ebuild
+++ b/app-office/visidata/visidata-2.11.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/saulpw/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-# Reported upstream:
+# Tests fail on recent Python:
 # https://github.com/saulpw/visidata/issues/1905
 RESTRICT="test"
 

diff --git a/app-office/visidata/visidata-2.8.ebuild 
b/app-office/visidata/visidata-2.8.ebuild
index 5cdba0866..11c164d7e 100644
--- a/app-office/visidata/visidata-2.8.ebuild
+++ b/app-office/visidata/visidata-2.8.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/saulpw/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-# Reported upstream:
+# Tests fail on recent Python:
 # https://github.com/saulpw/visidata/issues/1905
 RESTRICT="test"
 



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2023-05-25 Thread Horea Christian
commit: 6cfe31e2407efdc5e61625117a16f46c8387cbb7
Author: Horea Christian  chymera  eu>
AuthorDate: Thu May 25 21:43:56 2023 +
Commit: Horea Christian  gmail  com>
CommitDate: Thu May 25 21:43:56 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cfe31e2

app-office/visidata: add 2.11_p20230217

Signed-off-by: Horea Christian  chymera.eu>

 app-office/visidata/visidata-2.11_p20230217.ebuild | 87 ++
 1 file changed, 87 insertions(+)

diff --git a/app-office/visidata/visidata-2.11_p20230217.ebuild 
b/app-office/visidata/visidata-2.11_p20230217.ebuild
new file mode 100644
index 0..a0993fff7
--- /dev/null
+++ b/app-office/visidata/visidata-2.11_p20230217.ebuild
@@ -0,0 +1,87 @@
+# 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_{11..11} )
+
+inherit distutils-r1 optfeature
+
+MY_HASH="5ff7883563eeac32fe192c5b2d4290a4e1e91cc2"
+DESCRIPTION="Terminal spreadsheet multitool for discovering and arranging data"
+HOMEPAGE="http://visidata.org;
+SRC_URI="https://github.com/saulpw/visidata/archive/${MY_HASH}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="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/pytest[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-vcs/git
+   $(python_gen_impl_dep sqlite)
+   )
+"
+
+S="${WORKDIR}/${PN}-${MY_HASH}"
+
+#distutils_enable_sphinx docs \
+#  dev-python/recommonmark \
+#  dev-python/sphinx-argparse
+# dev-python/sphinx-markdown-tables
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   rm tests/load-http.vd || die "Could not remove network-dependent test."
+   rm tests/graph-cursor-nosave.vd || die "Could not remove 
network-dependent test."
+   rm tests/messenger-nosave.vd || die "Could not remove network-dependent 
test."
+   rm tests/save-benchmarks.vd || die "Could not benchmarks test"
+   rm tests/graphpr-nosave.vd || die "Could not benchmarks test"
+   rm tests/describe-error.vd || die "Could not remove network-dependent 
test"
+   rm tests/describe.vd || die "Could not remove network-dependent test"
+   rm tests/edit-type.vd || die "Could not remove network-dependent test"
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   git init || die "Git init failed."
+   git add tests/golden/ || die "Git add failed."
+   # this test script eventually calls pytest under the hood
+   dev/test.sh || die "Tests failed."
+   rm .git -rf || die "Could not clean up git test directory."
+}
+
+pkg_postinst() {
+   optfeature "integration with yaml" >=dev-python/pyyaml-5.1
+   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-binary
+   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 pdfminer.six" dev-python/pdfminer-six # in 
guru
+   optfeature "integration with vobject" dev-python/vobject
+   optfeature "integration with tabulate" dev-python/tabulate
+   optfeature "integration with tabulate (with unicode)" dev-python/wcwidth
+   # optfeature "pdf tables" tabula # no package presently
+   #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
+}



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2023-05-25 Thread Horea Christian
commit: 2fe870571c154561fec45eaea0943d82938bdc44
Author: Horea Christian  chymera  eu>
AuthorDate: Thu May 25 06:21:30 2023 +
Commit: Horea Christian  gmail  com>
CommitDate: Thu May 25 06:21:30 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=2fe87057

app-office/visidata: restricting broken tests

Signed-off-by: Horea Christian  chymera.eu>

 app-office/visidata/{visidata-2.8.ebuild => visidata-2.11.ebuild} | 6 --
 app-office/visidata/visidata-2.8.ebuild   | 5 -
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/app-office/visidata/visidata-2.8.ebuild 
b/app-office/visidata/visidata-2.11.ebuild
similarity index 96%
copy from app-office/visidata/visidata-2.8.ebuild
copy to app-office/visidata/visidata-2.11.ebuild
index 62eeb87b5..974fb6874 100644
--- a/app-office/visidata/visidata-2.8.ebuild
+++ b/app-office/visidata/visidata-2.11.ebuild
@@ -3,8 +3,8 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 optfeature
 
@@ -15,6 +15,9 @@ 
SRC_URI="https://github.com/saulpw/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+# Reported upstream:
+# https://github.com/saulpw/visidata/issues/1905
+RESTRICT="test"
 
 RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
 BDEPEND="
@@ -42,7 +45,6 @@ python_prepare_all() {
rm tests/graph-cursor-nosave.vd || die "Could not remove 
network-dependent test."
rm tests/messenger-nosave.vd || die "Could not remove network-dependent 
test."
rm tests/save-benchmarks.vd || die "Could not benchmarks test"
-   rm tests/graph-sincos-nosave.vd || die "Could not benchmarks test"
rm tests/graphpr-nosave.vd || die "Could not benchmarks test"
rm tests/describe-error.vd || die "Could not remove network-dependent 
test"
rm tests/describe.vd || die "Could not remove network-dependent test"

diff --git a/app-office/visidata/visidata-2.8.ebuild 
b/app-office/visidata/visidata-2.8.ebuild
index 62eeb87b5..5cdba0866 100644
--- a/app-office/visidata/visidata-2.8.ebuild
+++ b/app-office/visidata/visidata-2.8.ebuild
@@ -3,8 +3,8 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 optfeature
 
@@ -15,6 +15,9 @@ 
SRC_URI="https://github.com/saulpw/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+# Reported upstream:
+# https://github.com/saulpw/visidata/issues/1905
+RESTRICT="test"
 
 RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
 BDEPEND="



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2023-05-02 Thread Horea Christian
commit: e87b09289ecf68acfe279ee8327325bde1d8dd67
Author: Horea Christian  chymera  eu>
AuthorDate: Tue May  2 23:44:13 2023 +
Commit: Horea Christian  gmail  com>
CommitDate: Tue May  2 23:44:13 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=e87b0928

app-office/visidata: update SRC_URI

Signed-off-by: Horea Christian  chymera.eu>

 app-office/visidata/visidata-2.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/visidata/visidata-2.8.ebuild 
b/app-office/visidata/visidata-2.8.ebuild
index bcfbb0d70..62eeb87b5 100644
--- a/app-office/visidata/visidata-2.8.ebuild
+++ b/app-office/visidata/visidata-2.8.ebuild
@@ -10,7 +10,7 @@ inherit distutils-r1 optfeature
 
 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"
+SRC_URI="https://github.com/saulpw/${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2023-05-02 Thread Horea Christian
commit: 2dcd97d2d096a7399ec53a9c0faadc8039c998b2
Author: Horea Christian  chymera  eu>
AuthorDate: Tue May  2 23:42:30 2023 +
Commit: Horea Christian  gmail  com>
CommitDate: Tue May  2 23:42:30 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=2dcd97d2

app-office/visidata: enable py3.11

Signed-off-by: Horea Christian  chymera.eu>

 app-office/visidata/visidata-2.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/visidata/visidata-2.8.ebuild 
b/app-office/visidata/visidata-2.8.ebuild
index f3cf9e123..bcfbb0d70 100644
--- a/app-office/visidata/visidata-2.8.ebuild
+++ b/app-office/visidata/visidata-2.8.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 optfeature



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2022-07-06 Thread Sam James
commit: e253daa4e2d10e6f4154bf2fa43ca43e78d45dbe
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul  7 02:45:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul  7 03:34:13 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=e253daa4

app-office/visidata: enable py3.10

Signed-off-by: Sam James  gentoo.org>

 app-office/visidata/visidata-2.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/visidata/visidata-2.8.ebuild 
b/app-office/visidata/visidata-2.8.ebuild
index bb35b1c03..ab4d506ab 100644
--- a/app-office/visidata/visidata-2.8.ebuild
+++ b/app-office/visidata/visidata-2.8.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 optfeature



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2022-02-13 Thread Andrew Ammerlaan
commit: 23c143b3221d41a5260b684c721d8d7d557f1dff
Author: Zoltan Puskas  sinustrom  info>
AuthorDate: Sun Feb 13 02:34:21 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Feb 13 15:55:43 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=23c143b3

app-office/visidata: Bump to 2.8

Additional changes in this revision:
- drop Python3.7 support
- update to EAPI8

Bug: https://bugs.gentoo.org/833255
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Zoltan Puskas  sinustrom.info>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 app-office/visidata/visidata-2.8.ebuild | 84 +
 1 file changed, 84 insertions(+)

diff --git a/app-office/visidata/visidata-2.8.ebuild 
b/app-office/visidata/visidata-2.8.ebuild
new file mode 100644
index 0..4fe822aa8
--- /dev/null
+++ b/app-office/visidata/visidata-2.8.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 optfeature
+
+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"
+
+RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/openpyxl[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-vcs/git
+   $(python_gen_impl_dep sqlite)
+   )
+"
+
+#distutils_enable_sphinx docs \
+#  dev-python/recommonmark \
+#  dev-python/sphinx-argparse
+# dev-python/sphinx-markdown-tables
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   rm tests/load-http.vd || die "Could not remove network-dependent test."
+   rm tests/graph-cursor-nosave.vd || die "Could not remove 
network-dependent test."
+   rm tests/messenger-nosave.vd || die "Could not remove network-dependent 
test."
+   rm tests/save-benchmarks.vd || die "Could not benchmarks test"
+   rm tests/graph-sincos-nosave.vd || die "Could not benchmarks test"
+   rm tests/graphpr-nosave.vd || die "Could not benchmarks test"
+   rm tests/describe-error.vd || die "Could not remove network-dependent 
test"
+   rm tests/describe.vd || die "Could not remove network-dependent test"
+   rm tests/edit-type.vd || die "Could not remove network-dependent test"
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   git init || die "Git init failed."
+   git add tests/golden/ || die "Git add failed."
+   # this test script eventually calls pytest under the hood
+   dev/test.sh || die "Tests failed."
+   rm .git -rf || die "Could not clean up git test directory."
+}
+
+pkg_postinst() {
+   optfeature "integration with yaml" >=dev-python/pyyaml-5.1
+   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-binary
+   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 pdfminer.six" dev-python/pdfminer-six # in 
guru
+   optfeature "integration with vobject" dev-python/vobject
+   optfeature "integration with tabulate" dev-python/tabulate
+   optfeature "integration with tabulate (with unicode)" dev-python/wcwidth
+   # optfeature "pdf tables" tabula # no package presently
+   #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
+}



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2022-02-13 Thread Andrew Ammerlaan
commit: d3c6072e509a7cd9dc5fc155a5560a30c1025725
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Feb 13 15:56:53 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Feb 13 15:56:53 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=d3c6072e

app-office/visidata: drop proxy-maint

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 app-office/visidata/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/app-office/visidata/metadata.xml b/app-office/visidata/metadata.xml
index baa3633f0..67a30f446 100644
--- a/app-office/visidata/metadata.xml
+++ b/app-office/visidata/metadata.xml
@@ -5,10 +5,6 @@
c...@chymera.eu
Horea Christian

-   
-   proxy-ma...@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



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2022-02-13 Thread Andrew Ammerlaan
commit: 77591d3f03a43560da6653b45bd5c744eab1fb73
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Feb 13 16:02:06 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Feb 13 16:02:06 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=77591d3f

app-office/visidata: add missing test dependency

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 app-office/visidata/visidata-2.8.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-office/visidata/visidata-2.8.ebuild 
b/app-office/visidata/visidata-2.8.ebuild
index 4fe822aa8..bb35b1c03 100644
--- a/app-office/visidata/visidata-2.8.ebuild
+++ b/app-office/visidata/visidata-2.8.ebuild
@@ -20,6 +20,7 @@ RDEPEND="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/pytest[${PYTHON_USEDEP}]



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2022-02-13 Thread Andrew Ammerlaan
commit: d8198e1ae923c07639d3369626a5b423fff52123
Author: Zoltan Puskas  sinustrom  info>
AuthorDate: Sun Feb 13 02:35:18 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Feb 13 15:55:45 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=d8198e1a

app-office/visidata: Drop 2.1.1

Closes: https://bugs.gentoo.org/833255
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Zoltan Puskas  sinustrom.info>
Closes: https://github.com/gentoo/sci/pull/1144
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 app-office/visidata/visidata-2.1.1.ebuild | 84 ---
 1 file changed, 84 deletions(-)

diff --git a/app-office/visidata/visidata-2.1.1.ebuild 
b/app-office/visidata/visidata-2.1.1.ebuild
deleted file mode 100644
index a214036d8..0
--- a/app-office/visidata/visidata-2.1.1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1 optfeature
-
-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"
-
-RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-python/h5py[${PYTHON_USEDEP}]
-   dev-python/openpyxl[${PYTHON_USEDEP}]
-   dev-python/pandas[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-vcs/git
-   $(python_gen_impl_dep sqlite)
-   )
-"
-
-#distutils_enable_sphinx docs \
-#  dev-python/recommonmark \
-#  dev-python/sphinx-argparse
-# dev-python/sphinx-markdown-tables
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   rm tests/load-http.vd || die "Could not remove network-dependent test."
-   rm tests/graph-cursor-nosave.vd || die "Could not remove 
network-dependent test."
-   rm tests/messenger-nosave.vd || die "Could not remove network-dependent 
test."
-   rm tests/save-benchmarks.vd || die "Could not benchmarks test"
-   rm tests/graph-sincos-nosave.vd || die "Could not benchmarks test"
-   rm tests/graphpr-nosave.vd || die "Could not benchmarks test"
-   rm tests/describe-error.vd || die "Could not remove network-dependent 
test"
-   rm tests/describe.vd || die "Could not remove network-dependent test"
-   rm tests/edit-type.vd || die "Could not remove network-dependent test"
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   git init || die "Git init failed."
-   git add tests/golden/ || die "Git add failed."
-   # this test script eventually calls pytest under the hood
-   dev/test.sh || die "Tests failed."
-   rm .git -rf || die "Could not clean up git test directory."
-}
-
-pkg_postinst() {
-   optfeature "integration with yaml" >=dev-python/pyyaml-5.1
-   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-binary
-   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 pdfminer.six" dev-python/pdfminer-six # in 
guru
-   optfeature "integration with vobject" dev-python/vobject
-   optfeature "integration with tabulate" dev-python/tabulate
-   optfeature "integration with tabulate (with unicode)" dev-python/wcwidth
-   # optfeature "pdf tables" tabula # no package presently
-   #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
-}



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2022-02-13 Thread Andrew Ammerlaan
commit: 0bcc019541621c80e5b96f57419449e16c4a5a8f
Author: Zoltan Puskas  sinustrom  info>
AuthorDate: Sun Feb 13 02:34:58 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Feb 13 15:55:44 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=0bcc0195

app-office/visidata: Drop old 1.5.2

Bug: https://bugs.gentoo.org/833255
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Zoltan Puskas  sinustrom.info>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 app-office/visidata/visidata-1.5.2.ebuild | 60 ---
 1 file changed, 60 deletions(-)

diff --git a/app-office/visidata/visidata-1.5.2.ebuild 
b/app-office/visidata/visidata-1.5.2.ebuild
deleted file mode 100644
index f9da52b26..0
--- a/app-office/visidata/visidata-1.5.2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1 optfeature
-
-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=""
-BDEPEND="
-   test? (
-   dev-vcs/git
-   dev-python/h5py[${PYTHON_USEDEP}]
-   dev-python/openpyxl[${PYTHON_USEDEP}]
-   dev-python/pandas[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   $(python_gen_impl_dep sqlite)
-   ${RDEPEND}
-   )
-"
-
-python_test() {
-   rm tests/golden/load-http.tsv || die "Could not remove 
network-dependent test."
-   git init || die "Git init failed."
-   git add tests/golden/ || die "Git add failed."
-   dev/test.sh || die "Tests failed."
-   rm .git -rf || die "Could not clean up git test directory."
-}
-
-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
-}



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2021-05-08 Thread Andrew Ammerlaan
commit: f87ef4d577f7b147e2d149887b5d92b336df5f79
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sat May  8 14:28:50 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat May  8 14:28:50 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=f87ef4d5

app-office/visidata: eutils --> optfeature

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  riseup.net>

 app-office/visidata/visidata-1.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/visidata/visidata-1.5.2.ebuild 
b/app-office/visidata/visidata-1.5.2.ebuild
index b2cb42633..f9da52b26 100644
--- a/app-office/visidata/visidata-1.5.2.ebuild
+++ b/app-office/visidata/visidata-1.5.2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
 
-inherit distutils-r1 eutils
+inherit distutils-r1 optfeature
 
 DESCRIPTION="Terminal spreadsheet multitool for discovering and arranging data"
 HOMEPAGE="http://visidata.org;



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2021-02-23 Thread Andrew Ammerlaan
commit: c08e31285766d3ebef86473c7fc3090afe2761e5
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Tue Feb 23 14:17:20 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Feb 23 14:30:30 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c08e3128

app-offic/visidata: use distutils_enable_tests

Signed-off-by: Wolfgang E. Sanyer  gmail.com>
Closes: https://github.com/gentoo/sci/pull/1057
Signed-off-by: Andrew Ammerlaan  riseup.net>

 app-office/visidata/visidata-2.1.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-office/visidata/visidata-2.1.1.ebuild 
b/app-office/visidata/visidata-2.1.1.ebuild
index 8a63fed59..a214036d8 100644
--- a/app-office/visidata/visidata-2.1.1.ebuild
+++ b/app-office/visidata/visidata-2.1.1.ebuild
@@ -15,8 +15,6 @@ 
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}]"
 BDEPEND="
@@ -36,6 +34,8 @@ BDEPEND="
 #  dev-python/sphinx-argparse
 # dev-python/sphinx-markdown-tables
 
+distutils_enable_tests pytest
+
 python_prepare_all() {
rm tests/load-http.vd || die "Could not remove network-dependent test."
rm tests/graph-cursor-nosave.vd || die "Could not remove 
network-dependent test."
@@ -53,6 +53,7 @@ python_prepare_all() {
 python_test() {
git init || die "Git init failed."
git add tests/golden/ || die "Git add failed."
+   # this test script eventually calls pytest under the hood
dev/test.sh || die "Tests failed."
rm .git -rf || die "Could not clean up git test directory."
 }



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2021-02-23 Thread Andrew Ammerlaan
commit: 8096f5d9d4d51d5a2fb403e133afbe0ecdbef43d
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Feb 23 08:36:16 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Feb 23 08:36:16 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=8096f5d9

app-office/visidata: add DISTUTILS_USE_SETUPTOOLS=rdepend

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 app-office/visidata/visidata-2.1.1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app-office/visidata/visidata-2.1.1.ebuild 
b/app-office/visidata/visidata-2.1.1.ebuild
index f1dc1c502..8a63fed59 100644
--- a/app-office/visidata/visidata-2.1.1.ebuild
+++ b/app-office/visidata/visidata-2.1.1.ebuild
@@ -4,6 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 optfeature
 
@@ -30,9 +31,9 @@ BDEPEND="
)
 "
 
-distutils_enable_sphinx docs \
-   dev-python/recommonmark \
-   dev-python/sphinx-argparse
+#distutils_enable_sphinx docs \
+#  dev-python/recommonmark \
+#  dev-python/sphinx-argparse
 # dev-python/sphinx-markdown-tables
 
 python_prepare_all() {



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2021-02-23 Thread Andrew Ammerlaan
commit: 42b48870ea2fbe45aaedc5be1bc9ee2b175fef7a
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Sat Jan 23 04:55:41 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Feb 23 08:31:37 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=42b48870

app-office/visidata: bump to 2.1.1

Signed-off-by: Wolfgang E. Sanyer  gmail.com>
Closes: https://github.com/gentoo/sci/pull/1041
Signed-off-by: Andrew Ammerlaan  riseup.net>

 app-office/visidata/visidata-2.1.1.ebuild | 82 +++
 1 file changed, 82 insertions(+)

diff --git a/app-office/visidata/visidata-2.1.1.ebuild 
b/app-office/visidata/visidata-2.1.1.ebuild
new file mode 100644
index 0..f1dc1c502
--- /dev/null
+++ b/app-office/visidata/visidata-2.1.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1 optfeature
+
+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}]"
+BDEPEND="
+   test? (
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/openpyxl[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-vcs/git
+   $(python_gen_impl_dep sqlite)
+   )
+"
+
+distutils_enable_sphinx docs \
+   dev-python/recommonmark \
+   dev-python/sphinx-argparse
+# dev-python/sphinx-markdown-tables
+
+python_prepare_all() {
+   rm tests/load-http.vd || die "Could not remove network-dependent test."
+   rm tests/graph-cursor-nosave.vd || die "Could not remove 
network-dependent test."
+   rm tests/messenger-nosave.vd || die "Could not remove network-dependent 
test."
+   rm tests/save-benchmarks.vd || die "Could not benchmarks test"
+   rm tests/graph-sincos-nosave.vd || die "Could not benchmarks test"
+   rm tests/graphpr-nosave.vd || die "Could not benchmarks test"
+   rm tests/describe-error.vd || die "Could not remove network-dependent 
test"
+   rm tests/describe.vd || die "Could not remove network-dependent test"
+   rm tests/edit-type.vd || die "Could not remove network-dependent test"
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   git init || die "Git init failed."
+   git add tests/golden/ || die "Git add failed."
+   dev/test.sh || die "Tests failed."
+   rm .git -rf || die "Could not clean up git test directory."
+}
+
+pkg_postinst() {
+   optfeature "integration with yaml" >=dev-python/pyyaml-5.1
+   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-binary
+   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 pdfminer.six" dev-python/pdfminer-six # in 
guru
+   optfeature "integration with vobject" dev-python/vobject
+   optfeature "integration with tabulate" dev-python/tabulate
+   optfeature "integration with tabulate (with unicode)" dev-python/wcwidth
+   # optfeature "pdf tables" tabula # no package presently
+   #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
+}



[gentoo-commits] proj/sci:master commit in: app-office/visidata/

2021-01-04 Thread Horea Christian
commit: 037b1acf3fabc6e412d2313e9aedd79e9597fd8f
Author: Horea Christian  chymera  eu>
AuthorDate: Tue Jan  5 06:32:05 2021 +
Commit: Horea Christian  gmail  com>
CommitDate: Tue Jan  5 06:32:05 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=037b1acf

app-office/visidata: new package

prospectively ahead of ::gentoo
https://github.com/gentoo/gentoo/pull/15889

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Horea Christian  chymera.eu>

 app-office/visidata/metadata.xml  | 22 
 app-office/visidata/visidata-1.5.2.ebuild | 60 +++
 2 files changed, 82 insertions(+)

diff --git a/app-office/visidata/metadata.xml b/app-office/visidata/metadata.xml
new file mode 100644
index 0..baa3633f0
--- /dev/null
+++ b/app-office/visidata/metadata.xml
@@ -0,0 +1,22 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   c...@chymera.eu
+   Horea Christian
+   
+   
+   proxy-ma...@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 0..b2cb42633
--- /dev/null
+++ b/app-office/visidata/visidata-1.5.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+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=""
+BDEPEND="
+   test? (
+   dev-vcs/git
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/openpyxl[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   $(python_gen_impl_dep sqlite)
+   ${RDEPEND}
+   )
+"
+
+python_test() {
+   rm tests/golden/load-http.tsv || die "Could not remove 
network-dependent test."
+   git init || die "Git init failed."
+   git add tests/golden/ || die "Git add failed."
+   dev/test.sh || die "Tests failed."
+   rm .git -rf || die "Could not clean up git test directory."
+}
+
+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
+}