diff --git a/community/python-matplotlib/PKGBUILD b/community/python-matplotlib/PKGBUILD index 7ad9475c4..1d250eb6c 100644 --- a/community/python-matplotlib/PKGBUILD +++ b/community/python-matplotlib/PKGBUILD @@ -11,7 +11,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" @@ -41,10 +41,10 @@ checkdepends=(python-pytest python-pytest-xdist python-pytest-runner python-pyte _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 @@ -59,10 +59,9 @@ prepare() { # 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 } @@ -75,10 +74,9 @@ check() { 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() {