[arch-commits] Commit in python-matplotlib/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Wed Apr 23 03:57:24 UTC 2014


    Date: Wednesday, April 23, 2014 @ 05:57:24
  Author: fyan
Revision: 110014

upgpkg: python-matplotlib 1.3.1-4

- enable wxpython support at build time
- fix optdepends

Modified:
  python-matplotlib/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-23 03:54:29 UTC (rev 110013)
+++ PKGBUILD	2014-04-23 03:57:24 UTC (rev 110014)
@@ -7,7 +7,7 @@
 pkgbase=python-matplotlib
 pkgname=('python2-matplotlib' 'python-matplotlib')
 pkgver=1.3.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A python plotting library, making publication quality plots"
 arch=('i686' 'x86_64')
 url='http://matplotlib.org'
@@ -17,7 +17,7 @@
              'python-pyqt4' 'tk' 'python-cairo' 'python2-cairo' 'python-dateutil'
              'python2-dateutil' 'python-gobject' 'python2-gobject' 'python-pyparsing'
              'python2-pyparsing' 'pygtk' 'python-six' 'ghostscript' 'texlive-bin' 'agg'
-             'python-tornado' 'python2-tornado' 'gtk3')
+             'python-tornado' 'python2-tornado' 'gtk3' 'wxpython')
 source=("http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-${pkgver}/matplotlib-${pkgver}.tar.gz"
         "ffmpeg-2.0.patch")
 sha512sums=('04877aa15b6d52a6f813e8377098d13c432f66ae2522c544575440180944c9b73a2164ae63edd3a0eff807883bf7b39cd55f28454ccee8c76146567ff4a6fd40'
@@ -51,11 +51,14 @@
 
 package_python2-matplotlib() {
    depends=('python2-pytz' 'python2-numpy' 'python2-cairo' 'python2-pyqt4' 'python2-dateutil' 'python2-pyparsing')
-   optdepends=('pygtk: for use with the GTK or GTKAgg backend'
+   optdepends=('pygtk: for GTK/GTKAgg/GTKCairo backend'
+               'python2-cairo: for GTKCairo/GTK3Cairo backend'
                'tk: used by the TkAgg backend'
                'ghostscript: usetex dependencies'
                'texlive-bin: usetex dependencies'
-               'python2-tornado: for webagg backend')
+               'python2-tornado: for webagg backend'
+               'python2-gobject: for GTK3Agg/GTK3Cairo backend'
+               'wxpython: for WX/WXAgg backend')
 
    cd matplotlib-${pkgver}
    python2 setup.py install -O1 --skip-build --root "${pkgdir}" --prefix=/usr
@@ -66,7 +69,8 @@
 
 package_python-matplotlib() {
    depends=('python-pytz' 'python-numpy' 'python-cairo' 'python-pyqt4' 'python-dateutil' 'python-pyparsing')
-   optdepends=('pygtk: for use with the GTK or GTKAgg backend'
+   optdepends=('python-gobject: for GTK3Agg/GTK3Cairo backend'
+               'python-cairo: for GTK3Cairo backend'
                'tk: used by the TkAgg backend'
                'ghostscript: usetex dependencies'
                'texlive-bin: usetex dependencies'




More information about the arch-commits mailing list