commit: faa1156c9308b590aa3cce21c8afa9656cedb42f
Author: dsaf <ghostyn678+git <AT> gmail <DOT> com>
AuthorDate: Sat Mar 14 01:15:01 2026 +0000
Commit: dsaf <ghostyn678+git <AT> gmail <DOT> com>
CommitDate: Sat Mar 14 02:41:43 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=faa1156c
dev-python/textual: add 8.1.1
Signed-off-by: dsaf <ghostyn678+git <AT> gmail.com>
dev-python/textual/Manifest | 1 +
dev-python/textual/textual-8.1.1.ebuild | 108 ++++++++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest
index 36890a565d..3659f4ce38 100644
--- a/dev-python/textual/Manifest
+++ b/dev-python/textual/Manifest
@@ -1 +1,2 @@
DIST textual-8.0.2.gh.tar.gz 30211151 BLAKE2B
48ac92ddc4cc8def773fcb69ce62f4ea9316feeb432203ee25ac01dc9655f12a44f3b6558fe473f70a663da5906cf2ef357439b074f32fa5b9bde25b091efb59
SHA512
ea19dec1a935d5159fccbd72749f8460021e0c43da306fc5402fbc78ce6224efeb10a796b882943c1461727cbf2a14efda0dee7f96048591f10f29a5a6df6506
+DIST textual-8.1.1.gh.tar.gz 30212024 BLAKE2B
897e3d4714aebaaacfed5a84e298a400c3f13224a74d64e958cb9eda1fd368d3ec00b8b6f350e2d229a68299a9007f893979e86f4b09b4ae2e1c39975e46f26e
SHA512
335457e9f9b8e44e73e1d7103f9ffb8dd92adc10be906004066659ac5209069bfdb673f78473c21a251a5d891943d56b26b0544fd7365e5d72d4f3d220c73518
diff --git a/dev-python/textual/textual-8.1.1.ebuild
b/dev-python/textual/textual-8.1.1.ebuild
new file mode 100644
index 0000000000..ca1655f6ee
--- /dev/null
+++ b/dev-python/textual/textual-8.1.1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{12..13} )
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="
+ dev-python/mkdocstrings
+ dev-python/mkdocstrings-python
+ dev-python/mkdocs-exclude
+ dev-python/mkdocs-git-revision-date-localized-plugin
+ dev-python/mkdocs-material
+ dev-python/mkdocs-rss-plugin
+"
+DOCS_INITIALIZE_GIT=1
+
+inherit distutils-r1 optfeature docs
+
+DESCRIPTION="Modern Text User Interface framework"
+HOMEPAGE="
+ https://textual.textualize.io/
+ https://github.com/Textualize/textual
+ https://pypi.org/project/textual/
+"
+SRC_URI="https://github.com/Textualize/textual/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/markdown-it-py-2.1.0[${PYTHON_USEDEP}]
+ >=dev-python/platformdirs-3.6.0[${PYTHON_USEDEP}]
+ <dev-python/platformdirs-5[${PYTHON_USEDEP}]
+ >=dev-python/rich-14.2.0[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}]
+ <dev-python/typing-extensions-5[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/griffe[${PYTHON_USEDEP}]
+ dev-python/httpx[${PYTHON_USEDEP}]
+ =dev-python/textual-dev-1.7*[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS+=( {CHANGELOG,README}.md )
+
+EPYTEST_PLUGINS=( pytest-asyncio )
+EPYTEST_XDIST=1
+EPYTEST_DESELECT=(
+ # Those tests ask to press keys
+ tests/snapshot_tests/test_snapshots.py
+
tests/test_xterm_parser.py::test_escape_sequence_resulting_in_multiple_keypresses
+
+ # Need a package that should be optional
+ tests/text_area/test_languages.py
+
+ # Xdist fails thoses
+ tests/test_focus.py::test_focus_next_and_previous
+ tests/test_focus.py::test_focus_next_wrap_around
+ tests/test_focus.py::test_focus_previous_wrap_around
+ tests/test_focus.py::test_wrap_around_selector
+ tests/test_focus.py::test_no_focus_empty_selector
+ tests/test_focus.py::test_focus_next_and_previous_with_type_selector
+ tests/test_focus.py::test_focus_next_and_previous_with_str_selector
+
tests/test_focus.py::test_focus_next_and_previous_with_str_selector_without_self
+ tests/test_focus.py::test_focus_chain
+ tests/test_focus.py::test_allow_focus
+
tests/test_focus.py::test_focus_next_and_previous_with_type_selector_without_self
+
+ # Needs a fixture that does not exist
+ tests/test_progress_bar.py::test_progress_bar_width_1fr
+)
+
+distutils_enable_tests pytest
+
+# python_test() {
+# if [[ ${EPYTHON} == python3.13 ]]; then
+# EPYTEST_DESELECT+=(
+# # See https://github.com/Textualize/textual/issues/5327
+# "tests/text_area"
+# # Some tests just do not work under python3.13 (more
than half of those in this file)
+# tests/test_focus.py
+# )
+# epytest -m 'not syntax' tests
+# else
+# epytest tests
+# fi
+# }
+
+python_compile_all() {
+ echo "INHERIT: mkdocs-offline.yml" > "${S}/mkdocs.yml"
+ grep -v "\- \"*[Bb]log" "${S}/mkdocs-nav.yml" >> "${S}/mkdocs.yml"
+ if use doc; then
+ DOCS+=( questions )
+ fi
+ docs_compile
+ rm "${S}/mkdocs.yml"
+}
+
+pkg_postinst() {
+ optfeature "bindings for python" dev-python/tree-sitter
+}