Date: Friday, October 28, 2022 @ 16:37:07
  Author: yan12125
Revision: 1338430

python-nbval: fix building with newer python-matplotlib-inline

See: https://github.com/computationalmodelling/nbval/pull/183

Modified:
  python-nbval/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-28 16:31:37 UTC (rev 1338429)
+++ PKGBUILD    2022-10-28 16:37:07 UTC (rev 1338430)
@@ -15,14 +15,19 @@
 makedepends=('python-setuptools')
 checkdepends=('python-doit' 'python-matplotlib' 'python-pytest-cov' 
'python-sympy')
 
source=("https://github.com/computationalmodelling/nbval/archive/$pkgver/$pkgname-$pkgver.tar.gz";
-        
"https://github.com/computationalmodelling/nbval/commit/2f4df51d37ed51f6042f6eb4b75f91b5865df48a.patch";)
+        
"https://github.com/computationalmodelling/nbval/commit/2f4df51d37ed51f6042f6eb4b75f91b5865df48a.patch";
+        
"https://github.com/computationalmodelling/nbval/commit/27a7de805ca5743a6b59c02799659e7e1a909228.patch";)
 
sha512sums=('ce2122ab490b52537696b2a8e97fd3b604c547af93fccf7d83d82b9180d8bb50b57d002f4e16eb605acabab5b31e961fea97bf2d46bf45b9cd1f8b7fca028df2'
-            
'd315b38d0267a3488e53e46daeff04374fe3c5f9e5c8dc0c165cb8e7d2644fa8ecea2fc4642de0ce7ed0687bcec12317981bac1590cb62ffc06483928579f58e')
+            
'd315b38d0267a3488e53e46daeff04374fe3c5f9e5c8dc0c165cb8e7d2644fa8ecea2fc4642de0ce7ed0687bcec12317981bac1590cb62ffc06483928579f58e'
+            
'931af121411adc5179bdb659c6d81925d09b8364c99162e7259c0926f07fab41db13f6c29987b303bbdb59513f26695aa871383f392a9774865ecd731f44399f')
 
 prepare() {
   cd nbval-$pkgver
   # Fix test with newer Python 
https://github.com/computationalmodelling/nbval/pull/178
   patch -Np1 -i ../2f4df51d37ed51f6042f6eb4b75f91b5865df48a.patch
+  # Fix test with newer matplotlib-inline, which no longer overrides the 
default figure size
+  # See: 
https://github.com/ipython/matplotlib-inline/commit/a433a899280c9cf801ccb5eb99faa1e15fc8a459
+  patch -Np1 -i ../27a7de805ca5743a6b59c02799659e7e1a909228.patch
 }
 
 build() {

Reply via email to