summaryrefslogtreecommitdiff
path: root/community/python2-matplotlib/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-01 16:12:04 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-01 16:12:04 -0300
commitca8ab20a665411e312578954c85f1bd3913fc726 (patch)
tree98db13a83d797b74078d5b957f057a59cc91992b /community/python2-matplotlib/PKGBUILD
parentaee193a88b17ec5a5fa2b028f42dbe4161e3390d (diff)
parent55f2d1ab0ab1bd2f7c8c7c5cefeb45f7c457a5d9 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: core/systemd/PKGBUILD core/sysvinit/PKGBUILD extra/hyphen/PKGBUILD extra/imagemagick/PKGBUILD extra/lynx/PKGBUILD extra/pyqt/PKGBUILD extra/sip/PKGBUILD libre/kdelibs-libre/PKGBUILD testing/libdrm/PKGBUILD testing/xf86-video-ati/PKGBUILD
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 72c1d053e..65f6c9303 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' 'mips64el')
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|" \