[arch-commits] Commit in python-numpy/trunk (PKGBUILD)

Stéphane Gaudreault stephane at archlinux.org
Wed Jul 13 09:42:02 EDT 2011


    Date: Wednesday, July 13, 2011 @ 09:42:02
  Author: stephane
Revision: 131668

upgpkg: python-numpy 1.6.0-1
version bump, rename python3-numpy to python-numpy

Modified:
  python-numpy/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-13 13:40:55 UTC (rev 131667)
+++ PKGBUILD	2011-07-13 13:42:02 UTC (rev 131668)
@@ -4,16 +4,16 @@
 # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> 
 
 pkgbase=python-numpy
-pkgname=('python2-numpy' 'python3-numpy')
-pkgver=1.5.1
-pkgrel=2
+pkgname=('python2-numpy' 'python-numpy')
+pkgver=1.6.0
+pkgrel=1
 pkgdesc="Scientific tools for Python"
 arch=('i686' 'x86_64')
 license=('custom')
 url="http://numpy.scipy.org/"
 makedepends=('lapack' 'python' 'python2' 'python-distribute' 'python2-distribute' 'gcc-fortran' 'python-nose')
 source=(http://downloads.sourceforge.net/numpy/numpy-${pkgver}.tar.gz)
-md5sums=('376ef150df41b5353944ab742145352d')
+md5sums=('e0993c74cb8e83292e560eac1a9be8e9')
 
 build() {
   cd "${srcdir}"
@@ -33,9 +33,6 @@
 
 package_python2-numpy() {
   depends=('lapack' 'python2')
-  provides=("python-numpy=${pkgver}")
-  replaces=('python-numpy')
-  conflicts=('python-numpy')
   optdepends=('python-nose: testsuite')
 
   cd "${srcdir}/numpy-py2-${pkgver}"
@@ -50,8 +47,11 @@
              $(find ${pkgdir} -name '*.py')
 }
 
-package_python3-numpy() {
+package_python-numpy() {
   depends=('lapack' 'python')
+  provides=("python3-numpy=${pkgver}")
+  replaces=('python3-numpy')
+  conflicts=('python3-numpy')
 
   cd "${srcdir}/numpy-${pkgver}"
   python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root="${pkgdir}" --optimize=1



More information about the arch-commits mailing list