blob: acabb15d958f85aab8918bc8ab407986c5a6e487 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $Id: PKGBUILD 34440 2010-12-07 21:07:34Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
pkgname=python-numarray
pkgver=1.5.2
pkgrel=4
pkgdesc='Provides array manipulation and computational capabilities.'
arch=('i686' 'x86_64' 'mips64el')
url='http://numpy.scipy.org/'
license=('BSD')
depends=('python2')
source=("http://downloads.sourceforge.net/sourceforge/numpy/numarray-${pkgver}.tar.gz"
'LICENSE')
md5sums=('d2ecfc60fe4869c328b872540d04e0f7'
'e32b4466453e530d7fb0dbeee0ca1044')
build() {
cd "${srcdir}/numarray-${pkgver}"
# python2 fix
sed -i 's_#! /usr/bin/env python_#! /usr/bin/env python2_' Examples/convolve/benchmark.py
}
package() {
cd "${srcdir}/numarray-${pkgver}"
python2 setup.py install --root="${pkgdir}"
install -D ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|