summaryrefslogtreecommitdiff
path: root/community/python2-basemap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python2-basemap/PKGBUILD')
-rw-r--r--community/python2-basemap/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/community/python2-basemap/PKGBUILD b/community/python2-basemap/PKGBUILD
index 87f49c01d..08b152b96 100644
--- a/community/python2-basemap/PKGBUILD
+++ b/community/python2-basemap/PKGBUILD
@@ -1,27 +1,27 @@
-# $Id: PKGBUILD 62219 2012-01-18 13:46:59Z stephane $
+# $Id: PKGBUILD 71122 2012-05-24 14:57:31Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Julien Morin <jmorin@cp.dias.ie>
pkgname=python2-basemap
-pkgver=1.0.2
+pkgver=1.0.3
pkgrel=1
pkgdesc="Toolkit for plotting data on map projections"
arch=('i686' 'x86_64' 'mips64el')
url="http://matplotlib.sourceforge.net/basemap/doc/html/"
license=('custom')
-depends=('python2-matplotlib' 'geos' 'shapelib' 'python2-numpy' 'python2-httplib2')
+depends=('python2-matplotlib' 'geos' 'shapelib' 'python2-numpy' 'python2-httplib2')
optdepends=('python-imaging: Python Imaging Library is only needed for bluemarble and warpimage methods.')
source=("http://downloads.sourceforge.net/project/matplotlib/matplotlib-toolkits/basemap-${pkgver}/basemap-${pkgver}.tar.gz")
-sha1sums=('234cdf591e6217de78452d7be2500781c85f5fb4')
+sha1sums=('ee5913726d31a76a5c40451dd248977355ea3cff')
build() {
cd "${srcdir}/basemap-${pkgver}"
-
+
# Remove the bundled librarie
rm -r geos-?.?.?
sed -i "s/lib64/lib/g" setup.py
-
+
python2 setup.py config
python2 setup.py build
}
@@ -31,7 +31,7 @@ package() {
_pybasever=2.7
- python2 setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
+ python2 setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
# Conflict with files from python2-matplotlib
rm "${pkgdir}"/usr/lib/python${_pybasever}/site-packages/mpl_toolkits/__init__.{py,pyc,pyo}