George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-shtab
Commits:
a703d205 by George Rawlinson at 2023-08-15T20:11:02+12:00
upgpkg: 1.6.4-1
* New upstream release.
* Symlink license file.
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
# Contributor: SZanko, szanko at protonmail dot com
pkgname=python-shtab
-pkgver=1.6.1
+pkgver=1.6.4
pkgrel=1
pkgdesc='Automagic shell tab completion for Python CLI applications'
arch=('any')
@@ -21,7 +21,7 @@ checkdepends=(
'python-pytest-cov'
'python-pytest-timeout'
)
-_commit='80a105058bafd32c0669eb2e2b477502f195c48e'
+_commit='3d614484fbf664adc9b898b5f5f82a9b793482e3'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
@@ -64,6 +64,9 @@ package() {
install -vDm644 bash.completion
"$pkgdir/usr/share/bash-completion/completions/shtab"
install -vDm644 zsh.completion "$pkgdir/usr/share/zsh/site-functions/_shtab"
- # license
- install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENCE
+ # symlink license file
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
+ ln -s "$site_packages/${pkgname#python-}-$pkgver.dist-info/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-shtab/-/commit/a703d2059f16a7fbb43c89e507f494bae5ac52f7
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-shtab/-/commit/a703d2059f16a7fbb43c89e507f494bae5ac52f7
You're receiving this email because of your account on gitlab.archlinux.org.