textproc/py-textual-autocomplete: New port: Easily add autocomplete dropdowns to your Textual apps

This commit is contained in:
Yuri Victorovich 2025-03-02 20:32:53 -08:00
parent 0bed77fb84
commit fb7ef6877d
4 changed files with 33 additions and 0 deletions

View file

@ -1673,6 +1673,7 @@
SUBDIR += py-textract SUBDIR += py-textract
SUBDIR += py-texttable SUBDIR += py-texttable
SUBDIR += py-textual SUBDIR += py-textual
SUBDIR += py-textual-autocomplete
SUBDIR += py-textwrap3 SUBDIR += py-textwrap3
SUBDIR += py-three-merge SUBDIR += py-three-merge
SUBDIR += py-tika-client SUBDIR += py-tika-client

View file

@ -0,0 +1,26 @@
PORTNAME= textual-autocomplete
PORTVERSION= 4.0.0a0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSIONFULL}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Easily add autocomplete dropdowns to your Textual apps
WWW= https://github.com/Textualize/textual
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}textual>0:textproc/py-textual@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist pytest
NO_ARCH= yes
# tests as of 4.0.0a0: 1 passed, 5 warnings in 7.96s
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1740947347
SHA256 (textual_autocomplete-4.0.0a0.tar.gz) = c2c8e680e0ef1607dbcaac56de3b07f3c242f33d1365038284b82272cef00076
SIZE (textual_autocomplete-4.0.0a0.tar.gz) = 95343

View file

@ -0,0 +1,3 @@
textual-autocomplete is a Python library for creating dropdown autocompletion
menus in Textual applications, allowing users to quickly select from a list of
suggestions as they type.