diff options
author | root <root@rshg054.dnsready.net> | 2012-10-17 01:15:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-17 01:15:52 -0700 |
commit | c84b2cd310f86dc50c4f52a5907cb17652e8c87c (patch) | |
tree | ef3dc614b68e1e6f5966a5d29f3970e27bb7c4f9 /community-testing/python-numarray/PKGBUILD | |
parent | 99d0ec7ebad2eda5f3a03098962e3b250e3bef4c (diff) |
Wed Oct 17 01:14:52 PDT 2012
Diffstat (limited to 'community-testing/python-numarray/PKGBUILD')
-rw-r--r-- | community-testing/python-numarray/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community-testing/python-numarray/PKGBUILD b/community-testing/python-numarray/PKGBUILD new file mode 100644 index 000000000..327b286b5 --- /dev/null +++ b/community-testing/python-numarray/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 78090 2012-10-16 11:52:56Z allan $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com> + +pkgbase=python-numarray +pkgname=python2-numarray +pkgver=1.5.2 +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' + 'e32b4466453e530d7fb0dbeee0ca1044') + +build() { + cd "${srcdir}/numarray-${pkgver}" + + # python2 fix + sed -i 's_#! /usr/bin/env python_#! /usr/bin/env python2_' Examples/convolve/benchmark.py +} + +package_python2-numarray() { + cd "${srcdir}/numarray-${pkgver}" + + python2 setup.py install --root="${pkgdir}" + install -D ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |