[arch-commits] Commit in python-progressbar/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Wed Oct 20 11:03:03 UTC 2021
Date: Wednesday, October 20, 2021 @ 11:03:03
Author: dvzrv
Revision: 1031389
upgpkg: python-progressbar 3.55.0-1: Upgrade to 3.55.0.
Simplify installation in package() to adhere to python packaging guidelines.
Install docs to correct location.
Modified:
python-progressbar/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-20 11:00:05 UTC (rev 1031388)
+++ PKGBUILD 2021-10-20 11:03:03 UTC (rev 1031389)
@@ -5,7 +5,7 @@
_name=progressbar2
pkgname=python-progressbar
pkgdesc="A progress bar for Python"
-pkgver=3.53.3
+pkgver=3.55.0
pkgrel=1
url="https://github.com/WoLpH/python-progressbar"
license=('BSD')
@@ -14,9 +14,9 @@
makedepends=('python-setuptools' 'python-sphinx')
checkdepends=('python-pytest' 'python-freezegun')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('6399d8fa8270fc0241969d94ce284161516b42c0fdc3fbf2dfe8a0dfcca72933d23ec9b99c4118cebbca376f5821337aacd11fcee6eee5988d6caf73d1f3112d'
+sha512sums=('16dcdffeba6e9cb6696ac41c16701874c5f314432332d7ae2d898d1040e603c428240a8ca5718789d0d431750e2ae923a6f63fe75785213e80494bcc5825aab5'
'SKIP')
-b2sums=('01f0d0cf6c546855d2cac10cc1164fb68308b60e1095499f8838d7c82127860235f65d742a137db5acdce6ac50e65aff7580a6f6a344942d4c78375cc23085b4'
+b2sums=('89034af2cc623063e98c9de1683f159c2eeb491354c66357d9c3fb5a7ac0503b5c9d2dd6ebf36d3e2803558f3841820188eaf6dc931e992c352e0e02fa020f87'
'SKIP')
validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem <wolph at wol.ph>
@@ -41,11 +41,8 @@
package() {
cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
+ python setup.py install --optimize=1 --root="${pkgdir}"
install -vDm 644 {CHANGES,CONTRIBUTING,README}.rst \
- -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
More information about the arch-commits
mailing list