diff --git a/srcpkgs/python-matplotlib/INSTALL.msg b/srcpkgs/python-matplotlib/INSTALL.msg index 9d9c15d56a6..2bad285bd9e 100644 --- a/srcpkgs/python-matplotlib/INSTALL.msg +++ b/srcpkgs/python-matplotlib/INSTALL.msg @@ -4,7 +4,6 @@ For interactive graphics, install: - pygtk python-cairocffi (for GTK/GTKAgg/GTKCairo backend) - gtk+3 gir-freedesktop python-gobject python-cairocffi (for GTK3Agg/GTK3Cairo backend) -- python-PyQt4|python-pyside (for Qt4Agg backend) - python-PyQt5 (for Qt5Agg backend) - python-tkinter (for TkAgg backend) - python-tornado (for webagg backend) diff --git a/srcpkgs/python-matplotlib/template b/srcpkgs/python-matplotlib/template index 6abe8cfd284..f2dbb229a52 100644 --- a/srcpkgs/python-matplotlib/template +++ b/srcpkgs/python-matplotlib/template @@ -1,22 +1,23 @@ # Template file for 'python-matplotlib' pkgname=python-matplotlib version=2.2.3 -revision=1 +revision=2 +archs=noarch wrksrc="matplotlib-${version}" build_style=python2-module +pycompile_module="matplotlib mpl_toolkits pylab.py" hostmakedepends="pkg-config python-setuptools" # XXX: use internal copy of agg, highly patched -makedepends="python-devel python-numpy python-PyQt5-devel python-PyQt4-devel - python-pyside python-cairocffi python-gobject-devel pygtk-devel gtk+3-devel - wxPython-devel freetype-devel libpng-devel libqhull-devel" +makedepends="python-devel python-numpy python-PyQt5-devel python-cairocffi + python-gobject-devel pygtk-devel gtk+3-devel wxPython-devel freetype-devel + libpng-devel libqhull-devel" 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 " +license="custom: matplotlib, BSD-3-Clause, MIT" homepage="https://matplotlib.org/" -license="matplotlib, BSD-3-Clause, MIT" distfiles="https://github.com/matplotlib/matplotlib/archive/v${version}.tar.gz" checksum=da5b804222864a8e854ed68f16dcbc8b2fa096537d84f879cc8289db368735c8 @@ -33,6 +34,7 @@ pre_build() { # adjust qhull path sed -i "s|'libqhull',|'qhull',|" setupext.py } + post_install() { vlicense LICENSE/LICENSE # remove data files