diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-07-20 11:41:05 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-07-20 11:41:05 -0300 |
commit | 0d18015803bebeb58911bf791653597291056095 (patch) | |
tree | df21e7972fd9d4555942dbad0bde22066ebf95f3 /testing/python-numpy/PKGBUILD | |
parent | 2f352ca8b911d96566b10adc049f76a552ab93aa (diff) | |
parent | 3da6b13f1eb136d0899bd2e8dd217048bb4d9030 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/keysafe/PKGBUILD
community/lesspipe/PKGBUILD
community/xchat-systray-integration/PKGBUILD
core/gen-init-cpio/PKGBUILD
extra/xarchiver/PKGBUILD
Diffstat (limited to 'testing/python-numpy/PKGBUILD')
-rwxr-xr-x | testing/python-numpy/PKGBUILD | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/testing/python-numpy/PKGBUILD b/testing/python-numpy/PKGBUILD deleted file mode 100755 index 699137cf6..000000000 --- a/testing/python-numpy/PKGBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# $Id: PKGBUILD 131668 2011-07-13 13:42:02Z stephane $ -# Maintainer: Jan de Groot <jgc@archlinux.org> -# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org> -# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> - -pkgbase=python-numpy -pkgname=('python2-numpy' 'python-numpy') -pkgver=1.6.0 -pkgrel=1 -pkgdesc="Scientific tools for Python" -arch=('i686' 'x86_64') -license=('custom') -url="http://numpy.scipy.org/" -makedepends=('lapack' 'python' 'python2' 'python-distribute' 'python2-distribute' 'gcc-fortran' 'python-nose') -source=(http://downloads.sourceforge.net/numpy/numpy-${pkgver}.tar.gz) -md5sums=('e0993c74cb8e83292e560eac1a9be8e9') - -build() { - cd "${srcdir}" - cp -a numpy-${pkgver} numpy-py2-${pkgver} - - export Atlas=None - export LDFLAGS="$LDFLAGS -shared" - - echo "Building Python2" - cd "${srcdir}/numpy-py2-${pkgver}" - python2 setup.py config_fc --fcompiler=gnu95 build - - echo "Building Python3" - cd "${srcdir}/numpy-${pkgver}" - python setup.py config_fc --fcompiler=gnu95 build -} - -package_python2-numpy() { - depends=('lapack' 'python2') - optdepends=('python-nose: testsuite') - - cd "${srcdir}/numpy-py2-${pkgver}" - python2 setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root="${pkgdir}" --optimize=1 - - install -m755 -d "${pkgdir}/usr/share/licenses/python2-numpy" - install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python2-numpy/" - - sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ - -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ - -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \ - $(find ${pkgdir} -name '*.py') -} - -package_python-numpy() { - depends=('lapack' 'python') - provides=("python3-numpy=${pkgver}") - replaces=('python3-numpy') - conflicts=('python3-numpy') - - cd "${srcdir}/numpy-${pkgver}" - python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root="${pkgdir}" --optimize=1 - - install -m755 -d "${pkgdir}/usr/share/licenses/python3-numpy" - install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python3-numpy/" -} |