[arch-commits] Commit in python-matplotlib/repos/community-x86_64 (3 files)
Date: Tuesday, December 31, 2019 @ 01:10:20 Author: archange Revision: 545035 archrelease: copy trunk to community-x86_64 Added: python-matplotlib/repos/community-x86_64/PKGBUILD (from rev 545034, python-matplotlib/trunk/PKGBUILD) Deleted: python-matplotlib/repos/community-x86_64/PKGBUILD python-matplotlib/repos/community-x86_64/setup.cfg ---+ PKGBUILD | 124 ++-- setup.cfg |4 - 2 files changed, 55 insertions(+), 73 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-12-31 01:10:03 UTC (rev 545034) +++ PKGBUILD2019-12-31 01:10:20 UTC (rev 545035) @@ -1,69 +0,0 @@ -# Maintainer: Felix Yan -# Maintainer: Bruno Pagani -# Contributor: Stéphane Gaudreault -# Contributor: Stefan Husmann -# Contributor: Angel 'angvp' Velasquez -# Contributor: Douglas Soares de Andrade - -pkgname=python-matplotlib -pkgver=3.1.1 -pkgrel=4 -pkgdesc="A python plotting library, making publication quality plots" -arch=(x86_64) -url="https://matplotlib.org"; -license=(custom) -depends=(freetype2 libpng python-numpy python-cycler python-dateutil python-kiwisolver python-pyparsing) -optdepends=('tk: Tk{Agg,Cairo} backends' -'python-pyqt5: Qt5{Agg,Cairo} backends' -'python-gobject: for GTK3{Agg,Cairo} backend' -'python-wxpython: WX{,Agg,Cairo} backend' -'python-cairo: {GTK3,Qt5,Tk,WX}Cairo backends' -'python-cairocffi: alternative for Cairo backends' -'python-tornado: WebAgg backend' -'ffmpeg: for saving movies' -'imagemagick: for saving animated gifs' -'python-pillow: for reading/saving jpeg/bmp/tiff files' -'ghostscript: usetex dependencies' -'texlive-bin: usetex dependencies') -makedepends=(git rsync python-setuptools - tk python-pyqt5 python-gobject - python-wxpython python-cairocffi python-tornado - python-pillow ghostscript texlive-bin) - # qhull missing pkg-config file - # agg missing some non-upstreamed patches? -checkdepends=(python-pytest-xdist python-pytest-runner xorg-server-xvfb - texlive-core texlive-latexextra inkscape mencoder - ffmpeg imagemagick python-pandas) -source=("https://github.com/matplotlib/matplotlib/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"; -setup.cfg - matplotlib-python-3.8-warning.patch::"https://github.com/matplotlib/matplotlib/commit/4651a125.patch";) -sha512sums=('157ced0cdcb17c9c82f897ee1621ea06a063491ce7393cda4c74a07a970c49385167b5cf32c1666a2933af50ccc53811cf871b6465b796a42abf4a358c76f6c0' - '77f37e460b17afb5fed12eee6fe48fd48642301f45bb80eb3a02592b74beb32357b0707454aaf8d3e573105726b9bdbaac944c09fb617df4db2df5d1d33fd133' - '443e1a8c088340c9c7d89008e770475d0935c51d84a1e7bfea56ac53f7d48fc0530c05e68b33aa07a92dd621cfc3f9b8227c65692dfeb53d72119b47236ac8fd') - -prepare() { - cp -a matplotlib-${pkgver}{,-test} - - # Configure tests (FS#48175) - cp setup.cfg matplotlib-${pkgver}-test/ - - cd matplotlib-$pkgver - patch -p1 -i ../matplotlib-python-3.8-warning.patch # Fix deprecation warnings with python 3.8 -} - -build() { - cd matplotlib-${pkgver} - python setup.py build -} - -check() { - cd matplotlib-${pkgver}-test - xvfb-run -a -s "+extension GLX +extension RANDR +render -screen 0 1280x1024x24" \ -python setup.py pytest --addopts="-n auto" || warning "Tests failed" # Different font rendering details -} - -package_python-matplotlib() { - cd matplotlib-${pkgver} - python setup.py install --root "${pkgdir}" --prefix=/usr --optimize=1 --skip-build - install -Dm644 doc/users/license.rst -t "${pkgdir}"/usr/share/licenses/${pkgname}/ -} Copied: python-matplotlib/repos/community-x86_64/PKGBUILD (from rev 545034, python-matplotlib/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-12-31 01:10:20 UTC (rev 545035) @@ -0,0 +1,55 @@ +# Maintainer: Felix Yan +# Maintainer: Bruno Pagani +# Contributor: Stéphane Gaudreault +# Contributor: Stefan Husmann +# Contributor: Angel 'angvp' Velasquez +# Contributor: Douglas Soares de Andrade + +pkgname=python-matplotlib +pkgver=3.1.2 +pkgrel=1 +pkgdesc="A python plotting library, making publication quality plots" +arch=(x86_64) +url="https://matplotlib.org"; +license=(custom) +depends=(freetype2 libpng python-numpy python-cycler python-dateutil python-kiwisolver python-pyparsing) +optdepends=('tk: Tk{Agg,Cairo} backends' +'python-pyqt5: Qt5{Agg,Cairo} backends' +'python-gobject: for GTK3{Agg,Cairo} backend' +'python-wxpython: WX{,Agg,Cairo} backend' +'python-cairo: {GTK3,Qt5,Tk,WX}Cairo backends' +'python-cairocffi: alternative for Cairo backends' +'python-
[arch-commits] Commit in python-matplotlib/repos/community-x86_64 (3 files)
Date: Monday, February 15, 2016 @ 04:43:39 Author: fyan Revision: 161587 archrelease: copy trunk to community-x86_64 Added: python-matplotlib/repos/community-x86_64/PKGBUILD (from rev 161586, python-matplotlib/trunk/PKGBUILD) python-matplotlib/repos/community-x86_64/setup.cfg (from rev 161586, python-matplotlib/trunk/setup.cfg) Deleted: python-matplotlib/repos/community-x86_64/PKGBUILD ---+ PKGBUILD | 233 ++-- setup.cfg |4 + 2 files changed, 123 insertions(+), 114 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-02-15 03:43:13 UTC (rev 161586) +++ PKGBUILD2016-02-15 03:43:39 UTC (rev 161587) @@ -1,114 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Stefan Husmann -# Contributor: Angel 'angvp' Velasquez -# Contributor: Douglas Soares de Andrade - -pkgbase=python-matplotlib -pkgname=('python2-matplotlib' 'python-matplotlib') -pkgver=1.5.1 -pkgrel=1 -pkgdesc="A python plotting library, making publication quality plots" -arch=('i686' 'x86_64') -url='http://matplotlib.org' -license=('custom') -checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'xorg-server-xvfb' - 'texlive-core' 'texlive-latexextra' 'imagemagick' 'ffmpeg' 'mencoder' 'inkscape' - 'pep8' 'python2-pep8' 'python-pandas' 'python2-pandas') -makedepends=('python2-pytz' 'python2-numpy' 'python2-pyqt4' 'python-pytz' 'python-numpy' - 'python-pyqt4' 'tk' 'python-cairocffi' 'python2-cairocffi' 'python-dateutil' - 'python2-dateutil' 'python-gobject' 'python2-gobject' 'python-pyparsing' - 'python2-pyparsing' 'pygtk' 'python-six' 'ghostscript' 'texlive-bin' - 'python-tornado' 'python2-tornado' 'gtk3' 'wxpython' 'python-pyqt5' 'python2-pyqt5' - 'libxkbcommon-x11' 'python-pillow' 'python2-pillow' 'python-setuptools' - 'python2-setuptools' 'python-cycler' 'python2-cycler') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/matplotlib/matplotlib/archive/v$pkgver.tar.gz";) -sha512sums=('82df20b18d4008ffed2b7098cbfede109a1054c995b5683b384adbdac62371b9fbb776fd735adf2e5f03d3ba0c2fed869f2f54b0bb1e969e82af5110613b0149') - -prepare() { - cp -a matplotlib-${pkgver} matplotlib-${pkgver}-py2 - - cd matplotlib-${pkgver} - for file in $(find . -name '*.py' -print); do - sed -i -e "s|^#!.*/usr/bin/python|#!/usr/bin/python3|" \ - -e "s|^#!.*/usr/bin/env *python|#!/usr/bin/env python3|" ${file} - done - - cd ../matplotlib-${pkgver}-py2 - for file in $(find . -name '*.py' -print); do - sed -i -e "s|^#!.*/usr/bin/python|#!/usr/bin/python2|" \ - -e "s|^#!.*/usr/bin/env *python|#!/usr/bin/env python2|" ${file} - done -} - -build() { - # this seems to need to be present or gtk/gdk dies - # and hangs the build checking if gtk3cairo is installed - export XDG_RUNTIME_DIR=/tmp - - cd matplotlib-${pkgver} - python3 setup.py build - - cd ../matplotlib-${pkgver}-py2 - python2 setup.py build -} - -check() { - cd matplotlib-${pkgver} - ( - export PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.5:$PYTHONPATH" - python -c "from matplotlib import font_manager" - rm -rf ../tmp_test_dir && mkdir ../tmp_test_dir && cd ../tmp_test_dir - xvfb-run -a -s "+extension GLX +extension RANDR +render -screen 0 1280x1024x24" \ - python ../matplotlib-${pkgver}/tests.py -sv --processes=8 --process-timeout=300 || warning "Tests failed" - ) - - cd ../matplotlib-${pkgver}-py2 - ( - export PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" - python2 -c "from matplotlib import font_manager" - rm -rf ../tmp_test_dir && mkdir ../tmp_test_dir && cd ../tmp_test_dir - xvfb-run -a -s "+extension GLX +extension RANDR +render -screen 0 1280x1024x24" \ - python2 ../matplotlib-${pkgver}-py2/tests.py -sv --processes=8 --process-timeout=300 || warning "Tests failed" - ) -} - -package_python2-matplotlib() { - depends=('python2-pytz' 'python2-numpy' 'python2-pyqt5' 'python2-dateutil' 'python2-pyparsing' 'python2-cycler' 'libxkbcommon-x11') - optdepends=('pygtk: for GTK/GTKAgg/GTKCairo backend' - 'python2-cairo: for GTKCairo/GTK3Cairo backend' - 'python2-cairocffi: for GTKCairo/GTK3Cairo backend (alternative to python2-cairo)' - 'python2-pyqt4: for Qt4Agg backend' - 'tk: used by the TkAgg backend' - 'ghostscript: usetex dependencies' - 'texlive-bin: usetex dependencies' - 'python2-tornado: for webagg backend' - 'python2-gobject: for GTK3Agg/GTK3Cairo backend' - 'wxpython: for WX/WXAgg backend' - 'python2-pillow: for reading/saving .jpg/bmp/tiff files') - - cd matplotlib-${pkgver}-py2 - python2 setup.py install -O1 --s