mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/python-matplotlib to 3.6.2-1
This commit is contained in:
parent
5e639b4b24
commit
07931b63c5
1 changed files with 7 additions and 10 deletions
|
@ -10,8 +10,8 @@
|
|||
# - disable lto via setup.cfg
|
||||
|
||||
pkgname=python-matplotlib
|
||||
pkgver=3.6.1
|
||||
pkgrel=2
|
||||
pkgver=3.6.2
|
||||
pkgrel=1
|
||||
pkgdesc="A python plotting library, making publication quality plots"
|
||||
arch=(x86_64)
|
||||
url="https://matplotlib.org"
|
||||
|
@ -38,16 +38,14 @@ checkdepends=(python-pytest python-pytest-xdist python-pytest-runner python-pyte
|
|||
texlive-bin texlive-core texlive-latexextra texlive-pictures ghostscript inkscape ffmpeg imagemagick
|
||||
gtk4 python-cairo python-gobject python-pyqt5 pyside2 python-pyqt6 pyside6 python-tornado python-wxpython tk
|
||||
jupyter-nbconvert jupyter-nbformat python-ipykernel python-pandas python-pikepdf python-pytz)
|
||||
_tag=2aad0d94ff80a81cd2e735b46f11f4f4b5e3e59d # git rev-parse v${pkgver}
|
||||
_tag=4a8e97684d016a1624b2977977aaeae29210a46e # git rev-parse v${pkgver}
|
||||
_ftver=2.12.1
|
||||
source=(git+https://github.com/matplotlib/matplotlib.git#tag=${_tag}?signed
|
||||
https://github.com/QuLogic/mpl-images/archive/v${pkgver}-with-freetype-${_ftver}/mpl-images-${pkgver}-ft${_ftver}.tar.gz
|
||||
freetype.patch
|
||||
matplotlib-pyside-6.4.patch::https://github.com/matplotlib/matplotlib/commit/c744161b.patch)
|
||||
freetype.patch)
|
||||
b2sums=('SKIP'
|
||||
'b2980e8812bd2ede44e448f70ada23ec3c313fd9d1024daa71320468857546818bbc9461a9f9e511de7c7883d8d810271acc13db6fb36a56f82d60b2ed1ada5e'
|
||||
'b821f938cace434932a43b15b42b93d0f8eaffea4e28fbf1d5a7263ec947c26252bafccaea60c1a1cb2fad4c71280ca2cf62527994f270af2467a242287470bb'
|
||||
'f85435d7925a3b8300eff92f995d0a43f7bc9db3c078a76a8a6a0eb01be830bf6a72011bb149a12561abf562420c9403094e062be5d2d19623381d5ee717b254')
|
||||
'278ee8efcdf7b0eb0767d9d5478deac8565ef44510f3714f86396fb6255c7a2c509ea7881aed40463681a4c77ef57a323c5cde4f9ebc322a0a3c5048014fb59d'
|
||||
'b821f938cace434932a43b15b42b93d0f8eaffea4e28fbf1d5a7263ec947c26252bafccaea60c1a1cb2fad4c71280ca2cf62527994f270af2467a242287470bb')
|
||||
validpgpkeys=(23CAB59E3332F94D26BEF0378D86E7FAE5EB0C10) # Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
|
||||
prepare() {
|
||||
|
@ -58,8 +56,7 @@ prepare() {
|
|||
# Use system freetype and qhull, disable LTO
|
||||
sed -e 's|#system_freetype = False|system_freetype = True|' -e 's|#system_qhull = False|system_qhull = True|' -e 's|#enable_lto = True|enable_lto = False|' mplsetup.cfg.template > mplsetup.cfg
|
||||
patch -p1 < ../freetype.patch # From Fedora/upstream
|
||||
# Fix tests with PySide 6.4
|
||||
patch -p1 < ../matplotlib-pyside-6.4.patch
|
||||
sed -e 's|2_000_000|2_500_000|' -i lib/matplotlib/tests/test_backends_interactive.py
|
||||
# Install tests for check()
|
||||
sed -i 's|#tests = False|tests = True|' mplsetup.cfg
|
||||
# Use appropriate baseline images for tests
|
||||
|
|
Loading…
Reference in a new issue