From 76dcfdc25e93f84f542adbd9519c72af5d4aadc2 Mon Sep 17 00:00:00 2001 From: cashmere Date: Sun, 12 Jul 2026 02:37:06 +0200 Subject: devel: add lsp-server --- devel/pyrefly/Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 devel/pyrefly/Makefile (limited to 'devel/pyrefly/Makefile') diff --git a/devel/pyrefly/Makefile b/devel/pyrefly/Makefile new file mode 100644 index 0000000..9d4eb73 --- /dev/null +++ b/devel/pyrefly/Makefile @@ -0,0 +1,31 @@ +PORTNAME= pyrefly +DISTVERSION= 1.1.1 +CATEGORIES= devel + +MAINTAINER= cashmere@autistici.org +COMMENT= Fast Python type checker and language server written in Rust +WWW= https://github.com/facebook/pyrefly + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cargo + +.if exists(${HOME}/.cargo/bin/rustc) +RUSTC= ${HOME}/.cargo/bin/rustc +CARGO= ${HOME}/.cargo/bin/cargo +RUSTDOC= ${HOME}/.cargo/bin/rustdoc +CARGO_BUILDDEP= no +.endif + +USE_GITHUB= yes +GH_ACCOUNT= facebook +GH_PROJECT= pyrefly +GH_TAGNAME= ${DISTVERSION} + +CARGO_INSTALL_PATH= pyrefly +CARGO_BUILD_ARGS= --package pyrefly + +PLIST_FILES= bin/pyrefly + +.include -- cgit v1.3.1