summaryrefslogtreecommitdiff
path: root/textproc/py-textual-speedups/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-textual-speedups/Makefile')
-rw-r--r--textproc/py-textual-speedups/Makefile24
1 files changed, 24 insertions, 0 deletions
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>