summaryrefslogtreecommitdiff
path: root/textproc/py-textual
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/py-textual-autocomplete/Makefile2
-rw-r--r--textproc/py-textual-image/Makefile25
-rw-r--r--textproc/py-textual-image/distinfo3
-rw-r--r--textproc/py-textual-image/pkg-descr13
-rw-r--r--textproc/py-textual-speedups/Makefile24
-rw-r--r--textproc/py-textual-speedups/Makefile.crates21
-rw-r--r--textproc/py-textual-speedups/distinfo45
-rw-r--r--textproc/py-textual-speedups/pkg-descr2
-rw-r--r--textproc/py-textual/Makefile3
-rw-r--r--textproc/py-textual/distinfo6
-rw-r--r--textproc/py-textual0/Makefile34
-rw-r--r--textproc/py-textual0/distinfo3
-rw-r--r--textproc/py-textual0/pkg-descr2
13 files changed, 178 insertions, 5 deletions
diff --git a/textproc/py-textual-autocomplete/Makefile b/textproc/py-textual-autocomplete/Makefile
index 571f1e271a6f..4b87e75da7fa 100644
--- a/textproc/py-textual-autocomplete/Makefile
+++ b/textproc/py-textual-autocomplete/Makefile
@@ -7,7 +7,7 @@ DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSIONFULL}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Easily add autocomplete dropdowns to your Textual apps
-WWW= https://github.com/Textualize/textual
+WWW= https://github.com/darrenburns/textual-autocomplete
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
diff --git a/textproc/py-textual-image/Makefile b/textproc/py-textual-image/Makefile
new file mode 100644
index 000000000000..990f9c659a98
--- /dev/null
+++ b/textproc/py-textual-image/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= textual-image
+PORTVERSION= 0.8.4
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= textual_image-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Render images via Kitty's Terminal Graphics Protocol with Rich and Textual
+WWW= https://github.com/lnqs/textual-image
+
+LICENSE= LGPL3
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=10.3.0:graphics/py-pillow@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rich>=13.4.0:textproc/py-rich@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-textual-image/distinfo b/textproc/py-textual-image/distinfo
new file mode 100644
index 000000000000..28c573aa29d4
--- /dev/null
+++ b/textproc/py-textual-image/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759816482
+SHA256 (textual_image-0.8.4.tar.gz) = d13f960da07659cfac9d9e417ca7057b3ac0c17a7827ae8e47c3b164d43776fc
+SIZE (textual_image-0.8.4.tar.gz) = 109056
diff --git a/textproc/py-textual-image/pkg-descr b/textproc/py-textual-image/pkg-descr
new file mode 100644
index 000000000000..c7392882efdf
--- /dev/null
+++ b/textproc/py-textual-image/pkg-descr
@@ -0,0 +1,13 @@
+textual-image renders images directly in your terminal using Textual and Rich.
+
+textual-image offers both Rich renderables and Textual Widgets that leverage the
+Terminal Graphics Protocol (TGP) and Sixel protocols to display images in your
+terminal. For terminals that don't support these protocols, fallback rendering
+using Unicode characters is available.
+
+Supported Terminals:
+- Terminal Graphics Protocol (TGP): Initially introduced by the Kitty terminal
+ emulator. While support is partially available in other terminals, it doesn't
+ seem to be really usable there.
+- Sixel Graphics: Supported by various terminal emulators including xterm and a
+ lot of others.
diff --git a/textproc/py-textual-speedups/Makefile b/textproc/py-textual-speedups/Makefile
new file mode 100644
index 000000000000..941077fa336b
--- /dev/null
+++ b/textproc/py-textual-speedups/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= textual-speedups
+PORTVERSION= 0.2.0
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= textual_speedups-${PORTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Optional Rust speedups for Textual
+WWW= https://github.com/willmcgugan/textual-speedups
+
+#LICENSE= MIT
+#LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.8<2.0:devel/py-maturin@${PY_FLAVOR}
+
+USES= cargo python
+USE_PYTHON= autoplist concurrent pep517
+
+CARGO_BUILD= no
+CARGO_INSTALL= no
+WRKSRC= ${WRKDIR}/textual_speedups-${PORTVERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/py-textual-speedups/Makefile.crates b/textproc/py-textual-speedups/Makefile.crates
new file mode 100644
index 000000000000..616a6e7c37db
--- /dev/null
+++ b/textproc/py-textual-speedups/Makefile.crates
@@ -0,0 +1,21 @@
+CARGO_CRATES= autocfg-1.4.0 \
+ geometry-0.2.0 \
+ heck-0.5.0 \
+ indoc-2.0.6 \
+ libc-0.2.172 \
+ memoffset-0.9.1 \
+ once_cell-1.21.3 \
+ portable-atomic-1.11.0 \
+ proc-macro2-1.0.95 \
+ pyo3-0.25.0 \
+ pyo3-build-config-0.25.0 \
+ pyo3-ffi-0.25.0 \
+ pyo3-macros-0.25.0 \
+ pyo3-macros-backend-0.25.0 \
+ quote-1.0.40 \
+ range-0.2.0 \
+ syn-2.0.101 \
+ target-lexicon-0.13.2 \
+ unicode-ident-1.0.18 \
+ unindent-0.2.4 \
+ wavefront_obj-2.0.4
diff --git a/textproc/py-textual-speedups/distinfo b/textproc/py-textual-speedups/distinfo
new file mode 100644
index 000000000000..18c527d5238a
--- /dev/null
+++ b/textproc/py-textual-speedups/distinfo
@@ -0,0 +1,45 @@
+TIMESTAMP = 1759816484
+SHA256 (textual_speedups-0.2.0.tar.gz) = e9e045e94b7daff79917f4fc699c6d99db6005559298929141d68a1293c3cc6d
+SIZE (textual_speedups-0.2.0.tar.gz) = 11650
+SHA256 (rust/crates/autocfg-1.4.0.crate) = ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26
+SIZE (rust/crates/autocfg-1.4.0.crate) = 17712
+SHA256 (rust/crates/geometry-0.2.0.crate) = 16b74a5c16c5e360542a79cfa03ba6f18d5ac9b7a6291641976c2975ca56489d
+SIZE (rust/crates/geometry-0.2.0.crate) = 3227
+SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea
+SIZE (rust/crates/heck-0.5.0.crate) = 11517
+SHA256 (rust/crates/indoc-2.0.6.crate) = f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd
+SIZE (rust/crates/indoc-2.0.6.crate) = 17164
+SHA256 (rust/crates/libc-0.2.172.crate) = d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa
+SIZE (rust/crates/libc-0.2.172.crate) = 791646
+SHA256 (rust/crates/memoffset-0.9.1.crate) = 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a
+SIZE (rust/crates/memoffset-0.9.1.crate) = 9032
+SHA256 (rust/crates/once_cell-1.21.3.crate) = 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d
+SIZE (rust/crates/once_cell-1.21.3.crate) = 34534
+SHA256 (rust/crates/portable-atomic-1.11.0.crate) = 350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e
+SIZE (rust/crates/portable-atomic-1.11.0.crate) = 181258
+SHA256 (rust/crates/proc-macro2-1.0.95.crate) = 02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778
+SIZE (rust/crates/proc-macro2-1.0.95.crate) = 51820
+SHA256 (rust/crates/pyo3-0.25.0.crate) = f239d656363bcee73afef85277f1b281e8ac6212a1d42aa90e55b90ed43c47a4
+SIZE (rust/crates/pyo3-0.25.0.crate) = 1120850
+SHA256 (rust/crates/pyo3-build-config-0.25.0.crate) = 755ea671a1c34044fa165247aaf6f419ca39caa6003aee791a0df2713d8f1b6d
+SIZE (rust/crates/pyo3-build-config-0.25.0.crate) = 34122
+SHA256 (rust/crates/pyo3-ffi-0.25.0.crate) = fc95a2e67091e44791d4ea300ff744be5293f394f1bafd9f78c080814d35956e
+SIZE (rust/crates/pyo3-ffi-0.25.0.crate) = 77991
+SHA256 (rust/crates/pyo3-macros-0.25.0.crate) = a179641d1b93920829a62f15e87c0ed791b6c8db2271ba0fd7c2686090510214
+SIZE (rust/crates/pyo3-macros-0.25.0.crate) = 8876
+SHA256 (rust/crates/pyo3-macros-backend-0.25.0.crate) = 9dff85ebcaab8c441b0e3f7ae40a6963ecea8a9f5e74f647e33fcf5ec9a1e89e
+SIZE (rust/crates/pyo3-macros-backend-0.25.0.crate) = 75089
+SHA256 (rust/crates/quote-1.0.40.crate) = 1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d
+SIZE (rust/crates/quote-1.0.40.crate) = 31063
+SHA256 (rust/crates/range-0.2.0.crate) = 18270cd775ad153a14c315a0afb978485cdf8de4c0e941e987b9c5b0f024eccb
+SIZE (rust/crates/range-0.2.0.crate) = 2249
+SHA256 (rust/crates/syn-2.0.101.crate) = 8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf
+SIZE (rust/crates/syn-2.0.101.crate) = 299250
+SHA256 (rust/crates/target-lexicon-0.13.2.crate) = e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a
+SIZE (rust/crates/target-lexicon-0.13.2.crate) = 27923
+SHA256 (rust/crates/unicode-ident-1.0.18.crate) = 5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512
+SIZE (rust/crates/unicode-ident-1.0.18.crate) = 47743
+SHA256 (rust/crates/unindent-0.2.4.crate) = 7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3
+SIZE (rust/crates/unindent-0.2.4.crate) = 7422
+SHA256 (rust/crates/wavefront_obj-2.0.4.crate) = 23a49af678694c9161ed2a5fbee92afefab092d75b0f21b26813b08d4813efca
+SIZE (rust/crates/wavefront_obj-2.0.4.crate) = 15005
diff --git a/textproc/py-textual-speedups/pkg-descr b/textproc/py-textual-speedups/pkg-descr
new file mode 100644
index 000000000000..00c63abd389d
--- /dev/null
+++ b/textproc/py-textual-speedups/pkg-descr
@@ -0,0 +1,2 @@
+Textual Speedups module implements some of Textual's classes in Rust, which
+should make Textual apps faster.
diff --git a/textproc/py-textual/Makefile b/textproc/py-textual/Makefile
index e6ae6e254d86..e6b7dec58776 100644
--- a/textproc/py-textual/Makefile
+++ b/textproc/py-textual/Makefile
@@ -1,5 +1,5 @@
PORTNAME= textual
-PORTVERSION= 0.89.1
+PORTVERSION= 6.2.1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.2.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=2.1.0:textproc/py-markdown-it-py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}platformdirs>=4.2.2<5:devel/py-platformdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pygments>=2.19.2<3:textproc/py-pygments@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rich>=13.3.3:textproc/py-rich@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4.0<5:devel/py-typing-extensions@${PY_FLAVOR}
diff --git a/textproc/py-textual/distinfo b/textproc/py-textual/distinfo
index d1b3d2585ab6..c8593052ade0 100644
--- a/textproc/py-textual/distinfo
+++ b/textproc/py-textual/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888366
-SHA256 (textual-0.89.1.tar.gz) = 66befe80e2bca5a8c876cd8ceeaf01752267b6b1dc1d0f73071f1f1e15d90cc8
-SIZE (textual-0.89.1.tar.gz) = 1517074
+TIMESTAMP = 1759816726
+SHA256 (textual-6.2.1.tar.gz) = 4699d8dfae43503b9c417bd2a6fb0da1c89e323fe91c4baa012f9298acaa83e1
+SIZE (textual-6.2.1.tar.gz) = 1570645
diff --git a/textproc/py-textual0/Makefile b/textproc/py-textual0/Makefile
new file mode 100644
index 000000000000..155194bef32c
--- /dev/null
+++ b/textproc/py-textual0/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= textual
+PORTVERSION= 0.89.1
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 0
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Modern Text User Interface framework
+WWW= https://github.com/Textualize/textual
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.2.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=2.1.0:textproc/py-markdown-it-py@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}platformdirs>=4.2.2<5:devel/py-platformdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rich>=13.3.3:textproc/py-rich@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4.0<5:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:0\.
+
+OPTIONS_DEFINE= SYNTAX
+SYNTAX_DESC= Syntax support
+
+SYNTAX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tree-sitter>=0.20.1<0.21:devel/py-tree-sitter@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tree-sitter-languages>=1.10.2<1.10.2_99:devel/py-tree-sitter-languages@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/textproc/py-textual0/distinfo b/textproc/py-textual0/distinfo
new file mode 100644
index 000000000000..d1b3d2585ab6
--- /dev/null
+++ b/textproc/py-textual0/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1734888366
+SHA256 (textual-0.89.1.tar.gz) = 66befe80e2bca5a8c876cd8ceeaf01752267b6b1dc1d0f73071f1f1e15d90cc8
+SIZE (textual-0.89.1.tar.gz) = 1517074
diff --git a/textproc/py-textual0/pkg-descr b/textproc/py-textual0/pkg-descr
new file mode 100644
index 000000000000..38a6742a5a94
--- /dev/null
+++ b/textproc/py-textual0/pkg-descr
@@ -0,0 +1,2 @@
+Textual is a TUI (Text User Interface) framework for Python inspired by modern
+web development.