dev-python/textual-autocomplete: new package, add 4.0.6

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
Florian Albrechtskirchinger
2026-03-27 03:57:10 +01:00
parent 0d2685c6fd
commit 957dd5c4ae
3 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST textual_autocomplete-4.0.6.tar.gz 97967 BLAKE2B 0e518b1fe64d93e4da47ff49d434a0d2bf9f6288120320d90339755d681c6d824f589a65386f4ff1367195532c4a2b2b5492c3c786c8e2279e23f0b9d3d85d1e SHA512 1559df6c72538a001ff227eddf9f37614b22bd2fdb4d160de7d14878b6cfc7dfbdf26ebd4ec54e4bafb1ef4d971c59e970690f5be9d5500ab788689b308b9278

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>falbrechtskirchinger@gmail.com</email>
<name>Florian Albrechtskirchinger</name>
</maintainer>
<upstream>
<remote-id type="pypi">textual-autocomplete</remote-id>
<remote-id type="github">darrenburns/textual-autocomplete</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,38 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Easily add autocomplete dropdowns to your Textual apps"
HOMEPAGE="
https://github.com/darrenburns/textual-autocomplete
https://pypi.org/project/textual-autocomplete/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-python/textual-2.0.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=(
pytest-{asyncio,textual-snapshot}
syrupy
)
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# Tests fail but appear visually indistinguishable in snapshot_report.html (v4.0.6)
# A closer look reveals differing CSS class names
# TODO Investigate root cause
tests/snapshots/test_cursor_tracking.py::test_dropdown_tracks_input_cursor_and_cursor_prefix_as_search_string
tests/snapshots/test_cursor_tracking.py::test_dropdown_tracks_input_cursor_on_click_and_cursor_prefix_search_string
)