python-matplotlib: update to 2.2.2

This commit is contained in:
Alessio Sergi 2018-03-29 19:49:22 +02:00
parent 5d2d7c89a5
commit a68727c3cf

View File

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