public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Horea Christian" <horea.christ@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: app-office/visidata/
Date: Thu, 25 May 2023 21:44:09 +0000 (UTC)	[thread overview]
Message-ID: <1685051036.6cfe31e2407efdc5e61625117a16f46c8387cbb7.chymera@gentoo> (raw)

commit:     6cfe31e2407efdc5e61625117a16f46c8387cbb7
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Thu May 25 21:43:56 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu May 25 21:43:56 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cfe31e2

app-office/visidata: add 2.11_p20230217

Signed-off-by: Horea Christian <chr <AT> 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 000000000..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
+}


             reply	other threads:[~2023-05-25 21:44 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 21:44 Horea Christian [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-16  0:43 [gentoo-commits] proj/sci:master commit in: app-office/visidata/ Horea Christian
2025-06-16  0:39 Horea Christian
2023-07-22  9:19 Andrew Ammerlaan
2023-07-22  9:19 Andrew Ammerlaan
2023-05-26  2:46 Horea Christian
2023-05-25  6:21 Horea Christian
2023-05-02 23:45 Horea Christian
2023-05-02 23:42 Horea Christian
2022-07-07  3:34 Sam James
2022-02-13 16:02 Andrew Ammerlaan
2022-02-13 16:02 Andrew Ammerlaan
2022-02-13 16:02 Andrew Ammerlaan
2022-02-13 16:02 Andrew Ammerlaan
2022-02-13 16:02 Andrew Ammerlaan
2021-05-08 14:30 Andrew Ammerlaan
2021-02-23 14:30 Andrew Ammerlaan
2021-02-23  8:36 Andrew Ammerlaan
2021-02-23  8:31 Andrew Ammerlaan
2021-01-05  6:32 Horea Christian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1685051036.6cfe31e2407efdc5e61625117a16f46c8387cbb7.chymera@gentoo \
    --to=horea.christ@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox