diff options
| author | cashmere <cashmere@autistici.org> | 2026-07-12 02:37:06 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-07-12 02:37:06 +0200 |
| commit | 76dcfdc25e93f84f542adbd9519c72af5d4aadc2 (patch) | |
| tree | 7b3634690e2f3dbde65702f565191ca6b93e0ffa /devel/pyrefly/Makefile | |
| parent | 235b173983eced9c291beacf681ae0bb2f1d6de5 (diff) | |
| download | ports-76dcfdc25e93f84f542adbd9519c72af5d4aadc2.tar.gz | |
devel: add lsp-server
Diffstat (limited to 'devel/pyrefly/Makefile')
| -rw-r--r-- | devel/pyrefly/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
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 <bsd.port.mk> |
