Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ruff: update to 0.5.5, add completions
@ 2024-07-28 11:07 meator
  2024-07-30 14:48 ` [PR PATCH] [Merged]: " cinerea0
  0 siblings, 1 reply; 2+ messages in thread
From: meator @ 2024-07-28 11:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/meator/void-packages ruff
https://github.com/void-linux/void-packages/pull/51511

ruff: update to 0.5.5, add completions
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- 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/51511.patch is attached

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

From 6a11beb0159637a092e81b919b0531d9860a03f7 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sun, 28 Jul 2024 13:06:09 +0200
Subject: [PATCH] ruff: update to 0.5.5, add completions

---
 srcpkgs/ruff/template | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/ruff/template b/srcpkgs/ruff/template
index 6e6451cd27780a..7d2de1b8ae77ba 100644
--- a/srcpkgs/ruff/template
+++ b/srcpkgs/ruff/template
@@ -1,9 +1,9 @@
 # Template file for 'ruff'
 pkgname=ruff
-version=0.5.4
+version=0.5.5
 revision=1
 build_style=python3-pep517
-build_helper="rust"
+build_helper="rust qemu"
 hostmakedepends="maturin cargo"
 makedepends="rust-std"
 short_desc="Fast Python linter and code formatter"
@@ -12,8 +12,12 @@ license="MIT"
 homepage="https://docs.astral.sh/ruff/"
 changelog="https://raw.githubusercontent.com/astral-sh/ruff/main/CHANGELOG.md"
 distfiles="https://github.com/astral-sh/ruff/archive/refs/tags/${version}.tar.gz"
-checksum=562203b8d79585214a47104a37285758e38fa50def570dae685176298dc70066
+checksum=b0f710015cc27c58f3b7236d493f62d4141efaa37b49abdbd79f21c63d58ab41
 
 post_install() {
 	vlicense LICENSE
+	for shell in bash fish zsh; do
+		vtargetrun "$DESTDIR"/usr/bin/ruff generate-shell-completion $shell > ruff.$shell
+		vcompletion ruff.$shell $shell
+	done
 }

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

* Re: [PR PATCH] [Merged]: ruff: update to 0.5.5, add completions
  2024-07-28 11:07 [PR PATCH] ruff: update to 0.5.5, add completions meator
@ 2024-07-30 14:48 ` cinerea0
  0 siblings, 0 replies; 2+ messages in thread
From: cinerea0 @ 2024-07-30 14:48 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

ruff: update to 0.5.5, add completions
https://github.com/void-linux/void-packages/pull/51511

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

cc @icp1994 

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

<!-- 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
-->


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

end of thread, other threads:[~2024-07-30 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-28 11:07 [PR PATCH] ruff: update to 0.5.5, add completions meator
2024-07-30 14:48 ` [PR PATCH] [Merged]: " cinerea0

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).