git: 9d93723fe7b3 - main - textproc/py-textual-textarea: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 15:50:45 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9d93723fe7b3205aed9e25e173494fa3159e2ff5
commit 9d93723fe7b3205aed9e25e173494fa3159e2ff5
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-01-31 15:28:40 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-01-31 15:28:40 +0000
textproc/py-textual-textarea: Add new port
Textual-textarea is a text area (multi-line input) with syntax highlighting for
Textual.
It offers a full-featured text editor experience with VS-Code-like bindings, in
your Textual App:
- Syntax highlighting and support for Pygments themes.
- Move cursor and scroll with mouse or keys (including ctrl+arrow, PgUp/Dn,
ctrl+Home/End).
- Open (ctrl+o) and save (ctrl+s) files.
- Cut (ctrl+x), copy (ctrl+c), paste (ctrl+u/v), optionally using the system
clipboard.
- Comment selections with ctrl+/.
- Indent and dedent (optionally for a multiline selection) to tab stops with
Tab and shift+Tab.
- Automatic completions of quotes and brackets.
- Select text by double-, triple-, or quadruple-clicking.
- Quit with ctrl+q.
https://github.com/tconbeer/textual-textarea
---
textproc/Makefile | 1 +
textproc/py-textual-textarea/Makefile | 24 ++++++++++++++++++++++++
textproc/py-textual-textarea/distinfo | 3 +++
textproc/py-textual-textarea/pkg-descr | 18 ++++++++++++++++++
4 files changed, 46 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index ae9be8af8c67..43d3722b07c3 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1700,6 +1700,7 @@
SUBDIR += py-textual-fastdatatable
SUBDIR += py-textual-image
SUBDIR += py-textual-speedups
+ SUBDIR += py-textual-textarea
SUBDIR += py-textual0
SUBDIR += py-textwrap3
SUBDIR += py-three-merge
diff --git a/textproc/py-textual-textarea/Makefile b/textproc/py-textual-textarea/Makefile
new file mode 100644
index 000000000000..3db6454122bc
--- /dev/null
+++ b/textproc/py-textual-textarea/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= textual-textarea
+DISTVERSION= 0.17.2
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= Text area (multi-line input) with syntax highlighting for Textual
+WWW= https://github.com/tconbeer/textual-textarea
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.28.0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.7.0_1:devel/py-pyperclip@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}textual>=0.89.1:textproc/py-textual@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-textual-textarea/distinfo b/textproc/py-textual-textarea/distinfo
new file mode 100644
index 000000000000..95885c398f4b
--- /dev/null
+++ b/textproc/py-textual-textarea/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1769506652
+SHA256 (textual_textarea-0.17.2.tar.gz) = 84bb2bfe545db70071914802e808dc411c16c21e7744adbcfc381f1390dd2c6b
+SIZE (textual_textarea-0.17.2.tar.gz) = 27615
diff --git a/textproc/py-textual-textarea/pkg-descr b/textproc/py-textual-textarea/pkg-descr
new file mode 100644
index 000000000000..482bf99ac476
--- /dev/null
+++ b/textproc/py-textual-textarea/pkg-descr
@@ -0,0 +1,18 @@
+Textual-textarea is a text area (multi-line input) with syntax highlighting for
+Textual.
+
+It offers a full-featured text editor experience with VS-Code-like bindings, in
+your Textual App:
+
+ - Syntax highlighting and support for Pygments themes.
+ - Move cursor and scroll with mouse or keys (including ctrl+arrow, PgUp/Dn,
+ ctrl+Home/End).
+ - Open (ctrl+o) and save (ctrl+s) files.
+ - Cut (ctrl+x), copy (ctrl+c), paste (ctrl+u/v), optionally using the system
+ clipboard.
+ - Comment selections with ctrl+/.
+ - Indent and dedent (optionally for a multiline selection) to tab stops with
+ Tab and shift+Tab.
+ - Automatic completions of quotes and brackets.
+ - Select text by double-, triple-, or quadruple-clicking.
+ - Quit with ctrl+q.