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

Bruno Pagani archange at gemini.archlinux.org
Sat Jan 22 19:56:27 UTC 2022


    Date: Saturday, January 22, 2022 @ 19:56:26
  Author: archange
Revision: 1113480

Update tests data, re-enable fixed test

Modified:
  python-matplotlib/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-22 19:39:14 UTC (rev 1113479)
+++ PKGBUILD	2022-01-22 19:56:26 UTC (rev 1113480)
@@ -7,7 +7,7 @@
 
 pkgname=python-matplotlib
 pkgver=3.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A python plotting library, making publication quality plots"
 arch=(x86_64)
 url="https://matplotlib.org"
@@ -38,10 +38,10 @@
 _tag=312c1fb08c5d46aaccaf8b62c8673e4202523e8a # git rev-parse v${pkgver}
 _ftver=2.11.0
 source=(git+https://github.com/matplotlib/matplotlib.git#tag=${_tag}?signed
-        https://github.com/QuLogic/mpl-images/archive/v3.5.0-with-freetype-${_ftver}/mpl-images-3.5.0-ft${_ftver}.tar.gz
+        https://github.com/QuLogic/mpl-images/archive/v${pkgver}-with-freetype-${_ftver}/mpl-images-${pkgver}-ft${_ftver}.tar.gz
         freetype.patch)
 b2sums=('SKIP'
-        'fed606dcd4d338c6b1c7dd2add58b42b0e819598129618289036dda0499584287315819cce647c35999eb8375875e0488ca20311b03c79cf76dddb2bbdf366ba'
+        '85e4298a7b36c6eedc6a4f7b81f803ab45536697937dccd1a039471e257a4f23f547f16e244bebb77a1d3260397a3da0a7f4ee70869a47c8f68b603f0e287d89'
         '514324b3e17e832d5199eaa6592c05ca662b1164ddc95f16ea076d6a1063b06e6a8fa4eac7740e5f73afbcc9d17244c5cc41373d5787f62cd58eab10249302c9')
 validpgpkeys=(23CAB59E3332F94D26BEF0378D86E7FAE5EB0C10) # Elliott Sales de Andrade <quantum.analyst at gmail.com>
 
@@ -56,10 +56,9 @@
   # Install tests for check()
   sed -i 's|#tests = False|tests = True|' mplsetup.cfg
   # Use appropriate baseline images for tests
-  rm ../mpl-images-3.5.0-with-freetype-${_ftver}/matplotlib/test_streamplot/streamplot_startpoints.*
   for _module in matplotlib mpl_toolkits
   do
-    cp -r ../mpl-images-3.5.0-with-freetype-${_ftver}/${_module}/* lib/${_module}/tests/baseline_images/
+    cp -r ../mpl-images-${pkgver}-with-freetype-${_ftver}/${_module}/* lib/${_module}/tests/baseline_images/
   done
 }
 
@@ -72,10 +71,9 @@
   cd matplotlib
   python -m venv --system-site-packages test-env
   test-env/bin/python setup.py install --skip-build
-  # test_ipynb: https://github.com/matplotlib/matplotlib/issues/21654
-  # test_pcolornearestunits: https://github.com/matplotlib/matplotlib/issues/21271
+  # test_ipynb: https://github.com/matplotlib/matplotlib/issues/21654 fixed but jupyter does not see matplotlib?
   xvfb-run -a -s "-screen 0 640x480x24" \
-    test-env/bin/python -m pytest -ra -n auto -v --color=yes --pyargs matplotlib mpl_toolkits.tests -k 'not test_ipynb and not test_pcolornearestunits'
+    test-env/bin/python -m pytest -ra -n auto -v --color=yes --pyargs matplotlib mpl_toolkits.tests -k 'not test_ipynb'
 }
 
 package() {



More information about the arch-commits mailing list