Skip to content

Commit

Permalink
fix(sci-visualization/visidata): version bump to 3.0.2, drop old
Browse files Browse the repository at this point in the history
closes #153
  • Loading branch information
SpiderX committed Jul 6, 2024
1 parent 2a3539b commit 5b4ce72
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 31 deletions.
2 changes: 1 addition & 1 deletion sci-visualization/visidata/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST visidata-2.11.1.gh.tar.gz 1928973 BLAKE2B bb9c40121175db262d4e0256b4e5b71313228590b9517e42589158d1a6279add0c1eacf1fe0ae5d38bd013b53c3ccad92ba0c4e39d40e27605c1502c84c40a5d SHA512 01905795ae6216e3cf662b43732394c68b43ffc8a4dc40da8552ebefaba4535fa3937aec1825cb108267dd83ab1b6a1072d1e698d416eae883dba915ca40b332
DIST visidata-3.0.2.tar.gz 13142844 BLAKE2B 98310eb540bd296d613a43250e2c0be2c69ae70fdff79adda062ff5322aca3f6e6c196b601ac7822a09189da59c0d5af7d30bdabade4756a9076c55d81bbf32d SHA512 299d5ac7ca229740e3a45ba8ce22187492a91720690b1313bc22888b758750bbe7790bef226d102f174c4148810b38c168b7a749de30c5c5ed0dfb67fa590379
Original file line number Diff line number Diff line change
@@ -1,41 +1,26 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..12} )
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE="sqlite"

inherit distutils-r1 optfeature
inherit distutils-r1 optfeature pypi

DESCRIPTION="Terminal spreadsheet multitool for discovering and arranging data"
HOMEPAGE="https://github.com/saulpw/visidata"
SRC_URI="https://github.com/saulpw/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test"
PROPERTIES="test_network"

RDEPEND="dev-python/importlib-metadata[${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/requests[${PYTHON_USEDEP}]
dev-vcs/git )"

distutils_enable_tests pytest

python_test() {
git init || die "git init failed"
git add tests/golden/ || die "git add failed"
dev/test.sh || die "test failed"
}

pkg_postinst() {
optfeature "integration with yaml" dev-python/pyyaml
optfeature "integration with png" dev-python/pypng
Expand All @@ -50,12 +35,12 @@ pkg_postinst() {
optfeature "integration with shapefiles" sci-libs/pyshp
optfeature "integration with namestand" dev-python/graphviz
optfeature "integration with tabulate/wcwidth" dev-python/tabulate # saver
optfeature "integration with pdf" app-text/pdfminer
optfeature "integration with mbtiles" dev-python/mapbox-vector-tile
optfeature "integration with vcf" dev-python/vobject
#optfeature "integration with pcap" dev-python/dnslib #dpkt
#optfeature "integration with pdf" pdfminer.six tabula
#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
#optfeature "integration with datapackage" frictionless .json
#optfeature "integration with vcf" vobject
}
17 changes: 8 additions & 9 deletions sci-visualization/visidata/visidata-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..12} )
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE="sqlite"
EGIT_REPO_URI="https://github.com/saulpw/${PN}.git"

inherit distutils-r1 git-r3 optfeature

DESCRIPTION="Terminal spreadsheet multitool for discovering and arranging data"
HOMEPAGE="https://github.com/saulpw/visidata"
SRC_URI=""

LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
RESTRICT="test"
PROPERTIES="test_network"

RDEPEND="dev-python/importlib-metadata[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]"
Expand All @@ -29,8 +29,7 @@ BDEPEND="test? ( dev-python/h5py[${PYTHON_USEDEP}]
distutils_enable_tests pytest

python_test() {
git init || die "git init failed"
git add tests/golden/ || die "git add failed"
epytest -v visidata/tests/
dev/test.sh || die "test failed"
}

Expand All @@ -48,12 +47,12 @@ pkg_postinst() {
optfeature "integration with shapefiles" sci-libs/pyshp
optfeature "integration with namestand" dev-python/graphviz
optfeature "integration with tabulate/wcwidth" dev-python/tabulate # saver
optfeature "integration with pdf" app-text/pdfminer
optfeature "integration with mbtiles" dev-python/mapbox-vector-tile
optfeature "integration with vcf" dev-python/vobject
#optfeature "integration with pcap" dev-python/dnslib #dpkt
#optfeature "integration with pdf" pdfminer.six tabula
#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
#optfeature "integration with datapackage" frictionless .json
#optfeature "integration with vcf" vobject
}

0 comments on commit 5b4ce72

Please sign in to comment.