summaryrefslogtreecommitdiff
path: root/community/python-numarray/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python-numarray/PKGBUILD')
-rw-r--r--community/python-numarray/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/python-numarray/PKGBUILD b/community/python-numarray/PKGBUILD
index 02d098a71..788f59063 100644
--- a/community/python-numarray/PKGBUILD
+++ b/community/python-numarray/PKGBUILD
@@ -1,15 +1,18 @@
-# $Id: PKGBUILD 57888 2011-11-04 08:26:37Z lfleischer $
+# $Id: PKGBUILD 78232 2012-10-17 10:26:10Z allan $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
-pkgname=python-numarray
+pkgbase=python-numarray
+pkgname=python2-numarray
pkgver=1.5.2
-pkgrel=5
+pkgrel=6
pkgdesc='Provides array manipulation and computational capabilities.'
arch=('i686' 'x86_64')
url='http://numpy.scipy.org/'
license=('BSD')
depends=('python2')
+conflicts=('python2-numarray<=1.5.2-6')
+replaces=('python2-numarray<=1.5.2-6')
source=("http://downloads.sourceforge.net/sourceforge/numpy/numarray-${pkgver}.tar.gz"
'LICENSE')
md5sums=('d2ecfc60fe4869c328b872540d04e0f7'
@@ -22,7 +25,7 @@ build() {
sed -i 's_#! /usr/bin/env python_#! /usr/bin/env python2_' Examples/convolve/benchmark.py
}
-package() {
+package_python2-numarray() {
cd "${srcdir}/numarray-${pkgver}"
python2 setup.py install --root="${pkgdir}"