pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: nikita
Date: Tue May 7 15:40:59 UTC 2024
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-ruff-lsp: ALTERNATIVES DESCR Makefile PLIST distinfo
Log Message:
devel/py-ruff-lsp: import py-ruff-lsp version 0.0.53
Ruff-lsp is a Language Server Protocol implementation for Ruff,
an extremely fast Python linter and code formatter, written in Rust.
Ruff can be used to replace Flake8 (plus dozens of plugins),
Black, isort, pyupgrade, and more, all while executing tens or
hundreds of times faster than any individual tool.
Ruff-lsp enables Ruff to be used in any editor that supports
the LSP, including Neovim, Sublime Text, Emacs and more. For
Visual Studio Code, check out the Ruff VS Code extension.
Ruff-lsp supports surfacing Ruff diagnostics and providing
Code Actions to fix them, but is intended to be used alongside
another Python LSP in order to support features like navigation
and autocompletion.
To generate a diff of this commit:
cvs rdiff -u -r1.4266 -r1.4267 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-ruff-lsp/ALTERNATIVES \
pkgsrc/devel/py-ruff-lsp/DESCR pkgsrc/devel/py-ruff-lsp/Makefile \
pkgsrc/devel/py-ruff-lsp/PLIST pkgsrc/devel/py-ruff-lsp/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4266 pkgsrc/devel/Makefile:1.4267
--- pkgsrc/devel/Makefile:1.4266 Mon May 6 14:46:44 2024
+++ pkgsrc/devel/Makefile Tue May 7 15:40:59 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4266 2024/05/06 14:46:44 nikita Exp $
+# $NetBSD: Makefile,v 1.4267 2024/05/07 15:40:59 nikita Exp $
#
COMMENT= Development utilities
@@ -2983,6 +2983,7 @@ SUBDIR+= py-ruamel-base
SUBDIR+= py-ruamel-yaml
SUBDIR+= py-ruamel-yaml-clib
SUBDIR+= py-ruff
+SUBDIR+= py-ruff-lsp
SUBDIR+= py-sarge
SUBDIR+= py-scandir
SUBDIR+= py-scard
Added files:
Index: pkgsrc/devel/py-ruff-lsp/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-ruff-lsp/ALTERNATIVES:1.1
--- /dev/null Tue May 7 15:40:59 2024
+++ pkgsrc/devel/py-ruff-lsp/ALTERNATIVES Tue May 7 15:40:59 2024
@@ -0,0 +1 @@
+bin/ruff @PREFIX@/bin/ruff-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-ruff-lsp/DESCR
diff -u /dev/null pkgsrc/devel/py-ruff-lsp/DESCR:1.1
--- /dev/null Tue May 7 15:40:59 2024
+++ pkgsrc/devel/py-ruff-lsp/DESCR Tue May 7 15:40:59 2024
@@ -0,0 +1,15 @@
+Ruff-lsp is a Language Server Protocol implementation for Ruff,
+an extremely fast Python linter and code formatter, written in Rust.
+
+Ruff can be used to replace Flake8 (plus dozens of plugins),
+Black, isort, pyupgrade, and more, all while executing tens or
+hundreds of times faster than any individual tool.
+
+Ruff-lsp enables Ruff to be used in any editor that supports
+the LSP, including Neovim, Sublime Text, Emacs and more. For
+Visual Studio Code, check out the Ruff VS Code extension.
+
+Ruff-lsp supports surfacing Ruff diagnostics and providing
+Code Actions to fix them, but is intended to be used alongside
+another Python LSP in order to support features like navigation
+and autocompletion.
Index: pkgsrc/devel/py-ruff-lsp/Makefile
diff -u /dev/null pkgsrc/devel/py-ruff-lsp/Makefile:1.1
--- /dev/null Tue May 7 15:40:59 2024
+++ pkgsrc/devel/py-ruff-lsp/Makefile Tue May 7 15:40:59 2024
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2024/05/07 15:40:59 nikita Exp $
+
+DISTNAME= ruff_lsp-0.0.53
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/ruff_lsp/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/astral-sh/ruff-lsp
+COMMENT= Language Server Protocol implementation for Ruff
+LICENSE= mit
+
+# runtime
+DEPENDS+= ${PYPKGPREFIX}-ruff-[0-9]*:../../devel/py-ruff
+
+# build-time
+DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} ruff-lsp ruff-lsp-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-ruff-lsp/PLIST
diff -u /dev/null pkgsrc/devel/py-ruff-lsp/PLIST:1.1
--- /dev/null Tue May 7 15:40:59 2024
+++ pkgsrc/devel/py-ruff-lsp/PLIST Tue May 7 15:40:59 2024
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/07 15:40:59 nikita Exp $
+bin/ruff-lsp-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/ruff_lsp/__init__.py
+${PYSITELIB}/ruff_lsp/__init__.pyc
+${PYSITELIB}/ruff_lsp/__init__.pyo
+${PYSITELIB}/ruff_lsp/__main__.py
+${PYSITELIB}/ruff_lsp/__main__.pyc
+${PYSITELIB}/ruff_lsp/__main__.pyo
+${PYSITELIB}/ruff_lsp/py.typed
+${PYSITELIB}/ruff_lsp/server.py
+${PYSITELIB}/ruff_lsp/server.pyc
+${PYSITELIB}/ruff_lsp/server.pyo
+${PYSITELIB}/ruff_lsp/settings.py
+${PYSITELIB}/ruff_lsp/settings.pyc
+${PYSITELIB}/ruff_lsp/settings.pyo
+${PYSITELIB}/ruff_lsp/utils.py
+${PYSITELIB}/ruff_lsp/utils.pyc
+${PYSITELIB}/ruff_lsp/utils.pyo
Index: pkgsrc/devel/py-ruff-lsp/distinfo
diff -u /dev/null pkgsrc/devel/py-ruff-lsp/distinfo:1.1
--- /dev/null Tue May 7 15:40:59 2024
+++ pkgsrc/devel/py-ruff-lsp/distinfo Tue May 7 15:40:59 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/05/07 15:40:59 nikita Exp $
+
+BLAKE2s (ruff_lsp-0.0.53.tar.gz) = 91b8ac80002d677bceb262a145a7a2ec3a74db892afc3b4ae9d876ba30fd084f
+SHA512 (ruff_lsp-0.0.53.tar.gz) = 0a83be8b1938b72c55230d0aac8839b8e5e004af2ed03fb6ab3e357a2d5fb41bad4110fa168df0ae32c829f65a7236c5eb0c6a4916a78067ed3eecf5c6ab380e
+Size (ruff_lsp-0.0.53.tar.gz) = 40749 bytes
Home |
Main Index |
Thread Index |
Old Index