Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
python-tqdm


Commits:
c85688b2 by Robin Candau at 2023-09-05T02:07:29+02:00
upgpkg: 4.66.1-2: Add bash completions to the package - FS#75588

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 pkgname=python-tqdm
 pkgver=4.66.1
 _commit=4c956c20b83be4312460fc0c4812eeb3fef5e7df
-pkgrel=1
+pkgrel=2
 pkgdesc='Fast, Extensible Progress Meter'
 arch=('any')
 license=('MIT' 'MPL')
@@ -13,7 +13,7 @@ depends=('python')
 optdepends=('python-requests: telegram')
 makedepends=('git' 'python-setuptools-scm' 'python-toml' 'python-build' 
'python-installer' 'python-wheel')
 checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-timeout' 
'python-numpy' 'python-pandas' 'python-rich' 'python-dask' 'tk' 'python-keras')
-source=("git+https://github.com/tqdm/tqdm.git#commit=$_commit";)
+source=("git+https://github.com/tqdm/tqdm.git#commit=${_commit}";)
 sha512sums=('SKIP')
 
 build() {
@@ -38,8 +38,9 @@ check() {
 
 package() {
   cd tqdm
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -Dm644 LICENCE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+  install -Dm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+  install -Dm 644 tqdm/completion.sh 
"${pkgdir}/usr/share/bash-completion/completions/tqdm"
 }
 
 # vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-tqdm/-/commit/c85688b2a8e8ac238fb4aa99a3e1ce331d81228d

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


Reply via email to