From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1539357-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9046615800A for <garchives@archives.gentoo.org>; Sat, 22 Jul 2023 09:20:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C26C1E081A; Sat, 22 Jul 2023 09:19:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7190E081A for <gentoo-commits@lists.gentoo.org>; Sat, 22 Jul 2023 09:19:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 68484340B25 for <gentoo-commits@lists.gentoo.org>; Sat, 22 Jul 2023 09:19:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B28FBEE for <gentoo-commits@lists.gentoo.org>; Sat, 22 Jul 2023 09:19:56 +0000 (UTC) From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" <andrewammerlaan@gentoo.org> Message-ID: <1690017548.b90875d38acbb99efc56f9ca08c86eecbeb819c8.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: app-office/visidata/ X-VCS-Repository: proj/sci X-VCS-Files: app-office/visidata/visidata-2.11.1.ebuild X-VCS-Directories: app-office/visidata/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: b90875d38acbb99efc56f9ca08c86eecbeb819c8 X-VCS-Branch: master Date: Sat, 22 Jul 2023 09:19:56 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 91fdf674-194d-4454-ae8c-4f66295edc91 X-Archives-Hash: a9e4cfd6396b67d0d2e8061c4a0a4f9c commit: b90875d38acbb99efc56f9ca08c86eecbeb819c8 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Sat Jul 22 09:19:08 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Sat Jul 22 09:19:08 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b90875d3 app-office/visidata: add 2.11.1 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> 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 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 +}