Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
ruff


Commits:
dff4c288 by Caleb Maclennan at 2024-02-29T22:31:20+03:00
upgpkg: 0.3.0-2: Use new shell completion generation function

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = ruff
        pkgdesc = An extremely fast Python linter, written in Rust
        pkgver = 0.3.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/astral-sh/ruff
        arch = x86_64
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -6,7 +6,7 @@
 pkgbase=ruff
 pkgname=($pkgbase python-$pkgbase)
 pkgver=0.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc='An extremely fast Python linter, written in Rust'
 arch=(x86_64)
 url="https://github.com/astral-sh/$pkgbase";
@@ -51,9 +51,9 @@ package_ruff() {
   _package_common
   local _target="target/$(rustc -vV | sed -n 's/host: //p')/release/ruff"
   install -Dm0755 -t "$pkgdir/usr/bin/" "$_target"
-  $_target --generate-shell-completion bash | install -Dm0644 /dev/stdin 
"$pkgdir/usr/share/bash-completion/completions/$pkgbase.bash"
-  $_target --generate-shell-completion fish | install -Dm0644 /dev/stdin 
"$pkgdir/usr/share/fish/vendor_completions.d/$pkgbase.fish"
-  $_target --generate-shell-completion zsh  | install -Dm0644 /dev/stdin 
"$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
+  $_target generate-shell-completion bash | install -Dm0644 /dev/stdin 
"$pkgdir/usr/share/bash-completion/completions/$pkgbase.bash"
+  $_target generate-shell-completion fish | install -Dm0644 /dev/stdin 
"$pkgdir/usr/share/fish/vendor_completions.d/$pkgbase.fish"
+  $_target generate-shell-completion zsh  | install -Dm0644 /dev/stdin 
"$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
 }
 
 package_python-ruff() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruff/-/commit/dff4c28811854a132f35424dd31f571d1c0ecd0e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruff/-/commit/dff4c28811854a132f35424dd31f571d1c0ecd0e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to