[arch-commits] Commit in python-pbr/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Apr 29 20:35:20 UTC 2019
Date: Monday, April 29, 2019 @ 20:35:19
Author: felixonmars
Revision: 456479
upgpkg: python-pbr 5.2.0-1
Modified:
python-pbr/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-29 20:29:18 UTC (rev 456478)
+++ PKGBUILD 2019-04-29 20:35:19 UTC (rev 456479)
@@ -4,7 +4,7 @@
pkgbase=python-pbr
pkgname=(python-pbr python2-pbr)
-pkgver=5.1.3
+pkgver=5.2.0
pkgrel=1
pkgdesc="Python Build Reasonableness"
arch=('any')
@@ -17,7 +17,7 @@
'python-virtualenv' 'python2-virtualenv' 'python-wheel' 'python2-wheel'
'python-sphinx' 'python2-sphinx')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/pbr/archive/$pkgver.tar.gz")
-sha512sums=('e4f62c14f45ca0d1595abf53e6b1215d45cba7e33065c2c7339f0024e819f584c29d2a438c0ab9e1b2acbe3a52897c64b5512dd3ebcbb1704c4c42c1f59666ea')
+sha512sums=('f75e1faef11035e161fa193d489ec052f2f0fd0b1832cb5fd20e491dc19d8cc9dd5f9fead5302c4e7f59a0fd7cb8d27090c11d92df558876e469316198a39e13')
prepare() {
# Fix for new wheel
@@ -25,6 +25,8 @@
-e 's/wheel_file.zipfile/wheel_file/' \
-i pbr-$pkgver/pbr/tests/test_packaging.py
+ sed -i 's/packaging, distutils, setuptools/packaging,distutils,setuptools/' pbr-$pkgver/pbr/tests/test_core.py
+
cp -a pbr-$pkgver{,-py2}
find pbr-$pkgver-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
More information about the arch-commits
mailing list