summaryrefslogtreecommitdiff
path: root/community/python-matplotlib
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-28 03:35:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-28 03:35:53 +0000
commitdef73efccccb818d214cb818e8b4de8385444a43 (patch)
tree89db423b051ce9f971b6f7386ada2a3573b6e3b7 /community/python-matplotlib
parenteb411a7c7cc929ada01019bd4c306116ce385693 (diff)
Fri Mar 28 03:32:00 UTC 2014
Diffstat (limited to 'community/python-matplotlib')
-rw-r--r--community/python-matplotlib/PKGBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/community/python-matplotlib/PKGBUILD b/community/python-matplotlib/PKGBUILD
index fa82979c0..f5a9d6231 100644
--- a/community/python-matplotlib/PKGBUILD
+++ b/community/python-matplotlib/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 104353 2014-01-19 04:17:18Z bgyorgy $
+# $Id: PKGBUILD 108455 2014-03-27 14:47:53Z fyan $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
@@ -7,19 +7,17 @@
pkgbase=python-matplotlib
pkgname=('python2-matplotlib' 'python-matplotlib')
pkgver=1.3.1
-pkgrel=2
+pkgrel=3
pkgdesc="A python plotting library, making publication quality plots"
arch=('i686' 'x86_64')
url='http://matplotlib.org'
license=('custom')
+checkdepends=('python-nose' 'python2-nose')
makedepends=('python2-pytz' 'python2-numpy' 'python2-pyqt4' 'python-pytz' 'python-numpy'
'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')
-optdepends=('pygtk: for use with the GTK or GTKAgg backend'
- 'tk: used by the TkAgg backend'
- 'ghostscript: usetex dependencies'
- 'texlive-bin: usetex dependencies')
+ 'python2-pyparsing' 'pygtk' 'python-six' 'ghostscript' 'texlive-bin' 'agg'
+ 'python-tornado' 'python2-tornado' 'gtk3')
source=("http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-${pkgver}/matplotlib-${pkgver}.tar.gz"
"ffmpeg-2.0.patch")
sha512sums=('04877aa15b6d52a6f813e8377098d13c432f66ae2522c544575440180944c9b73a2164ae63edd3a0eff807883bf7b39cd55f28454ccee8c76146567ff4a6fd40'
@@ -53,6 +51,11 @@ build() {
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'
+ 'tk: used by the TkAgg backend'
+ 'ghostscript: usetex dependencies'
+ 'texlive-bin: usetex dependencies'
+ 'python2-tornado: for webagg backend')
cd matplotlib-${pkgver}
python2 setup.py install -O1 --skip-build --root "${pkgdir}" --prefix=/usr
@@ -63,6 +66,11 @@ package_python2-matplotlib() {
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'
+ 'tk: used by the TkAgg backend'
+ 'ghostscript: usetex dependencies'
+ 'texlive-bin: usetex dependencies'
+ 'python-tornado: for webagg backend')
cd matplotlib-${pkgver}-py3
python3 setup.py install -O1 --skip-build --root "${pkgdir}" --prefix=/usr