aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Gasc <gasc@eurecom.fr>2023-12-01 21:46:43 +0100
committerHenri Gasc <gasc@eurecom.fr>2023-12-01 21:50:04 +0100
commit0ed46f7a0e8e7a53cc31db8c641fe4f31106a7bb (patch)
treeec335d11053ee88b3c0071b2372c7a50c75d0858
parentdev-python/textual-dev: add 1.2.0, drop 1.1.0 (diff)
downloadguru-0ed46f7a.tar.gz
guru-0ed46f7a.tar.bz2
guru-0ed46f7a.zip
dev-python/textual: add 0.44.0, drop 0.36.0
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
-rw-r--r--dev-python/textual/Manifest2
-rw-r--r--dev-python/textual/textual-0.44.0.ebuild (renamed from dev-python/textual/textual-0.36.0.ebuild)15
2 files changed, 10 insertions, 7 deletions
diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest
index d7be15c01..216cbf7bf 100644
--- a/dev-python/textual/Manifest
+++ b/dev-python/textual/Manifest
@@ -1 +1 @@
-DIST textual-0.36.0.gh.tar.gz 25861324 BLAKE2B fa4b31b743452e583e40f95a86bb9b0e05a984a04aa83b4820eeed0124bebdb88e011f7d4cfd362cd686bab2df85913a2f4642218b25da9521c871926bbfe46b SHA512 506f04a4eaa363e4423a823b8f4c804d2a531dd246905cf48d0cb001b59f1e1e936bd7b755424d69e5037f4d631fe6c8ea8799cb2d60c4a3fcf2982625d0cc86
+DIST textual-0.44.0.gh.tar.gz 27829324 BLAKE2B 2e2e62aa2b05f09a4f29e96465b5228bcc8df0c165560fd4d5a76cb7153c55c6e7eb4434ec167893a888be1c54d24f9b41af1c7c17a8642b9341f245d22b7a73 SHA512 44d10806361571e6cacb087b0ee1fa78a8b55bfdaac14190d70f580e51911dc990ca6d3c9db85bef5df872cc0d7caf20d0ae3bba1020e44889dd487fb5bad97a
diff --git a/dev-python/textual/textual-0.36.0.ebuild b/dev-python/textual/textual-0.44.0.ebuild
index 7b1d86b02..220832203 100644
--- a/dev-python/textual/textual-0.36.0.ebuild
+++ b/dev-python/textual/textual-0.44.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
@@ -41,8 +41,11 @@ python_install_all() {
elog "If you want the documentation, you can read it at https://textual.textualize.io/"
}
-python_test() {
+EPYTEST_DESELECT=(
# Those tests ask to press keys
- local EPYTEST_IGNORE="tests/snapshot_tests/test_snapshots.py"
- epytest "${S}/tests" || die "Tests failed with ${EPYTHON}"
-}
+ tests/snapshot_tests/test_snapshots.py
+
+ # Need a package that should be optional
+ tests/text_area/test_languages.py::test_register_language
+ tests/text_area/test_languages.py::test_register_language_existing_language
+)