python-matplotlib: update to 2.2.2
This commit is contained in:
parent
5d2d7c89a5
commit
a68727c3cf
1 changed files with 10 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-matplotlib'
|
# Template file for 'python-matplotlib'
|
||||||
pkgname=python-matplotlib
|
pkgname=python-matplotlib
|
||||||
version=2.1.2
|
version=2.2.2
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="matplotlib-${version}"
|
wrksrc="matplotlib-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -15,16 +15,16 @@ makedepends="
|
||||||
python-pyside python3-pyside python-cairocffi python3-cairocffi
|
python-pyside python3-pyside python-cairocffi python3-cairocffi
|
||||||
python-gobject-devel pygtk-devel gtk+3-devel tk-devel python-tkinter
|
python-gobject-devel pygtk-devel gtk+3-devel tk-devel python-tkinter
|
||||||
python3-tkinter wxPython-devel freetype-devel libpng-devel libqhull-devel"
|
python3-tkinter wxPython-devel freetype-devel libpng-devel libqhull-devel"
|
||||||
depends="python-matplotlib-data>=${version}_${revision} python-numpy
|
depends="python-matplotlib-data>=${version}_${revision} python-numpy python-six
|
||||||
python-six python-dateutil python-backports.functools_lru_cache
|
python-dateutil python-parsing python-pytz python-cycler python-kiwisolver
|
||||||
python-subprocess32 python-pytz python-cycler python-parsing"
|
python-backports.functools_lru_cache python-subprocess32"
|
||||||
pycompile_module="matplotlib mpl_toolkits pylab.py"
|
pycompile_module="matplotlib mpl_toolkits pylab.py"
|
||||||
short_desc="Python2 2D/3D plotting library"
|
short_desc="Python2 2D/3D plotting library"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://matplotlib.org/"
|
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"
|
distfiles="https://github.com/matplotlib/matplotlib/archive/v${version}.tar.gz"
|
||||||
checksum=613d79282a0a8ba88cfc52dbcf1b08ab070dae395c3d313d141ccc3f87e3c9fa
|
checksum=3a8236e6747dbb48c342ee194a8ced2805205cbd718899b284e4d617189cd397
|
||||||
|
|
||||||
export XDG_RUNTIME_DIR=/tmp
|
export XDG_RUNTIME_DIR=/tmp
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@ pre_build() {
|
||||||
EOF
|
EOF
|
||||||
# adjust path
|
# adjust path
|
||||||
sed -i 's,\(site-packages/matplotlib/mpl-data\),/etc,' matplotlibrc.template
|
sed -i 's,\(site-packages/matplotlib/mpl-data\),/etc,' matplotlibrc.template
|
||||||
|
# adjust qhull path
|
||||||
|
sed -i "s|'libqhull',|'qhull',|" setupext.py
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE/LICENSE
|
vlicense LICENSE/LICENSE
|
||||||
|
@ -59,7 +61,8 @@ python-matplotlib-data_package() {
|
||||||
}
|
}
|
||||||
python3-matplotlib_package() {
|
python3-matplotlib_package() {
|
||||||
depends="python-matplotlib-data>=${version}_${revision} python3-numpy
|
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}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pycompile_module="matplotlib mpl_toolkits pylab.py"
|
pycompile_module="matplotlib mpl_toolkits pylab.py"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue