commit:     fb1de2b1d5433551eb32eb1e8ae692485ddea67d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  5 04:05:45 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar  5 04:46:46 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1de2b1

dev-python/tabulate: Bump to 0.10.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/tabulate/Manifest               |  1 +
 dev-python/tabulate/tabulate-0.10.0.ebuild | 58 ++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/tabulate/Manifest b/dev-python/tabulate/Manifest
index e8780121f3cd..21bda89dd24a 100644
--- a/dev-python/tabulate/Manifest
+++ b/dev-python/tabulate/Manifest
@@ -1 +1,2 @@
+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

diff --git a/dev-python/tabulate/tabulate-0.10.0.ebuild 
b/dev-python/tabulate/tabulate-0.10.0.ebuild
new file mode 100644
index 000000000000..fdc2aeb2c6c2
--- /dev/null
+++ b/dev-python/tabulate/tabulate-0.10.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2026 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}]
+               dev-python/numpy[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=()
+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
+}

Reply via email to