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

Felix Yan felixonmars at archlinux.org
Thu Nov 19 20:23:42 UTC 2020


    Date: Thursday, November 19, 2020 @ 20:23:42
  Author: felixonmars
Revision: 757725

add patch for python 3.9

Modified:
  python-blist/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-19 20:09:23 UTC (rev 757724)
+++ PKGBUILD	2020-11-19 20:23:42 UTC (rev 757725)
@@ -12,13 +12,16 @@
 license=('BSD')
 depends=('python')
 makedepends=('python-setuptools')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/DanielStutzbach/blist/archive/v${pkgver}.tar.gz
-        python3.7.patch)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/DanielStutzbach/blist/archive/v${pkgver}.tar.gz
+        python3.7.patch
+        blist-python3.9.patch::https://github.com/DanielStutzbach/blist/pull/91.patch)
 sha512sums=('f46ded57aeb2a33fc5450420210d015aa37c2fc91034a771dfb1a184ef2655d8e5dc97bee61139059e6211569fcb7358f972071d3830733e9dbb8908e1b0e14c'
-            'ecf08ebbfd39a069e8cd93723fefe3d0ee223d618f8748032927416dd6c813396fa271b20dd74fdaed0369b19046b4d2954b70c77f72258cc5551699eaa1281f')
+            'ecf08ebbfd39a069e8cd93723fefe3d0ee223d618f8748032927416dd6c813396fa271b20dd74fdaed0369b19046b4d2954b70c77f72258cc5551699eaa1281f'
+            'd207959966784ae94f1571f661f7de20ddb006cd103917ee571e74095a4939829762569c5dcfc4a3b605d50a3b6f5b96514c4af0108ffd39744f57936dd29415')
 
 prepare() {
-  (cd $_pkgname-$pkgver; patch -p1 -i ../python3.7.patch)
+  patch -d $_pkgname-$pkgver -p1 < python3.7.patch
+  patch -d $_pkgname-$pkgver -p1 < blist-python3.9.patch
 }
 
 build() {



More information about the arch-commits mailing list