python3-matplotlib: depend on python3-Pillow

This commit is contained in:
Stefano Ragni 2020-08-02 09:47:48 +02:00 committed by Andrew J. Hesford
parent d1d114b3fd
commit 9edc77324e
2 changed files with 3 additions and 5 deletions

View File

@ -9,8 +9,5 @@ For interactive graphics, install:
The backend can be defined in $XDG_CONFIG_HOME/matplotlib/matplotlibrc The backend can be defined in $XDG_CONFIG_HOME/matplotlib/matplotlibrc
Natively, matplotlib only supports PNG images. Install python3-Pillow
to support more file formats.
Matplotlibs LaTeX support requires a working LaTeX installation and Matplotlibs LaTeX support requires a working LaTeX installation and
ghostscript. ghostscript.

View File

@ -1,7 +1,7 @@
# Template file for 'python3-matplotlib' # Template file for 'python3-matplotlib'
pkgname=python3-matplotlib pkgname=python3-matplotlib
version=3.3.0 version=3.3.0
revision=1 revision=2
wrksrc="matplotlib-${version}" wrksrc="matplotlib-${version}"
build_style=python3-module build_style=python3-module
build_helper="numpy" build_helper="numpy"
@ -9,7 +9,8 @@ hostmakedepends="pkg-config python3-setuptools"
# XXX use internal copy of agg, highly patched # XXX use internal copy of agg, highly patched
makedepends="python3-devel freetype-devel libpng-devel libqhull-devel" makedepends="python3-devel freetype-devel libpng-devel libqhull-devel"
depends="python3-matplotlib-data>=${version}_${revision} python3-numpy depends="python3-matplotlib-data>=${version}_${revision} python3-numpy
python3-dateutil python3-parsing python3-cycler python3-kiwisolver" python3-dateutil python3-parsing python3-cycler python3-kiwisolver
python3-Pillow"
short_desc="Python3 2D/3D plotting library" short_desc="Python3 2D/3D plotting library"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
license="custom:matplotlib, BSD-3-Clause, MIT" license="custom:matplotlib, BSD-3-Clause, MIT"