diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-09 23:58:39 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-09 23:58:39 (GMT) |
commit | e65f0abdbc263cb8fa5d367f0999fbb8776e3972 (patch) | |
tree | 892c146e2b235d7a558f34b36f193328cbbc3d0c /abs | |
parent | 1010c1a9d0b7e82f726e5a8c1c5c7a78bc20b8cb (diff) | |
download | linhes_pkgbuild-e65f0abdbc263cb8fa5d367f0999fbb8776e3972.zip linhes_pkgbuild-e65f0abdbc263cb8fa5d367f0999fbb8776e3972.tar.gz linhes_pkgbuild-e65f0abdbc263cb8fa5d367f0999fbb8776e3972.tar.bz2 |
python-numeric: recompile
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/python_modules/python-numeric/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-numeric/PKGBUILD b/abs/core/python_modules/python-numeric/PKGBUILD new file mode 100644 index 0000000..2c8ea21 --- /dev/null +++ b/abs/core/python_modules/python-numeric/PKGBUILD @@ -0,0 +1,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=6 +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" +} + |