summaryrefslogtreecommitdiff
path: root/devel/py-ty/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-ty/Makefile')
-rw-r--r--devel/py-ty/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/py-ty/Makefile b/devel/py-ty/Makefile
new file mode 100644
index 000000000000..800234f9179c
--- /dev/null
+++ b/devel/py-ty/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= ty
+DISTVERSION= 0.0.1a4
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= Extremely fast Python type checker, written in Rust
+WWW= https://github.com/astral-sh/ty
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.0<2.0:devel/py-maturin@${PY_FLAVOR}
+
+USES= cargo python
+
+USE_PYTHON= autoplist concurrent pep517
+
+CARGO_CARGOTOML=${WRKSRC}/ruff/Cargo.toml
+CARGO_CARGOLOCK=${WRKSRC}/ruff/Cargo.lock
+CARGO_BUILD= no
+CARGO_INSTALL= no
+
+.include <bsd.port.mk>