From fb7ef6877dcb6aa72f0807e25261f93944235262 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 2 Mar 2025 20:32:53 -0800 Subject: [PATCH] textproc/py-textual-autocomplete: New port: Easily add autocomplete dropdowns to your Textual apps --- textproc/Makefile | 1 + textproc/py-textual-autocomplete/Makefile | 26 ++++++++++++++++++++++ textproc/py-textual-autocomplete/distinfo | 3 +++ textproc/py-textual-autocomplete/pkg-descr | 3 +++ 4 files changed, 33 insertions(+) create mode 100644 textproc/py-textual-autocomplete/Makefile create mode 100644 textproc/py-textual-autocomplete/distinfo create mode 100644 textproc/py-textual-autocomplete/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index a096eda237a3..fb6afd9fc48d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1673,6 +1673,7 @@ SUBDIR += py-textract SUBDIR += py-texttable SUBDIR += py-textual + SUBDIR += py-textual-autocomplete SUBDIR += py-textwrap3 SUBDIR += py-three-merge SUBDIR += py-tika-client diff --git a/textproc/py-textual-autocomplete/Makefile b/textproc/py-textual-autocomplete/Makefile new file mode 100644 index 000000000000..b1bd2e216c33 --- /dev/null +++ b/textproc/py-textual-autocomplete/Makefile @@ -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 diff --git a/textproc/py-textual-autocomplete/distinfo b/textproc/py-textual-autocomplete/distinfo new file mode 100644 index 000000000000..6fc0c8d898ac --- /dev/null +++ b/textproc/py-textual-autocomplete/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1740947347 +SHA256 (textual_autocomplete-4.0.0a0.tar.gz) = c2c8e680e0ef1607dbcaac56de3b07f3c242f33d1365038284b82272cef00076 +SIZE (textual_autocomplete-4.0.0a0.tar.gz) = 95343 diff --git a/textproc/py-textual-autocomplete/pkg-descr b/textproc/py-textual-autocomplete/pkg-descr new file mode 100644 index 000000000000..f1193647b46a --- /dev/null +++ b/textproc/py-textual-autocomplete/pkg-descr @@ -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.