Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] ruff: update to 0.1.2.
Date: Thu, 26 Oct 2023 20:07:30 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46914@inbox.vuxu.org> (raw)

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

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

https://github.com/icp1994/void-packages ruff
https://github.com/void-linux/void-packages/pull/46914

ruff: update to 0.1.2.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

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

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

From f5a16c2a2d707feb802487c2cb63019ff9e48c06 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 26 Oct 2023 23:12:28 +0530
Subject: [PATCH] ruff: update to 0.1.2.

Ruff should ship with a python module for consumption via Python tooling
(including language servers).

Adjust the build_style et al to install the python module.

Co-authored-by: Cameron Nemo <cam@nohom.org>
---
 srcpkgs/ruff/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/ruff/template b/srcpkgs/ruff/template
index 295d35d9bfaf6..4e8e6010043cd 100644
--- a/srcpkgs/ruff/template
+++ b/srcpkgs/ruff/template
@@ -1,17 +1,18 @@
 # Template file for 'ruff'
 pkgname=ruff
-version=0.1.0
+version=0.1.2
 revision=1
-build_style=cargo
-configure_args="--bin ruff"
-make_install_args="--path crates/ruff_cli"
+build_style=python3-pep517
+build_helper="rust"
+hostmakedepends="maturin cargo"
+makedepends="rust-std"
 short_desc="Extremely fast Python linter, written in Rust"
 maintainer="icp <pangolin@vivaldi.net>"
 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/v${version}.tar.gz"
-checksum=b6f1467505acc99dcec7d67ff9dbcd00c63a39f338e09705a90a90205c8553d4
+checksum=2135ea2f647a17e9060a3ca10f6df2be9e37ae87c864fe79dd3c067ba6ee57b2
 
 post_install() {
 	vlicense LICENSE

             reply	other threads:[~2023-10-26 18:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-26 18:07 icp1994 [this message]
2023-10-26 19:34 ` [PR PATCH] [Updated] " icp1994
2023-10-30  0:41 ` [PR PATCH] [Merged]: ruff: update to 0.1.3 classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46914@inbox.vuxu.org \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).