summaryrefslogtreecommitdiff
path: root/community/python2-matplotlib/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-01 00:03:50 +0000
committerroot <root@rshg054.dnsready.net>2012-07-01 00:03:50 +0000
commit55f2d1ab0ab1bd2f7c8c7c5cefeb45f7c457a5d9 (patch)
tree2225c1ac4218dd287787d4a4c8ec8ceaced09067 /community/python2-matplotlib/PKGBUILD
parent3025740c981e5acc29f25b400bc93046776d7008 (diff)
Sun Jul 1 00:03:50 UTC 2012
Diffstat (limited to 'community/python2-matplotlib/PKGBUILD')
-rw-r--r--community/python2-matplotlib/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/python2-matplotlib/PKGBUILD b/community/python2-matplotlib/PKGBUILD
index debc1a639..d7da266fa 100644
--- a/community/python2-matplotlib/PKGBUILD
+++ b/community/python2-matplotlib/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73010 2012-06-27 23:33:52Z stephane $
+# $Id: PKGBUILD 73039 2012-06-29 11:35:49Z andrea $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
@@ -6,12 +6,13 @@
pkgname=python2-matplotlib
pkgver=1.1.0
-pkgrel=3
+pkgrel=4
pkgdesc="A python plotting library, making publication quality plots"
arch=('i686' 'x86_64')
url="http://matplotlib.sourceforge.net/"
+license=('custom')
backup=(usr/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc)
-depends=('python2-pytz' 'python2-numpy' 'python2-pyparsing' 'python2-pyqt')
+depends=('python2-dateutil' 'python2-pytz' 'python2-numpy' 'python2-pyparsing' 'python2-pyqt')
optdepends=('pygtk: for use with the GTK or GTKAgg backend'
'tk: used by the TkAgg backend'
'wxpython: for use with the WXAgg backend')
@@ -22,8 +23,7 @@ conflicts=('python-matplotlib')
source=("http://downloads.sourceforge.net/matplotlib/matplotlib-${pkgver}.tar.gz"
setup.cfg)
sha1sums=('435b4f04a7e099b79f66451d69ad0b5ce66030ae'
- 'bcb5a83db9d95c96a57ca518fa6bd1897b23558f')
-license=('custom')
+ 'f074495fc965298e0372751b34c8edb319437c5f')
build() {
cd "${srcdir}/matplotlib-${pkgver}"
@@ -34,6 +34,9 @@ build() {
rm lib/matplotlib/pyparsing.py
sed -i "s/matplotlib.pyparsing/pyparsing/g" lib/matplotlib/{mathtext,fontconfig_pattern}.py
+ # remove internal copy of dateutil
+ rm -r lib/dateutil
+
# python2 fix
for file in $(find . -name '*.py' -print); do
sed -i -e "s|^#!.*/usr/bin/python|#!/usr/bin/python2|" \