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

Antonio Rojas arojas at archlinux.org
Tue Nov 5 10:24:55 UTC 2019


    Date: Tuesday, November 5, 2019 @ 10:24:55
  Author: arojas
Revision: 524183

Fix tests with python 3.8

Modified:
  python-js2py/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-05 09:37:17 UTC (rev 524182)
+++ PKGBUILD	2019-11-05 10:24:55 UTC (rev 524183)
@@ -12,10 +12,13 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-tzlocal' 'python2-tzlocal'
              'python-six' 'python2-six' 'python-pyjsparser' 'python2-pyjsparser')
 checkdepends=('npm' 'python-numpy' 'python2-numpy')
-source=("$pkgbase-$_commit.tar.gz::https://github.com/PiotrDabkowski/Js2Py/archive/$_commit.tar.gz")
-sha512sums=('ef7218b04bf498e10cc2da7e511909ecd18466de3224915062c0b9a2764187dedac25c88078d80166cc1fdf680226360f6f10e83878273673afb757b8b361219')
+source=("$pkgbase-$_commit.tar.gz::https://github.com/PiotrDabkowski/Js2Py/archive/$_commit.tar.gz"
+         js2py-python-3.8.patch::"https://github.com/PiotrDabkowski/Js2Py/commit/74d46528.patch")
+sha512sums=('ef7218b04bf498e10cc2da7e511909ecd18466de3224915062c0b9a2764187dedac25c88078d80166cc1fdf680226360f6f10e83878273673afb757b8b361219'
+            '12c65cfc393be88a286cfc68406164d3090d44735c374d1087ceb0c571a8bfeb8e6b4cf6a87238751ba48959e4fb70c67c180e65c4e5095ebbe7dbfe7c8ada82')
 
 prepare() {
+  patch -d Js2Py-$_commit -p1 -i ../js2py-python-3.8.patch # Fix tests with python 3.8
   mv Js2Py-{$_commit,$pkgver}
 }
 



More information about the arch-commits mailing list