Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: python3-lsp-ruff
@ 2024-02-16 20:32 CameronNemo
  2024-02-16 21:01 ` cinerea0
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: CameronNemo @ 2024-02-16 20:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2210 bytes --]

There is a new pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages ruff
https://github.com/void-linux/void-packages/pull/48776

New package: python3-lsp-ruff
Closes https://github.com/void-linux/void-packages/issues/46560

[python3-lsp-server: update to 1.10.0](https://github.com/void-linux/void-packages/commit/09d7b3da7df285973ff6054cc6db3c65a8c63814)
@[CameronNemo](https://github.com/void-linux/void-packages/commits?author=CameronNemo)
CameronNemo authored and Cameron Nemo committed Feb 16, 2024

[New package: python3-cattrs-23.2.3](https://github.com/void-linux/void-packages/commit/35eeefe9e1a789866f652c2b6ed9f6d6f1057353)
@[CameronNemo](https://github.com/void-linux/void-packages/commits?author=CameronNemo)
CameronNemo authored and Cameron Nemo committed Feb 16, 2024

[New package: python3-lsprotocol-2023.0.1](https://github.com/void-linux/void-packages/commit/18f75b569dde8207388b2671d7543ed2318e9c4e)
@[CameronNemo](https://github.com/void-linux/void-packages/commits?author=CameronNemo)
CameronNemo authored and Cameron Nemo committed Feb 16, 2024

[New package: python3-lsp-ruff-2.1.0](https://github.com/void-linux/void-packages/commit/e21bc3d8f67cc7957d7d26223dfbf52fa522a60c)

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**, system

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/48776.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ruff-48776.patch --]
[-- Type: text/x-diff, Size: 5685 bytes --]

From 09d7b3da7df285973ff6054cc6db3c65a8c63814 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:15:57 -0700
Subject: [PATCH 1/4] python3-lsp-server: update to 1.10.0

---
 srcpkgs/python3-lsp-server/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-lsp-server/template b/srcpkgs/python3-lsp-server/template
index 16cda8e78e356..afdd8ce333ac4 100644
--- a/srcpkgs/python3-lsp-server/template
+++ b/srcpkgs/python3-lsp-server/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-lsp-server'
 pkgname=python3-lsp-server
-version=1.9.0
+version=1.10.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
@@ -8,15 +8,14 @@ depends="python3-jedi python3-pluggy python3-lsp-jsonrpc python3-ultrajson
  python3-setuptools python3-docstring-to-markdown python3-yapf python3-toml"
 checkdepends="${depends} autopep8 python3-coverage python3-flaky python3-matplotlib
  python3-mccabe python3-mock python3-numpy python3-pandas python3-pycodestyle
- python3-PyQt5 python3-pyflakes python3-pylint python3-pytest python3-pytest-cov
- flake8"
+ python3-PyQt5 python3-pyflakes python3-pytest python3-pytest-cov flake8"
 short_desc="Python implementation of the Language Server Protocol"
 maintainer="Cameron Nemo <cam@nohom.org>"
 license="MIT"
 homepage="https://github.com/python-lsp/python-lsp-server"
 changelog="https://raw.githubusercontent.com/python-lsp/python-lsp-server/develop/CHANGELOG.md"
 distfiles="${PYPI_SITE}/p/python-lsp-server/python-lsp-server-${version}.tar.gz"
-checksum=dc0c8298f0222fd66a52aa3170f3a5c8fe3021007a02098bb72f7fd8df353d13
+checksum=0c9a52dcc16cd0562404d529d50a03372db1ea6fb8dfcc3792b3265441c814f4
 
 do_check() {
 	python3 -m pytest \
@@ -24,7 +23,8 @@ do_check() {
 		--ignore=test/plugins/test_pydocstyle_lint.py \
 		--ignore=test/plugins/test_rope_rename.py \
 		--ignore=test/plugins/test_yapf_format.py \
-		--ignore=test/plugins/test_autoimport.py
+		--ignore=test/plugins/test_autoimport.py \
+		--ignore=test/plugins/test_pylint_lint.py
 }
 
 post_install() {

From 35eeefe9e1a789866f652c2b6ed9f6d6f1057353 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:20:06 -0700
Subject: [PATCH 2/4] New package: python3-cattrs-23.2.3

---
 srcpkgs/python3-cattrs/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-cattrs/template

diff --git a/srcpkgs/python3-cattrs/template b/srcpkgs/python3-cattrs/template
new file mode 100644
index 0000000000000..152eb42fe91c6
--- /dev/null
+++ b/srcpkgs/python3-cattrs/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-cattrs'
+pkgname=python3-cattrs
+version=23.2.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-attrs"
+short_desc="Composable complex class support for attrs and dataclasses"
+maintainer="Cameron Nemo <cam@nohom.org>"
+license="MIT"
+homepage="https://github.com/python-attrs/cattrs"
+distfiles="${PYPI_SITE}/c/cattrs/cattrs-${version}.tar.gz"
+checksum=a934090d95abaa9e911dac357e3a8699e0b4b14f8529bcc7d2b1ad9d51672b9f
+
+post_install() {
+	vlicense LICENSE
+}

From 18f75b569dde8207388b2671d7543ed2318e9c4e Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:20:27 -0700
Subject: [PATCH 3/4] New package: python3-lsprotocol-2023.0.1

---
 srcpkgs/python3-lsprotocol/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-lsprotocol/template

diff --git a/srcpkgs/python3-lsprotocol/template b/srcpkgs/python3-lsprotocol/template
new file mode 100644
index 0000000000000..fe5e772fd4e31
--- /dev/null
+++ b/srcpkgs/python3-lsprotocol/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-lsprotocol'
+pkgname=python3-lsprotocol
+version=2023.0.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-flit_core"
+short_desc="Python implementation of the Language Server Protocol"
+maintainer="Cameron Nemo <cam@nohom.org>"
+license="MIT"
+homepage="https://github.com/microsoft/lsprotocol"
+distfiles="${PYPI_SITE}/l/lsprotocol/lsprotocol-${version}.tar.gz"
+checksum=cc5c15130d2403c18b734304339e51242d3018a05c4f7d0f198ad6e0cd21861d
+
+post_install() {
+	vlicense LICENSE
+}

From e21bc3d8f67cc7957d7d26223dfbf52fa522a60c Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:21:12 -0700
Subject: [PATCH 4/4] New package: python3-lsp-ruff-2.1.0

Closes #46560
---
 srcpkgs/python3-lsp-ruff/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-lsp-ruff/template

diff --git a/srcpkgs/python3-lsp-ruff/template b/srcpkgs/python3-lsp-ruff/template
new file mode 100644
index 0000000000000..e1a47ac675e97
--- /dev/null
+++ b/srcpkgs/python3-lsp-ruff/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-lsp-ruff'
+pkgname=python3-lsp-ruff
+version=2.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
+depends="python3-lsp-server python3-lsprotocol python3-cattrs ruff"
+checkdepends="${depends} python3-pytest"
+short_desc="Python implementation of the Language Server Protocol"
+maintainer="Cameron Nemo <cam@nohom.org>"
+license="MIT"
+homepage="https://github.com/python-lsp/python-lsp-ruff"
+distfiles="${PYPI_SITE}/p/python-lsp-ruff/python-lsp-ruff-${version}.tar.gz"
+checksum=baf4d29a863dad5184aeec58db4c0e3d5811d894c10f36e7e52edc703cf7cc15
+
+do_check() {
+	python3 -m pytest
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: New package: python3-lsp-ruff
  2024-02-16 20:32 [PR PATCH] New package: python3-lsp-ruff CameronNemo
@ 2024-02-16 21:01 ` cinerea0
  2024-02-16 21:24 ` [PR PATCH] [Updated] " CameronNemo
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 13+ messages in thread
From: cinerea0 @ 2024-02-16 21:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

New comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/48776#issuecomment-1949329418

Comment:
python3-lsp-ruff, python3-lsprotocol, and python3-lsp-server all have the same `short_desc`. Is there any way you could differentiate them?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: python3-lsp-ruff
  2024-02-16 20:32 [PR PATCH] New package: python3-lsp-ruff CameronNemo
  2024-02-16 21:01 ` cinerea0
@ 2024-02-16 21:24 ` CameronNemo
  2024-02-16 21:24 ` CameronNemo
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2024-02-16 21:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1765 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages ruff
https://github.com/void-linux/void-packages/pull/48776

New package: python3-lsp-ruff
Closes https://github.com/void-linux/void-packages/issues/46560

[python3-lsp-server: update to 1.10.0](https://github.com/void-linux/void-packages/commit/09d7b3da7df285973ff6054cc6db3c65a8c63814)

[New package: python3-cattrs-23.2.3](https://github.com/void-linux/void-packages/commit/35eeefe9e1a789866f652c2b6ed9f6d6f1057353)

[New package: python3-lsprotocol-2023.0.1](https://github.com/void-linux/void-packages/commit/18f75b569dde8207388b2671d7543ed2318e9c4e)

[New package: python3-lsp-ruff-2.1.0](https://github.com/void-linux/void-packages/commit/e21bc3d8f67cc7957d7d26223dfbf52fa522a60c)

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**, system

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/48776.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ruff-48776.patch --]
[-- Type: text/x-diff, Size: 5679 bytes --]

From 09d7b3da7df285973ff6054cc6db3c65a8c63814 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:15:57 -0700
Subject: [PATCH 1/4] python3-lsp-server: update to 1.10.0

---
 srcpkgs/python3-lsp-server/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-lsp-server/template b/srcpkgs/python3-lsp-server/template
index 16cda8e78e356..afdd8ce333ac4 100644
--- a/srcpkgs/python3-lsp-server/template
+++ b/srcpkgs/python3-lsp-server/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-lsp-server'
 pkgname=python3-lsp-server
-version=1.9.0
+version=1.10.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
@@ -8,15 +8,14 @@ depends="python3-jedi python3-pluggy python3-lsp-jsonrpc python3-ultrajson
  python3-setuptools python3-docstring-to-markdown python3-yapf python3-toml"
 checkdepends="${depends} autopep8 python3-coverage python3-flaky python3-matplotlib
  python3-mccabe python3-mock python3-numpy python3-pandas python3-pycodestyle
- python3-PyQt5 python3-pyflakes python3-pylint python3-pytest python3-pytest-cov
- flake8"
+ python3-PyQt5 python3-pyflakes python3-pytest python3-pytest-cov flake8"
 short_desc="Python implementation of the Language Server Protocol"
 maintainer="Cameron Nemo <cam@nohom.org>"
 license="MIT"
 homepage="https://github.com/python-lsp/python-lsp-server"
 changelog="https://raw.githubusercontent.com/python-lsp/python-lsp-server/develop/CHANGELOG.md"
 distfiles="${PYPI_SITE}/p/python-lsp-server/python-lsp-server-${version}.tar.gz"
-checksum=dc0c8298f0222fd66a52aa3170f3a5c8fe3021007a02098bb72f7fd8df353d13
+checksum=0c9a52dcc16cd0562404d529d50a03372db1ea6fb8dfcc3792b3265441c814f4
 
 do_check() {
 	python3 -m pytest \
@@ -24,7 +23,8 @@ do_check() {
 		--ignore=test/plugins/test_pydocstyle_lint.py \
 		--ignore=test/plugins/test_rope_rename.py \
 		--ignore=test/plugins/test_yapf_format.py \
-		--ignore=test/plugins/test_autoimport.py
+		--ignore=test/plugins/test_autoimport.py \
+		--ignore=test/plugins/test_pylint_lint.py
 }
 
 post_install() {

From 35eeefe9e1a789866f652c2b6ed9f6d6f1057353 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:20:06 -0700
Subject: [PATCH 2/4] New package: python3-cattrs-23.2.3

---
 srcpkgs/python3-cattrs/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-cattrs/template

diff --git a/srcpkgs/python3-cattrs/template b/srcpkgs/python3-cattrs/template
new file mode 100644
index 0000000000000..152eb42fe91c6
--- /dev/null
+++ b/srcpkgs/python3-cattrs/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-cattrs'
+pkgname=python3-cattrs
+version=23.2.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-attrs"
+short_desc="Composable complex class support for attrs and dataclasses"
+maintainer="Cameron Nemo <cam@nohom.org>"
+license="MIT"
+homepage="https://github.com/python-attrs/cattrs"
+distfiles="${PYPI_SITE}/c/cattrs/cattrs-${version}.tar.gz"
+checksum=a934090d95abaa9e911dac357e3a8699e0b4b14f8529bcc7d2b1ad9d51672b9f
+
+post_install() {
+	vlicense LICENSE
+}

From a1c61c974f30e10a7c0e87fd090fc72ab26a4eb1 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:20:27 -0700
Subject: [PATCH 3/4] New package: python3-lsprotocol-2023.0.1

---
 srcpkgs/python3-lsprotocol/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-lsprotocol/template

diff --git a/srcpkgs/python3-lsprotocol/template b/srcpkgs/python3-lsprotocol/template
new file mode 100644
index 0000000000000..55ff810d87bb8
--- /dev/null
+++ b/srcpkgs/python3-lsprotocol/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-lsprotocol'
+pkgname=python3-lsprotocol
+version=2023.0.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-flit_core"
+short_desc="Code generator and generated types for Language Server Protocol"
+maintainer="Cameron Nemo <cam@nohom.org>"
+license="MIT"
+homepage="https://github.com/microsoft/lsprotocol"
+distfiles="${PYPI_SITE}/l/lsprotocol/lsprotocol-${version}.tar.gz"
+checksum=cc5c15130d2403c18b734304339e51242d3018a05c4f7d0f198ad6e0cd21861d
+
+post_install() {
+	vlicense LICENSE
+}

From 288a0afec4cd54d7e3d016ddd5381a6579b526b7 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:21:12 -0700
Subject: [PATCH 4/4] New package: python3-lsp-ruff-2.1.0

Closes #46560
---
 srcpkgs/python3-lsp-ruff/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-lsp-ruff/template

diff --git a/srcpkgs/python3-lsp-ruff/template b/srcpkgs/python3-lsp-ruff/template
new file mode 100644
index 0000000000000..683681a15bf97
--- /dev/null
+++ b/srcpkgs/python3-lsp-ruff/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-lsp-ruff'
+pkgname=python3-lsp-ruff
+version=2.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
+depends="python3-lsp-server python3-lsprotocol python3-cattrs ruff"
+checkdepends="${depends} python3-pytest"
+short_desc="Linter plugin for pylsp based on ruff"
+maintainer="Cameron Nemo <cam@nohom.org>"
+license="MIT"
+homepage="https://github.com/python-lsp/python-lsp-ruff"
+distfiles="${PYPI_SITE}/p/python-lsp-ruff/python-lsp-ruff-${version}.tar.gz"
+checksum=baf4d29a863dad5184aeec58db4c0e3d5811d894c10f36e7e52edc703cf7cc15
+
+do_check() {
+	python3 -m pytest
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: New package: python3-lsp-ruff
  2024-02-16 20:32 [PR PATCH] New package: python3-lsp-ruff CameronNemo
  2024-02-16 21:01 ` cinerea0
  2024-02-16 21:24 ` [PR PATCH] [Updated] " CameronNemo
@ 2024-02-16 21:24 ` CameronNemo
  2024-05-17  1:46 ` github-actions
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2024-02-16 21:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/48776#issuecomment-1949355194

Comment:
Oops, fixed that. Copy-paste error when creating the new templates.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: New package: python3-lsp-ruff
  2024-02-16 20:32 [PR PATCH] New package: python3-lsp-ruff CameronNemo
                   ` (2 preceding siblings ...)
  2024-02-16 21:24 ` CameronNemo
@ 2024-05-17  1:46 ` github-actions
  2024-05-17 17:16 ` CameronNemo
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 13+ messages in thread
From: github-actions @ 2024-05-17  1:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/48776#issuecomment-2116480635

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: New package: python3-lsp-ruff
  2024-02-16 20:32 [PR PATCH] New package: python3-lsp-ruff CameronNemo
                   ` (3 preceding siblings ...)
  2024-05-17  1:46 ` github-actions
@ 2024-05-17 17:16 ` CameronNemo
  2024-05-17 17:18 ` [PR PATCH] [Updated] " CameronNemo
  2024-05-17 17:41 ` CameronNemo
  6 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2024-05-17 17:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/48776#issuecomment-2118041687

Comment:
Anyone know why this is getting ignored? Doesn't seem like the alternative, ruff-lsp, has been packaged either. (see #48788).

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: python3-lsp-ruff
  2024-02-16 20:32 [PR PATCH] New package: python3-lsp-ruff CameronNemo
                   ` (4 preceding siblings ...)
  2024-05-17 17:16 ` CameronNemo
@ 2024-05-17 17:18 ` CameronNemo
  2024-05-17 17:41 ` CameronNemo
  6 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2024-05-17 17:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1765 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages ruff
https://github.com/void-linux/void-packages/pull/48776

New package: python3-lsp-ruff
Closes https://github.com/void-linux/void-packages/issues/46560

[python3-lsp-server: update to 1.10.0](https://github.com/void-linux/void-packages/commit/09d7b3da7df285973ff6054cc6db3c65a8c63814)

[New package: python3-cattrs-23.2.3](https://github.com/void-linux/void-packages/commit/35eeefe9e1a789866f652c2b6ed9f6d6f1057353)

[New package: python3-lsprotocol-2023.0.1](https://github.com/void-linux/void-packages/commit/18f75b569dde8207388b2671d7543ed2318e9c4e)

[New package: python3-lsp-ruff-2.1.0](https://github.com/void-linux/void-packages/commit/e21bc3d8f67cc7957d7d26223dfbf52fa522a60c)

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**, system

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/48776.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ruff-48776.patch --]
[-- Type: text/x-diff, Size: 3925 bytes --]

From 630e75170e0695c77b9d6ffed2b1ea09b9e9f8a8 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:15:57 -0700
Subject: [PATCH 1/3] python3-lsp-server: update to 1.10.0

---
 srcpkgs/python3-lsp-server/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-lsp-server/template b/srcpkgs/python3-lsp-server/template
index 41e3d69f897bee..afdd8ce333ac48 100644
--- a/srcpkgs/python3-lsp-server/template
+++ b/srcpkgs/python3-lsp-server/template
@@ -8,8 +8,7 @@ depends="python3-jedi python3-pluggy python3-lsp-jsonrpc python3-ultrajson
  python3-setuptools python3-docstring-to-markdown python3-yapf python3-toml"
 checkdepends="${depends} autopep8 python3-coverage python3-flaky python3-matplotlib
  python3-mccabe python3-mock python3-numpy python3-pandas python3-pycodestyle
- python3-PyQt5 python3-pyflakes python3-pylint python3-pytest python3-pytest-cov
- flake8"
+ python3-PyQt5 python3-pyflakes python3-pytest python3-pytest-cov flake8"
 short_desc="Python implementation of the Language Server Protocol"
 maintainer="Cameron Nemo <cam@nohom.org>"
 license="MIT"
@@ -24,7 +23,8 @@ do_check() {
 		--ignore=test/plugins/test_pydocstyle_lint.py \
 		--ignore=test/plugins/test_rope_rename.py \
 		--ignore=test/plugins/test_yapf_format.py \
-		--ignore=test/plugins/test_autoimport.py
+		--ignore=test/plugins/test_autoimport.py \
+		--ignore=test/plugins/test_pylint_lint.py
 }
 
 post_install() {

From 3a5afd78a0826f6e4f181c7d49ccb4abb5e5a035 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:20:27 -0700
Subject: [PATCH 2/3] New package: python3-lsprotocol-2023.0.1

---
 srcpkgs/python3-lsprotocol/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-lsprotocol/template

diff --git a/srcpkgs/python3-lsprotocol/template b/srcpkgs/python3-lsprotocol/template
new file mode 100644
index 00000000000000..55ff810d87bb81
--- /dev/null
+++ b/srcpkgs/python3-lsprotocol/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-lsprotocol'
+pkgname=python3-lsprotocol
+version=2023.0.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-flit_core"
+short_desc="Code generator and generated types for Language Server Protocol"
+maintainer="Cameron Nemo <cam@nohom.org>"
+license="MIT"
+homepage="https://github.com/microsoft/lsprotocol"
+distfiles="${PYPI_SITE}/l/lsprotocol/lsprotocol-${version}.tar.gz"
+checksum=cc5c15130d2403c18b734304339e51242d3018a05c4f7d0f198ad6e0cd21861d
+
+post_install() {
+	vlicense LICENSE
+}

From 3cbf04efaf1b3543871c5eb4345e586beb11f218 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:21:12 -0700
Subject: [PATCH 3/3] New package: python3-lsp-ruff-2.1.0

Closes #46560
---
 srcpkgs/python3-lsp-ruff/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-lsp-ruff/template

diff --git a/srcpkgs/python3-lsp-ruff/template b/srcpkgs/python3-lsp-ruff/template
new file mode 100644
index 00000000000000..683681a15bf974
--- /dev/null
+++ b/srcpkgs/python3-lsp-ruff/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-lsp-ruff'
+pkgname=python3-lsp-ruff
+version=2.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
+depends="python3-lsp-server python3-lsprotocol python3-cattrs ruff"
+checkdepends="${depends} python3-pytest"
+short_desc="Linter plugin for pylsp based on ruff"
+maintainer="Cameron Nemo <cam@nohom.org>"
+license="MIT"
+homepage="https://github.com/python-lsp/python-lsp-ruff"
+distfiles="${PYPI_SITE}/p/python-lsp-ruff/python-lsp-ruff-${version}.tar.gz"
+checksum=baf4d29a863dad5184aeec58db4c0e3d5811d894c10f36e7e52edc703cf7cc15
+
+do_check() {
+	python3 -m pytest
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] New package: python3-lsp-ruff
  2024-02-16 20:32 [PR PATCH] New package: python3-lsp-ruff CameronNemo
                   ` (5 preceding siblings ...)
  2024-05-17 17:18 ` [PR PATCH] [Updated] " CameronNemo
@ 2024-05-17 17:41 ` CameronNemo
  6 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2024-05-17 17:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1765 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages ruff
https://github.com/void-linux/void-packages/pull/48776

New package: python3-lsp-ruff
Closes https://github.com/void-linux/void-packages/issues/46560

[python3-lsp-server: update to 1.10.0](https://github.com/void-linux/void-packages/commit/09d7b3da7df285973ff6054cc6db3c65a8c63814)

[New package: python3-cattrs-23.2.3](https://github.com/void-linux/void-packages/commit/35eeefe9e1a789866f652c2b6ed9f6d6f1057353)

[New package: python3-lsprotocol-2023.0.1](https://github.com/void-linux/void-packages/commit/18f75b569dde8207388b2671d7543ed2318e9c4e)

[New package: python3-lsp-ruff-2.1.0](https://github.com/void-linux/void-packages/commit/e21bc3d8f67cc7957d7d26223dfbf52fa522a60c)

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**, system

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/48776.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ruff-48776.patch --]
[-- Type: text/x-diff, Size: 5827 bytes --]

From 31bb302db8b27179af893596da9145f049f223cb Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@libnemo.org>
Date: Fri, 17 May 2024 10:39:10 -0700
Subject: [PATCH 1/4] python3-lsp-jsonrpc: update to 1.1.2

---
 srcpkgs/python3-lsp-jsonrpc/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-lsp-jsonrpc/template b/srcpkgs/python3-lsp-jsonrpc/template
index 742b1c265c2dc0..a8eead5d58d831 100644
--- a/srcpkgs/python3-lsp-jsonrpc/template
+++ b/srcpkgs/python3-lsp-jsonrpc/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-lsp-jsonrpc'
 pkgname=python3-lsp-jsonrpc
-version=1.1.1
-revision=2
+version=1.1.2
+revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools_scm python3-wheel"
 depends="python3-ultrajson"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://github.com/python-lsp/python-lsp-jsonrpc"
 changelog="https://raw.githubusercontent.com/python-lsp/python-lsp-jsonrpc/develop/CHANGELOG.md"
 distfiles="${PYPI_SITE}/p/${pkgname/3}/${pkgname/3}-${version}.tar.gz"
-checksum=05cc914aa5ee2e7f52eb762014ba4996a8cc52459bfddb81fb96c56ace927908
+checksum=4688e453eef55cd952bff762c705cedefa12055c0aec17a06f595bcc002cc912
 
 post_install() {
 	vlicense LICENSE

From 3a26baef03dec718dcd7500176b518ac54096e66 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:15:57 -0700
Subject: [PATCH 2/4] python3-lsp-server: update to 1.11.0

---
 srcpkgs/python3-lsp-server/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-lsp-server/template b/srcpkgs/python3-lsp-server/template
index 41e3d69f897bee..14f60aff7fa00a 100644
--- a/srcpkgs/python3-lsp-server/template
+++ b/srcpkgs/python3-lsp-server/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-lsp-server'
 pkgname=python3-lsp-server
-version=1.10.0
+version=1.11.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
@@ -8,15 +8,14 @@ depends="python3-jedi python3-pluggy python3-lsp-jsonrpc python3-ultrajson
  python3-setuptools python3-docstring-to-markdown python3-yapf python3-toml"
 checkdepends="${depends} autopep8 python3-coverage python3-flaky python3-matplotlib
  python3-mccabe python3-mock python3-numpy python3-pandas python3-pycodestyle
- python3-PyQt5 python3-pyflakes python3-pylint python3-pytest python3-pytest-cov
- flake8"
+ python3-PyQt5 python3-pyflakes python3-pytest python3-pytest-cov flake8"
 short_desc="Python implementation of the Language Server Protocol"
 maintainer="Cameron Nemo <cam@nohom.org>"
 license="MIT"
 homepage="https://github.com/python-lsp/python-lsp-server"
 changelog="https://raw.githubusercontent.com/python-lsp/python-lsp-server/develop/CHANGELOG.md"
 distfiles="${PYPI_SITE}/p/python-lsp-server/python-lsp-server-${version}.tar.gz"
-checksum=0c9a52dcc16cd0562404d529d50a03372db1ea6fb8dfcc3792b3265441c814f4
+checksum=89edd6fb3f7852e4bf5a3d1d95ea41484d1a28fa94b6e3cbff12b9db123b8e86
 
 do_check() {
 	python3 -m pytest \
@@ -24,7 +23,8 @@ do_check() {
 		--ignore=test/plugins/test_pydocstyle_lint.py \
 		--ignore=test/plugins/test_rope_rename.py \
 		--ignore=test/plugins/test_yapf_format.py \
-		--ignore=test/plugins/test_autoimport.py
+		--ignore=test/plugins/test_autoimport.py \
+		--ignore=test/plugins/test_pylint_lint.py
 }
 
 post_install() {

From f2c7e936503384b1e8e48a487e7ecfa3852e5994 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:20:27 -0700
Subject: [PATCH 3/4] New package: python3-lsprotocol-2023.0.1

---
 srcpkgs/python3-lsprotocol/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-lsprotocol/template

diff --git a/srcpkgs/python3-lsprotocol/template b/srcpkgs/python3-lsprotocol/template
new file mode 100644
index 00000000000000..55ff810d87bb81
--- /dev/null
+++ b/srcpkgs/python3-lsprotocol/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-lsprotocol'
+pkgname=python3-lsprotocol
+version=2023.0.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-flit_core"
+short_desc="Code generator and generated types for Language Server Protocol"
+maintainer="Cameron Nemo <cam@nohom.org>"
+license="MIT"
+homepage="https://github.com/microsoft/lsprotocol"
+distfiles="${PYPI_SITE}/l/lsprotocol/lsprotocol-${version}.tar.gz"
+checksum=cc5c15130d2403c18b734304339e51242d3018a05c4f7d0f198ad6e0cd21861d
+
+post_install() {
+	vlicense LICENSE
+}

From 1050493c621803e3c65836d051d5fbbdbb69f3d9 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Wed, 25 Oct 2023 13:21:12 -0700
Subject: [PATCH 4/4] New package: python3-lsp-ruff-2.2.1

Closes #46560
---
 srcpkgs/python3-lsp-ruff/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-lsp-ruff/template

diff --git a/srcpkgs/python3-lsp-ruff/template b/srcpkgs/python3-lsp-ruff/template
new file mode 100644
index 00000000000000..d13360f999fb9a
--- /dev/null
+++ b/srcpkgs/python3-lsp-ruff/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-lsp-ruff'
+pkgname=python3-lsp-ruff
+version=2.2.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
+depends="python3-lsp-server python3-lsprotocol python3-cattrs ruff"
+checkdepends="${depends} python3-pytest"
+short_desc="Linter plugin for pylsp based on ruff"
+maintainer="Cameron Nemo <cam@nohom.org>"
+license="MIT"
+homepage="https://github.com/python-lsp/python-lsp-ruff"
+distfiles="${PYPI_SITE}/p/python-lsp-ruff/python_lsp_ruff-${version}.tar.gz"
+checksum=0bb3a227bc136e8ab8c66e91733f2673dc15df6f7fc9eb99d4267d0991b327a5
+
+do_check() {
+	python3 -m pytest
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: New package: python3-lsp-ruff
  2023-10-25 20:24 [PR PATCH] " CameronNemo
                   ` (3 preceding siblings ...)
  2024-02-13 15:39 ` CameronNemo
@ 2024-02-13 15:39 ` CameronNemo
  4 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2024-02-13 15:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/46896#issuecomment-1941812766

Comment:
RIP. I forked yall again lol.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: New package: python3-lsp-ruff
  2023-10-25 20:24 [PR PATCH] " CameronNemo
                   ` (2 preceding siblings ...)
  2024-01-29  1:45 ` github-actions
@ 2024-02-13 15:39 ` CameronNemo
  2024-02-13 15:39 ` CameronNemo
  4 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2024-02-13 15:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/46896#issuecomment-1941812766

Comment:
RIP

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: New package: python3-lsp-ruff
  2023-10-25 20:24 [PR PATCH] " CameronNemo
  2023-10-26 18:20 ` icp1994
  2023-10-30 15:39 ` CameronNemo
@ 2024-01-29  1:45 ` github-actions
  2024-02-13 15:39 ` CameronNemo
  2024-02-13 15:39 ` CameronNemo
  4 siblings, 0 replies; 13+ messages in thread
From: github-actions @ 2024-01-29  1:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/46896#issuecomment-1913823725

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: New package: python3-lsp-ruff
  2023-10-25 20:24 [PR PATCH] " CameronNemo
  2023-10-26 18:20 ` icp1994
@ 2023-10-30 15:39 ` CameronNemo
  2024-01-29  1:45 ` github-actions
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2023-10-30 15:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/46896#issuecomment-1785488623

Comment:
Rebased following merge of #46914 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: New package: python3-lsp-ruff
  2023-10-25 20:24 [PR PATCH] " CameronNemo
@ 2023-10-26 18:20 ` icp1994
  2023-10-30 15:39 ` CameronNemo
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 13+ messages in thread
From: icp1994 @ 2023-10-26 18:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/46896#issuecomment-1781623267

Comment:
Extracted the ruff update in a separate [PR](https://github.com/void-linux/void-packages/pull/46914).

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-05-17 17:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-16 20:32 [PR PATCH] New package: python3-lsp-ruff CameronNemo
2024-02-16 21:01 ` cinerea0
2024-02-16 21:24 ` [PR PATCH] [Updated] " CameronNemo
2024-02-16 21:24 ` CameronNemo
2024-05-17  1:46 ` github-actions
2024-05-17 17:16 ` CameronNemo
2024-05-17 17:18 ` [PR PATCH] [Updated] " CameronNemo
2024-05-17 17:41 ` CameronNemo
  -- strict thread matches above, loose matches on Subject: below --
2023-10-25 20:24 [PR PATCH] " CameronNemo
2023-10-26 18:20 ` icp1994
2023-10-30 15:39 ` CameronNemo
2024-01-29  1:45 ` github-actions
2024-02-13 15:39 ` CameronNemo
2024-02-13 15:39 ` CameronNemo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).