aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-10-13 06:11:17 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-10-13 06:11:17 +0000
commit80e9548d28be3662b5516047ac17bbbc02d4111a (patch)
tree053766f5074003d8720542e77e995c319fab686f
parent93672b76f29d5bb0bbb41a22389e69dafe8acd9c (diff)
textproc/py-textual-speedups: Add py-textual-speedups 0.2.0
Textual Speedups module implements some of Textual's classes in Rust, which should make Textual apps faster.
-rw-r--r--textproc/Makefile1
-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
5 files changed, 93 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 6194d2005d72..2c582e0f6f12 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1692,6 +1692,7 @@
SUBDIR += py-textual
SUBDIR += py-textual-autocomplete
SUBDIR += py-textual-image
+ SUBDIR += py-textual-speedups
SUBDIR += py-textual0
SUBDIR += py-textwrap3
SUBDIR += py-three-merge
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.