dev-python/textual: drop *, add 7.0.1

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
dsaf committed 2026-01-08 02:27:05 -03:00
1 parent 477a5873b9
commit c97d4ab709
3 files changed
+11 -106

No files matched your search

+1 -2
View File
@@ -1,2 +1 @@
DIST textual-5.3.0.gh.tar.gz 30143229 BLAKE2B 4cdf7410efcbe4a87fd7346d3e083dfca03a3c546e598b21a3460270685b19ca7bc630c01acd8e1f132679199dab5cabdf525fb8e90fa7b6d6b4f1f5f43dba72 SHA512 df05703d7ef310a1f6e26b055550627ad6d981145d7ec215fb0abb01362c574b67701bf504ba088d4fe8c6f287942175f0e1d8a111c8424bf06acc6b65ead135
DIST textual-7.0.0.gh.tar.gz 30195156 BLAKE2B 5997d6657fa26a46d70d75fb3f813369c8ffd449dba3106dd7d7201242502555e83a2a7854f1f7b17a705bf92440c5792224293b213b030c3b45294e58fc87b4 SHA512 694ff3562f1ed56d898345783ebbf3a28a89fb6fe0e4c09378888c06bde9747ba4433a62d0ad4efcdd8d0ecb02dc1fc2e1781d6ec743d51401628d60dd36baa1
DIST textual-7.0.1.gh.tar.gz 30195506 BLAKE2B d464ddc233c6e6e714834758f8476313aa9f86f09696296fffd4a1066a55e948759ebda3286a6ddf94ace4bd732cc262b6fc634eccdf4b6e7ee60361a00d8bc9 SHA512 44b1a99f68211b684fc2954efcd1889970a75008caa1cc8f0f55b887c8157daa31b74b4882f54a900197791afdca9c7052d3a812965906c81e1204063d35bf79
-100
View File
@@ -1,100 +0,0 @@
# Copyright 1999-2025 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://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-13.3.3[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/griffe[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
=dev-python/textual-dev-1.7*[${PYTHON_USEDEP}]
)
"
DEPEND="${RDEPEND}"
DOCS+=( CHANGELOG.md LICENSE README.md )
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
}
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,7 +20,11 @@ DOCS_INITIALIZE_GIT=1
inherit distutils-r1 optfeature docs
DESCRIPTION="Modern Text User Interface framework"
HOMEPAGE="https://github.com/Textualize/textual https://pypi.org/project/textual/"
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"
@@ -35,6 +39,7 @@ RDEPEND="
>=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/griffe[${PYTHON_USEDEP}]
@@ -43,9 +48,8 @@ BDEPEND="
=dev-python/textual-dev-1.7*[${PYTHON_USEDEP}]
)
"
DEPEND="${RDEPEND}"
DOCS+=( CHANGELOG.md LICENSE README.md )
DOCS+=( {CHANGELOG,README}.md )
EPYTEST_XDIST=1
EPYTEST_DESELECT=(
@@ -72,7 +76,9 @@ EPYTEST_DESELECT=(
# 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+=(