blob: 7c7f58cd4c3dd22fb1ea5dc7a734a4b58ed4e1dc (
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
31
32
33
34
35
|
# Maintainer: SpepS <dreamspepser at yahoo dot it>
# Contributor: arjan <arjan@archlinux.org>
# Contributor orelien <aurelien.foret@wanadoo.fr>
pkgname=python-numeric
pkgver=24.2
pkgrel=5
pkgdesc="Numerical Python adds a fast array facility to the Python language"
arch=(i686 x86_64)
url="http://numeric.scipy.org/"
license=('custom')
depends=('python2')
source=(http://downloads.sourceforge.net/sourceforge/numpy/Numeric-$pkgver.tar.gz)
md5sums=('2ae672656e06716a149acb048cca3093')
build() {
cd "$srcdir/Numeric-$pkgver"
# Python2 fix
sed \
-e "s_\(env python\).*_\12_" \
-e "s_\(bin/python\).*_\12_" \
-i `grep -rlE "(env python|bin/python)" .`
}
package() {
cd "$srcdir/Numeric-$pkgver"
# Install
python2 setup.py install --prefix=/usr --root="$pkgdir/"
install -D -m644 Legal.htm "$pkgdir/usr/share/licenses/$pkgname/Legal.htm"
}
|