Date: Thursday, September 29, 2022 @ 00:18:24
Author: polyzen
Revision: 1315865
upgpkg: python-black 22.8.0-3: Fix completions installation
Fixes FS#76051
Modified:
python-black/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-28 23:27:43 UTC (rev 1315864)
+++ PKGBUILD 2022-09-29 00:18:24 UTC (rev 1315865)
@@ -4,7 +4,7 @@
pkgname=python-black
pkgver=22.8.0
-pkgrel=2
+pkgrel=3
pkgdesc='Uncompromising Python code formatter'
arch=('any')
url=https://github.com/psf/black
@@ -57,11 +57,11 @@
_BLACK_COMPLETE=zsh_source test-env/bin/black > \
"$pkgdir/usr/share/zsh/site-functions/_black"
_BLACKD_COMPLETE=bash_source test-env/bin/blackd > \
- "$pkgdir/usr/share/bash-completion/completions/black"
+ "$pkgdir/usr/share/bash-completion/completions/blackd"
_BLACKD_COMPLETE=fish_source test-env/bin/blackd > \
- "$pkgdir/usr/share/fish/vendor_completions.d/black.fish"
+ "$pkgdir/usr/share/fish/vendor_completions.d/blackd.fish"
_BLACKD_COMPLETE=zsh_source test-env/bin/blackd > \
- "$pkgdir/usr/share/zsh/site-functions/_black"
+ "$pkgdir/usr/share/zsh/site-functions/_blackd"
# Vim plugin
install -Dm644 -t "$pkgdir/usr/share/vim/vimfiles/plugin" plugin/black.vim