summaryrefslogtreecommitdiff
path: root/community-testing
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-30 00:01:49 +0000
committerroot <root@rshg054.dnsready.net>2012-06-30 00:01:49 +0000
commitff31f6558b911e924318b059516075f6413c5d8b (patch)
treec60e837c5e5c8e10b9f367152621091c714e4ea7 /community-testing
parenta9811800fb65ca331655a1bbe22e67e7564099f8 (diff)
Sat Jun 30 00:01:49 UTC 2012
Diffstat (limited to 'community-testing')
-rw-r--r--community-testing/python2-matplotlib/PKGBUILD13
-rw-r--r--community-testing/python2-matplotlib/setup.cfg2
2 files changed, 9 insertions, 6 deletions
diff --git a/community-testing/python2-matplotlib/PKGBUILD b/community-testing/python2-matplotlib/PKGBUILD
index d58a76d36..2f96cd33e 100644
--- a/community-testing/python2-matplotlib/PKGBUILD
+++ b/community-testing/python2-matplotlib/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73015 2012-06-27 23:42:45Z stephane $
+# $Id: PKGBUILD 73023 2012-06-28 11:16:15Z stephane $
# 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-testing/python2-matplotlib/setup.cfg b/community-testing/python2-matplotlib/setup.cfg
index 4b82986e9..778b04ccc 100644
--- a/community-testing/python2-matplotlib/setup.cfg
+++ b/community-testing/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,