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

Felix Yan felixonmars at archlinux.org
Sat Nov 14 13:38:37 UTC 2020


    Date: Saturday, November 14, 2020 @ 13:38:37
  Author: felixonmars
Revision: 754113

add fixes for python 3.9

Modified:
  python-heatclient/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-14 13:33:48 UTC (rev 754112)
+++ PKGBUILD	2020-11-14 13:38:37 UTC (rev 754113)
@@ -12,11 +12,17 @@
          'python-prettytable' 'python-oslo-i18n' 'python-oslo-serialization' 'python-oslo-utils'
          'python-keystoneauth1' 'python-swiftclient' 'python-yaml' 'python-requests' 'python-six')
 checkdepends=('python-stestr' 'python-testscenarios' 'python-requests-mock')
-source=("https://github.com/openstack/python-heatclient/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('3f9bfb8d5358d3934af26fb1de6c7ea066e0b57f6028bae06e67341f8adcb979e0a826659030960c617f92758533f3a106b8543f0fa55936f5a8e4c5ef6a8e32')
+source=("https://github.com/openstack/python-heatclient/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        $pkgname-python3.9.patch::https://github.com/openstack/python-heatclient/commit/2b6f6ac284e4e749a8f6cf627cdc00c54a05f422.patch)
+sha512sums=('3f9bfb8d5358d3934af26fb1de6c7ea066e0b57f6028bae06e67341f8adcb979e0a826659030960c617f92758533f3a106b8543f0fa55936f5a8e4c5ef6a8e32'
+            '2e0628ec2deab33f0489978021e4997c4395b889dfaa500f924424a99b490fa077b5ff70e5efbe9c4846c644a2d52841d528755e138b3049c9dd1c8c8bfecddf')
 
 export PBR_VERSION=$pkgver
 
+prepare() {
+  patch -d python-heatclient-$pkgver -p1 < $pkgname-python3.9.patch || :
+}
+
 build() {
   cd python-heatclient-$pkgver
   python setup.py build



More information about the arch-commits mailing list