mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/tabulate: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST python-tabulate-0.10.0.gh.tar.gz 66602 BLAKE2B 5ff55e05e8b4a0d3ba8d9e1279dac070eea58075785829ede822cd44dcb3a8cbfc16421e530f7632d0d903e182915b76c0b4968087cfbff1fa30340604939080 SHA512 a5b3fe0b425e68238c28df151a4708a2c88891bc310f582b8dc8ab3f1701bad58189340ee1dde615b83667651014cfb1dd17b3751538002b0fd087569be37646
|
||||
DIST python-tabulate-0.9.0.gh.tar.gz 59342 BLAKE2B dc101ab8d1411196619c3d77dd83c84e48f31e148ec3878c2b844a1e26ea1187cc948cfb1eb740d61a667d6b669806a5288c397ea7fcbd59685fedaa9bd0bd2e SHA512 26b0f079f1aca48578883147cb1a2e30e96e0bb85d5af3b72b26eba5f73cea41cf1a0686f666487c8374f95ca0412703168e480c947f1567e6408f941756498b
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=python-${P}
|
||||
DESCRIPTION="Pretty-print tabular data"
|
||||
HOMEPAGE="
|
||||
https://github.com/astanin/python-tabulate/
|
||||
https://pypi.org/project/tabulate/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/astanin/python-${PN}/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/wcwidth[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
$(python_gen_impl_dep 'sqlite')
|
||||
dev-python/colorclass[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
' 'python3*')
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=()
|
||||
if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
test/test_input.py::test_pandas
|
||||
test/test_input.py::test_pandas_firstrow
|
||||
test/test_input.py::test_pandas_keys
|
||||
test/test_output.py::test_pandas_with_index
|
||||
test/test_output.py::test_pandas_without_index
|
||||
test/test_output.py::test_pandas_rst_with_index
|
||||
test/test_output.py::test_pandas_rst_with_named_index
|
||||
)
|
||||
fi
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user