community/python-matplotlib to 3.4.2-3

This commit is contained in:
Kevin Mihelich 2021-07-28 18:46:47 +00:00
parent ec9f8e1588
commit 70b64be246

View file

@ -11,7 +11,7 @@
pkgname=python-matplotlib pkgname=python-matplotlib
pkgver=3.4.2 pkgver=3.4.2
pkgrel=2 pkgrel=3
pkgdesc="A python plotting library, making publication quality plots" pkgdesc="A python plotting library, making publication quality plots"
arch=(x86_64) arch=(x86_64)
url="https://matplotlib.org" url="https://matplotlib.org"
@ -63,6 +63,7 @@ check() {
package_python-matplotlib() { package_python-matplotlib() {
cd matplotlib cd matplotlib
export PYTHONHASHSEED=0
python setup.py install --root "${pkgdir}" --prefix=/usr --optimize=1 --skip-build python setup.py install --root "${pkgdir}" --prefix=/usr --optimize=1 --skip-build
install -Dm644 doc/users/license.rst -t "${pkgdir}"/usr/share/licenses/${pkgname}/ install -Dm644 doc/users/license.rst -t "${pkgdir}"/usr/share/licenses/${pkgname}/
# Needed since https://github.com/matplotlib/matplotlib/pull/14170 # Needed since https://github.com/matplotlib/matplotlib/pull/14170