python-matplotlib: disable PyQt4/pyside

This commit is contained in:
maxice8 2019-04-12 18:22:05 -03:00 committed by maxice8
parent 4c766cadee
commit 58f91f3bc1
2 changed files with 8 additions and 7 deletions

View File

@ -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)

View File

@ -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 <al3hex@gmail.com>"
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