[arch-commits] Commit in python-basemap/trunk (PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sat Sep 19 18:47:33 UTC 2015
Date: Saturday, September 19, 2015 @ 20:47:32
Author: jlichtblau
Revision: 141089
upgpkg: python-basemap 1.0.7-4 - python 3.5 rebuild
Modified:
python-basemap/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-19 18:22:44 UTC (rev 141088)
+++ PKGBUILD 2015-09-19 18:47:32 UTC (rev 141089)
@@ -1,5 +1,5 @@
# $Id$
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
# Contributor: Matthias Ellmer <ellmer.matthias at gmail.com>
# Contributor: Julien Morin <jmorin at cp.dias.ie>
@@ -7,16 +7,16 @@
pkgbase=python-basemap
pkgname=('python-basemap' 'python2-basemap' 'python-basemap-common')
pkgver=1.0.7
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url="http://matplotlib.org/basemap/"
license=('custom')
makedepends=('python2-numpy' 'python-numpy' 'geos' 'shapelib')
-source=("http://downloads.sourceforge.net/project/matplotlib/matplotlib-toolkits/basemap-${pkgver}/basemap-${pkgver}.tar.gz")
-sha1sums=('e1d5750aab4b2d2c3191bba078a6ae3e2bafa068')
+source=(http://downloads.sourceforge.net/project/matplotlib/matplotlib-toolkits/basemap-${pkgver}/basemap-${pkgver}.tar.gz)
+sha256sums=('e07ec2e0d63b24c9aed25a09fe8aff2598f82a85da8db74190bac81cbf104531')
_py2basever=2.7
-_py3basever=3.4
+_py3basever=3.5
build() {
pushd "${srcdir}"/basemap-${pkgver}
@@ -31,7 +31,7 @@
cd "${srcdir}"/basemap-${pkgver}-python2
python2 setup.py config
python2 setup.py build
-
+
# Python3 Version
cd "${srcdir}"/basemap-${pkgver}
python setup.py config
@@ -65,7 +65,7 @@
# Conflict with files from python-matplotlib
rm "${pkgdir}"/usr/lib/python${_py3basever}/site-packages/mpl_toolkits/__init__.py
- rm "${pkgdir}"/usr/lib/python${_py3basever}/site-packages/mpl_toolkits/__pycache__/__init__.cpython-34.{pyc,pyo}
+ rm "${pkgdir}"/usr/lib/python${_py3basever}/site-packages/mpl_toolkits/__pycache__/__init__.cpython-35.pyc
rm -fr "${pkgdir}"/usr/lib/python${_py3basever}/site-packages/mpl_toolkits/basemap/data
ln -sf /usr/share/basemap/data "${pkgdir}"/usr/lib/python${_py3basever}/site-packages/mpl_toolkits/basemap/data
More information about the arch-commits
mailing list