[arch-commits] Commit in python-basemap/repos (4 files)
Felix Yan
fyan at archlinux.org
Sat Mar 28 11:52:29 UTC 2015
Date: Saturday, March 28, 2015 @ 12:52:29
Author: fyan
Revision: 130108
archrelease: copy trunk to community-i686, community-x86_64
Added:
python-basemap/repos/community-i686/PKGBUILD
(from rev 130107, python-basemap/trunk/PKGBUILD)
python-basemap/repos/community-x86_64/PKGBUILD
(from rev 130107, python-basemap/trunk/PKGBUILD)
Deleted:
python-basemap/repos/community-i686/PKGBUILD
python-basemap/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 168 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 84 ----------------------
community-x86_64/PKGBUILD | 84 ----------------------
3 files changed, 168 insertions(+), 168 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-03-28 11:51:57 UTC (rev 130107)
+++ community-i686/PKGBUILD 2015-03-28 11:52:29 UTC (rev 130108)
@@ -1,84 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.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>
-
-pkgbase=python-basemap
-pkgname=('python-basemap' 'python2-basemap' 'python-basemap-common')
-pkgver=1.0.7
-pkgrel=2
-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')
-
-_py2basever=2.7
-_py3basever=3.4
-
-build() {
- pushd "${srcdir}"/basemap-${pkgver}
- # Remove the bundled libraries and common data
- rm -r geos-*
- sed -i "s/lib64/lib/g" setup.py
- popd
-
- cp -a "${srcdir}"/basemap-${pkgver}{,-python2}
-
- # Python2 Version
- cd "${srcdir}"/basemap-${pkgver}-python2
- python2 setup.py config
- python2 setup.py build
-
- # Python3 Version
- cd "${srcdir}"/basemap-${pkgver}
- python setup.py config
- python setup.py build
-}
-
-package_python2-basemap() {
- pkgdesc="Toolkit for plotting data on map projections"
- depends=('python-basemap-common' 'python2-matplotlib' 'geos' 'shapelib' 'python2-numpy' 'python2-httplib2')
- optdepends=('python2-pillow: Python Imaging Library is only needed for bluemarble and warpimage methods.')
-
- cd "${srcdir}"/basemap-${pkgver}-python2
-
- python2 setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
-
- # Conflict with files from python2-matplotlib
- rm "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/__init__.{py,pyc,pyo}
-
- rm -fr "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/basemap/data
- ln -sf /usr/share/basemap/data "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/basemap/data
-}
-
-package_python-basemap() {
- pkgdesc="Toolkit for plotting data on map projections"
- depends=('python-basemap-common' 'python-matplotlib' 'geos' 'shapelib' 'python-numpy' 'python-httplib2')
- optdepends=('python-pillow: Python Imaging Library is only needed for bluemarble and warpimage methods.')
-
- cd "${srcdir}"/basemap-${pkgver}
-
- python setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
-
- # 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 -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
-}
-
-package_python-basemap-common() {
- pkgdesc="Data files for python-basemap"
-
- cd "${srcdir}"/basemap-${pkgver}
-
- install -dm755 "${pkgdir}"/usr/share/basemap
- cp -a lib/mpl_toolkits/basemap/data/ "${pkgdir}"/usr/share/basemap/
-
- install -dm755 "${pkgdir}"/usr/share/licenses/${pkgbase}
- install -m644 LICENSE_{data,pyshp,proj4} README "${pkgdir}"/usr/share/licenses/${pkgbase}/
-}
Copied: python-basemap/repos/community-i686/PKGBUILD (from rev 130107, python-basemap/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-03-28 11:52:29 UTC (rev 130108)
@@ -0,0 +1,84 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.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>
+
+pkgbase=python-basemap
+pkgname=('python-basemap' 'python2-basemap' 'python-basemap-common')
+pkgver=1.0.7
+pkgrel=3
+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')
+
+_py2basever=2.7
+_py3basever=3.4
+
+build() {
+ pushd "${srcdir}"/basemap-${pkgver}
+ # Remove the bundled libraries and common data
+ rm -r geos-*
+ sed -i "s/lib64/lib/g" setup.py
+ popd
+
+ cp -a "${srcdir}"/basemap-${pkgver}{,-python2}
+
+ # Python2 Version
+ cd "${srcdir}"/basemap-${pkgver}-python2
+ python2 setup.py config
+ python2 setup.py build
+
+ # Python3 Version
+ cd "${srcdir}"/basemap-${pkgver}
+ python setup.py config
+ python setup.py build
+}
+
+package_python2-basemap() {
+ pkgdesc="Toolkit for plotting data on map projections"
+ depends=('python-basemap-common' 'python2-matplotlib' 'geos' 'shapelib' 'python2-numpy' 'python2-httplib2')
+ optdepends=('python2-pillow: Python Imaging Library is only needed for bluemarble and warpimage methods.')
+
+ cd "${srcdir}"/basemap-${pkgver}-python2
+
+ python2 setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
+
+ # Conflict with files from python2-matplotlib
+ rm "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/__init__.{py,pyc,pyo}
+
+ rm -fr "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/basemap/data
+ ln -sf /usr/share/basemap/data "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/basemap/data
+}
+
+package_python-basemap() {
+ pkgdesc="Toolkit for plotting data on map projections"
+ depends=('python-basemap-common' 'python-matplotlib' 'geos' 'shapelib' 'python-numpy' 'python-httplib2')
+ optdepends=('python-pillow: Python Imaging Library is only needed for bluemarble and warpimage methods.')
+
+ cd "${srcdir}"/basemap-${pkgver}
+
+ python setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
+
+ # 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 -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
+}
+
+package_python-basemap-common() {
+ pkgdesc="Data files for python-basemap"
+
+ cd "${srcdir}"/basemap-${pkgver}
+
+ install -dm755 "${pkgdir}"/usr/share/basemap
+ cp -a lib/mpl_toolkits/basemap/data/ "${pkgdir}"/usr/share/basemap/
+
+ install -dm755 "${pkgdir}"/usr/share/licenses/${pkgbase}
+ install -m644 LICENSE_{data,pyshp,proj4} README "${pkgdir}"/usr/share/licenses/${pkgbase}/
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-03-28 11:51:57 UTC (rev 130107)
+++ community-x86_64/PKGBUILD 2015-03-28 11:52:29 UTC (rev 130108)
@@ -1,84 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.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>
-
-pkgbase=python-basemap
-pkgname=('python-basemap' 'python2-basemap' 'python-basemap-common')
-pkgver=1.0.7
-pkgrel=2
-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')
-
-_py2basever=2.7
-_py3basever=3.4
-
-build() {
- pushd "${srcdir}"/basemap-${pkgver}
- # Remove the bundled libraries and common data
- rm -r geos-*
- sed -i "s/lib64/lib/g" setup.py
- popd
-
- cp -a "${srcdir}"/basemap-${pkgver}{,-python2}
-
- # Python2 Version
- cd "${srcdir}"/basemap-${pkgver}-python2
- python2 setup.py config
- python2 setup.py build
-
- # Python3 Version
- cd "${srcdir}"/basemap-${pkgver}
- python setup.py config
- python setup.py build
-}
-
-package_python2-basemap() {
- pkgdesc="Toolkit for plotting data on map projections"
- depends=('python-basemap-common' 'python2-matplotlib' 'geos' 'shapelib' 'python2-numpy' 'python2-httplib2')
- optdepends=('python2-pillow: Python Imaging Library is only needed for bluemarble and warpimage methods.')
-
- cd "${srcdir}"/basemap-${pkgver}-python2
-
- python2 setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
-
- # Conflict with files from python2-matplotlib
- rm "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/__init__.{py,pyc,pyo}
-
- rm -fr "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/basemap/data
- ln -sf /usr/share/basemap/data "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/basemap/data
-}
-
-package_python-basemap() {
- pkgdesc="Toolkit for plotting data on map projections"
- depends=('python-basemap-common' 'python-matplotlib' 'geos' 'shapelib' 'python-numpy' 'python-httplib2')
- optdepends=('python-pillow: Python Imaging Library is only needed for bluemarble and warpimage methods.')
-
- cd "${srcdir}"/basemap-${pkgver}
-
- python setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
-
- # 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 -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
-}
-
-package_python-basemap-common() {
- pkgdesc="Data files for python-basemap"
-
- cd "${srcdir}"/basemap-${pkgver}
-
- install -dm755 "${pkgdir}"/usr/share/basemap
- cp -a lib/mpl_toolkits/basemap/data/ "${pkgdir}"/usr/share/basemap/
-
- install -dm755 "${pkgdir}"/usr/share/licenses/${pkgbase}
- install -m644 LICENSE_{data,pyshp,proj4} README "${pkgdir}"/usr/share/licenses/${pkgbase}/
-}
Copied: python-basemap/repos/community-x86_64/PKGBUILD (from rev 130107, python-basemap/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-03-28 11:52:29 UTC (rev 130108)
@@ -0,0 +1,84 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.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>
+
+pkgbase=python-basemap
+pkgname=('python-basemap' 'python2-basemap' 'python-basemap-common')
+pkgver=1.0.7
+pkgrel=3
+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')
+
+_py2basever=2.7
+_py3basever=3.4
+
+build() {
+ pushd "${srcdir}"/basemap-${pkgver}
+ # Remove the bundled libraries and common data
+ rm -r geos-*
+ sed -i "s/lib64/lib/g" setup.py
+ popd
+
+ cp -a "${srcdir}"/basemap-${pkgver}{,-python2}
+
+ # Python2 Version
+ cd "${srcdir}"/basemap-${pkgver}-python2
+ python2 setup.py config
+ python2 setup.py build
+
+ # Python3 Version
+ cd "${srcdir}"/basemap-${pkgver}
+ python setup.py config
+ python setup.py build
+}
+
+package_python2-basemap() {
+ pkgdesc="Toolkit for plotting data on map projections"
+ depends=('python-basemap-common' 'python2-matplotlib' 'geos' 'shapelib' 'python2-numpy' 'python2-httplib2')
+ optdepends=('python2-pillow: Python Imaging Library is only needed for bluemarble and warpimage methods.')
+
+ cd "${srcdir}"/basemap-${pkgver}-python2
+
+ python2 setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
+
+ # Conflict with files from python2-matplotlib
+ rm "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/__init__.{py,pyc,pyo}
+
+ rm -fr "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/basemap/data
+ ln -sf /usr/share/basemap/data "${pkgdir}"/usr/lib/python${_py2basever}/site-packages/mpl_toolkits/basemap/data
+}
+
+package_python-basemap() {
+ pkgdesc="Toolkit for plotting data on map projections"
+ depends=('python-basemap-common' 'python-matplotlib' 'geos' 'shapelib' 'python-numpy' 'python-httplib2')
+ optdepends=('python-pillow: Python Imaging Library is only needed for bluemarble and warpimage methods.')
+
+ cd "${srcdir}"/basemap-${pkgver}
+
+ python setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
+
+ # 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 -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
+}
+
+package_python-basemap-common() {
+ pkgdesc="Data files for python-basemap"
+
+ cd "${srcdir}"/basemap-${pkgver}
+
+ install -dm755 "${pkgdir}"/usr/share/basemap
+ cp -a lib/mpl_toolkits/basemap/data/ "${pkgdir}"/usr/share/basemap/
+
+ install -dm755 "${pkgdir}"/usr/share/licenses/${pkgbase}
+ install -m644 LICENSE_{data,pyshp,proj4} README "${pkgdir}"/usr/share/licenses/${pkgbase}/
+}
More information about the arch-commits
mailing list