commit: 1200c85552479ed9acb8d53c7f1c0250377237b1
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Mar 31 19:25:33 2025 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Mon Mar 31 19:31:15 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1200c855
dev-python/textual: add 3.0.0, drop 1.0.0
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
dev-python/textual/Manifest | 2 +-
.../{textual-1.0.0.ebuild => textual-3.0.0.ebuild} | 40 ++++++++++++++--------
2 files changed, 27 insertions(+), 15 deletions(-)
diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest
index 1f9938833..85d147dab 100644
--- a/dev-python/textual/Manifest
+++ b/dev-python/textual/Manifest
@@ -1,2 +1,2 @@
DIST textual-0.88.1.gh.tar.gz 29517235 BLAKE2B
457caef7957eab0b7317e94ce4dd991cf0da54c4b7c9b670089de6cb762b1fd28c1021b8be89e66947717452dcc4925ff70eb856cef470eacda6062322df2e7a
SHA512
7c849dac56ca93853b36ad8c67f5544f5a071ad3b23f7753f46a6b62a1017098b40ce2be0aa526aa5a4de397ec26bb7b42a245170516e22ef297ccbc49321394
-DIST textual-1.0.0.gh.tar.gz 29642631 BLAKE2B
e5122ed9f515c6c3f3707385523ec55d9281bda077fd80a9ca1b54030a0994800d6fe15b3f89998ac600b5e71120de0261d6b272132b5366d3bf53ec145dd1fa
SHA512
d943ba0a01f84b526a15755fd1fb41b094e6029f73b317e098b8c23abbc87e43b7f75d1ab9bc92c0462463ef5e9229476f5d2700fa27d1245665b9aa89c2a2b5
+DIST textual-3.0.0.gh.tar.gz 30121836 BLAKE2B
0b72d0b67fafcae4eddddc9e8cac53a4c83d0b7d9d2d959a84219adf3cd8daeeae1f31d8abbab7b89bf8c0ffd7d22bb35e08dab36f1bb542fae15c34867f355a
SHA512
384f2d2b4f441c3ff8dc731ed1b00e2d3e145330c9793cbf6141bceb7b6452cd11ea2d9e07128e79a672a11e859e15c2b26d6e6e1e1f82dcbe953945e7daa546
diff --git a/dev-python/textual/textual-1.0.0.ebuild
b/dev-python/textual/textual-3.0.0.ebuild
similarity index 64%
rename from dev-python/textual/textual-1.0.0.ebuild
rename to dev-python/textual/textual-3.0.0.ebuild
index eb408c44a..ba27bce3c 100644
--- a/dev-python/textual/textual-1.0.0.ebuild
+++ b/dev-python/textual/textual-3.0.0.ebuild
@@ -37,7 +37,6 @@ BDEPEND="
test? (
dev-python/griffe[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]
- dev-python/platformdirs[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
=dev-python/textual-dev-1.7*[${PYTHON_USEDEP}]
)
@@ -54,21 +53,34 @@ EPYTEST_DESELECT=(
# 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
)
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_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"