summaryrefslogtreecommitdiff
path: root/textproc/py-textual-speedups/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/py-textual-speedups/Makefile25
-rw-r--r--textproc/py-textual-speedups/Makefile.crates21
2 files changed, 46 insertions, 0 deletions
diff --git a/textproc/py-textual-speedups/Makefile b/textproc/py-textual-speedups/Makefile
new file mode 100644
index 000000000000..6543370a4f55
--- /dev/null
+++ b/textproc/py-textual-speedups/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= textual-speedups
+PORTVERSION= 0.2.0
+PORTREVISION= 1
+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