diff --git a/srcpkgs/python-matplotlib/template b/srcpkgs/python-matplotlib/template index 11db65c44fb..8d5257dbf4c 100644 --- a/srcpkgs/python-matplotlib/template +++ b/srcpkgs/python-matplotlib/template @@ -1,6 +1,6 @@ # Template file for 'python-matplotlib' pkgname=python-matplotlib -version=2.1.2 +version=2.2.2 revision=1 wrksrc="matplotlib-${version}" build_style=python-module @@ -15,16 +15,16 @@ makedepends=" python-pyside python3-pyside python-cairocffi python3-cairocffi python-gobject-devel pygtk-devel gtk+3-devel tk-devel python-tkinter python3-tkinter wxPython-devel freetype-devel libpng-devel libqhull-devel" -depends="python-matplotlib-data>=${version}_${revision} python-numpy - python-six python-dateutil python-backports.functools_lru_cache - python-subprocess32 python-pytz python-cycler python-parsing" +depends="python-matplotlib-data>=${version}_${revision} python-numpy python-six + python-dateutil python-parsing python-pytz python-cycler python-kiwisolver + python-backports.functools_lru_cache python-subprocess32" pycompile_module="matplotlib mpl_toolkits pylab.py" short_desc="Python2 2D/3D plotting library" maintainer="Alessio Sergi " homepage="https://matplotlib.org/" -license="matplotlib, BSD, MIT" +license="matplotlib, BSD-3-Clause, MIT" distfiles="https://github.com/matplotlib/matplotlib/archive/v${version}.tar.gz" -checksum=613d79282a0a8ba88cfc52dbcf1b08ab070dae395c3d313d141ccc3f87e3c9fa +checksum=3a8236e6747dbb48c342ee194a8ced2805205cbd718899b284e4d617189cd397 export XDG_RUNTIME_DIR=/tmp @@ -38,6 +38,8 @@ pre_build() { EOF # adjust path sed -i 's,\(site-packages/matplotlib/mpl-data\),/etc,' matplotlibrc.template + # adjust qhull path + sed -i "s|'libqhull',|'qhull',|" setupext.py } post_install() { vlicense LICENSE/LICENSE @@ -59,7 +61,8 @@ python-matplotlib-data_package() { } python3-matplotlib_package() { depends="python-matplotlib-data>=${version}_${revision} python3-numpy - python3-six python3-dateutil python3-pytz python3-cycler python3-parsing" + python3-six python3-dateutil python3-parsing python3-pytz python3-cycler + python3-kiwisolver" short_desc="${short_desc/Python2/Python3}" pycompile_module="matplotlib mpl_toolkits pylab.py" pkg_install() {