summaryrefslogtreecommitdiff
path: root/community/python2-matplotlib
diff options
context:
space:
mode:
Diffstat (limited to 'community/python2-matplotlib')
-rw-r--r--community/python2-matplotlib/PKGBUILD13
-rw-r--r--community/python2-matplotlib/setup.cfg2
2 files changed, 9 insertions, 6 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|" \
diff --git a/community/python2-matplotlib/setup.cfg b/community/python2-matplotlib/setup.cfg
index 4b82986e9..778b04ccc 100644
--- a/community/python2-matplotlib/setup.cfg
+++ b/community/python2-matplotlib/setup.cfg
@@ -28,7 +28,7 @@ tag_svn_revision = 1
#
## Date/timezone support:
#pytz = False
-#dateutil = False
+dateutil = False
[gui_support]
# Matplotlib supports multiple GUI toolkits, including Cocoa,