[arch-commits] Commit in python-pbr/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Oct 3 10:35:12 UTC 2018


    Date: Wednesday, October 3, 2018 @ 10:35:11
  Author: felixonmars
Revision: 389160

upgpkg: python-pbr 4.3.0-1

Modified:
  python-pbr/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-03 10:26:35 UTC (rev 389159)
+++ PKGBUILD	2018-10-03 10:35:11 UTC (rev 389160)
@@ -4,7 +4,7 @@
 
 pkgbase=python-pbr
 pkgname=(python-pbr python2-pbr)
-pkgver=4.2.0
+pkgver=4.3.0
 pkgrel=1
 pkgdesc="Python Build Reasonableness"
 arch=('any')
@@ -17,9 +17,14 @@
               '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=('93414bf3ac99a23e62eaa9c210bfef30f4efec29cdafda0703027f4ff847a66ae474d41654dbbdbf9e9f076f1f3b4d9d047256f066645cfaaf6f0de38abf5f1b')
+sha512sums=('e3a01dd910b503fd8a5e72aa4282263d2474421400c8c102d0d1a4b57c4ee1bd742469a4ed40d1022ce396672ca0dca798a2906d04b02f9de5c168bb1c4da0c5')
 
 prepare() {
+  # Fix for new wheel
+  sed -e 's/wheel.install/wheel.wheelfile/' \
+      -e 's/wheel_file.zipfile/wheel_file/' \
+      -i pbr-$pkgver/pbr/tests/test_packaging.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