diff options
Diffstat (limited to 'app-office/visidata')
-rw-r--r-- | app-office/visidata/Manifest | 6 | ||||
-rw-r--r-- | app-office/visidata/metadata.xml | 4 | ||||
-rw-r--r-- | app-office/visidata/visidata-1.5.2.ebuild | 60 | ||||
-rw-r--r-- | app-office/visidata/visidata-2.11-r1.ebuild | 90 | ||||
-rw-r--r-- | app-office/visidata/visidata-2.11.1.ebuild | 88 | ||||
-rw-r--r-- | app-office/visidata/visidata-2.11_p20230217-r1.ebuild | 90 | ||||
-rw-r--r-- | app-office/visidata/visidata-2.8.ebuild (renamed from app-office/visidata/visidata-2.1.1.ebuild) | 14 |
7 files changed, 281 insertions, 71 deletions
diff --git a/app-office/visidata/Manifest b/app-office/visidata/Manifest index 42921ce64..841bc773a 100644 --- a/app-office/visidata/Manifest +++ b/app-office/visidata/Manifest @@ -1,2 +1,4 @@ -DIST visidata-1.5.2.tar.gz 637598 BLAKE2B 47ef05280cec9fdb3620759b7c2089de7d2e42a4a1d1a13d14b5e59555c8de6091ceab1fb72ab4ee45dc7611741ffdc6eeefcab5e4755485b6d18d48327fe639 SHA512 36f11c207f391d06095dfab75fe4a638e562cd20bc29f72a6e5df1dcc87ab46f2834ffbdb561fb9e4e07fdd50dc5b34c619bbc4bc3d34ce350428e7330ea252c -DIST visidata-2.1.1.tar.gz 952448 BLAKE2B c58378b9d653b50532f4f7209d08fbe4146a91907e7ca145580254784ea676b74554e9a8be69f7ae86842bf9548b16e28aa04fc8ecd42bfaee2f28e908cdddb9 SHA512 ade237622a1ac394fa2f287994c439330560062327b32a26adf129e3cae548a883ab1e76698233136aa6368b1823c4914e6912031c5b4221283d224ad2852bc7 +DIST visidata-2.11.1.gh.tar.gz 1928973 BLAKE2B bb9c40121175db262d4e0256b4e5b71313228590b9517e42589158d1a6279add0c1eacf1fe0ae5d38bd013b53c3ccad92ba0c4e39d40e27605c1502c84c40a5d SHA512 01905795ae6216e3cf662b43732394c68b43ffc8a4dc40da8552ebefaba4535fa3937aec1825cb108267dd83ab1b6a1072d1e698d416eae883dba915ca40b332 +DIST visidata-2.11.gh.tar.gz 1927455 BLAKE2B 95f868028fabb488f550b2ba15b60104a2d54dff972946ac38996d2906464e306e396adbf8dee32107aaf19a48d0e5d087aeeec82909e1d09b1d84b1e61138b7 SHA512 01512d47da329ba95aa7ceb5678a652fba5e06f6ff7ef0216b6271bf5b63a10712d425a2a1668ef6399b74f9fa9cb8d2d0f7bfa9316488ef5d64285ddcdde31a +DIST visidata-2.11_p20230217.gh.tar.gz 2062327 BLAKE2B c7cd07ac816a31c2294d431c6426fc44f8a2cf015e7994d8b918c9e60cce2e7700ac77919c5a9e5c3ad5ccf41cb5b04e34fc84016a0c6faa8bd4e8e470275d0a SHA512 eaf2060c6fe6d1fed713cb0318d12233f279151a1a97b11ae3a7ccf07a065d716cf81872b76aa71a15dda3bfd85c09e7e03f9be2fae857f8edbded86e06b597f +DIST visidata-2.8.gh.tar.gz 1791958 BLAKE2B f7a7dec514bcca37b4ee6ee9c16eb07a625b83e601a5bcf1ca5589a462e50086cbd9997238230ac464b4dc77e9deb421d3ff0bcf0fa39b32f1c1ce0308d2cb7b SHA512 da9bce4e59054ea518024639a1f60d6f19886cd061a52aa49189d7478ea27950e6e97e0d1730456b65815f9298d0225bfcebe4bba5452e1a9a87f5f56aa11dc3 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 @@ <email>chr@chymera.eu</email> <name>Horea Christian</name> </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> <longdescription lang="en"> VisiData is an interactive multitool for tabular data. It combines the clarity of a spreadsheet, the efficiency of the terminal, and the power 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..000000000 --- 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 -} diff --git a/app-office/visidata/visidata-2.11-r1.ebuild b/app-office/visidata/visidata-2.11-r1.ebuild new file mode 100644 index 000000000..208587336 --- /dev/null +++ b/app-office/visidata/visidata-2.11-r1.ebuild @@ -0,0 +1,90 @@ +# 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_{10..11} ) + +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}.gh.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# Tests fail on recent Python: +# https://github.com/saulpw/visidata/issues/1905 +RESTRICT="test" + +RDEPEND=" + >=dev-python/importlib-metadata-3.6[${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/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 +} 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 000000000..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 +} diff --git a/app-office/visidata/visidata-2.11_p20230217-r1.ebuild b/app-office/visidata/visidata-2.11_p20230217-r1.ebuild new file mode 100644 index 000000000..5edfdcb23 --- /dev/null +++ b/app-office/visidata/visidata-2.11_p20230217-r1.ebuild @@ -0,0 +1,90 @@ +# 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/importlib-metadata-3.6[${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/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 +} diff --git a/app-office/visidata/visidata-2.1.1.ebuild b/app-office/visidata/visidata-2.8.ebuild index a214036d8..11c164d7e 100644 --- a/app-office/visidata/visidata-2.1.1.ebuild +++ b/app-office/visidata/visidata-2.8.ebuild @@ -1,25 +1,29 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) 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" KEYWORDS="~amd64 ~x86" +# Tests fail on recent Python: +# https://github.com/saulpw/visidata/issues/1905 +RESTRICT="test" 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}] |