mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/python-matplotlib: fix
This commit is contained in:
parent
a62b91564f
commit
4cd265058e
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ prepare() {
|
|||
rm -r .git
|
||||
echo "Version: ${pkgver}" > PKG-INFO
|
||||
# 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|' setup.cfg.template > setup.cfg
|
||||
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
|
||||
# Install tests for check()
|
||||
sed -i 's|#tests = False|tests = True|' mplsetup.cfg
|
||||
|
|
Loading…
Reference in a new issue