mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
28 lines
969 B
Bash
Executable file
28 lines
969 B
Bash
Executable file
# $Id: PKGBUILD,v 1.20 2009/01/26 17:07:33 angvp Exp $
|
|
# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
|
|
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
|
|
|
|
pkgname=python-numpy
|
|
pkgver=1.3.0
|
|
pkgrel=2
|
|
pkgdesc="Scientific tools for Python"
|
|
arch=('arm')
|
|
license=('custom')
|
|
url="http://numpy.scipy.org/"
|
|
depends=('blas' 'lapack')
|
|
makedepends=('python-nose')
|
|
optdepends=('python-nose: test suite')
|
|
source=(http://downloads.sourceforge.net/numpy/numpy-${pkgver}.tar.gz
|
|
fix-endiannes.patch)
|
|
md5sums=('3f7773ff0971a5ebb8591536d8ec7bd6'
|
|
'df5cfa83b2338a43eb79ee07a375e0f0')
|
|
|
|
build() {
|
|
cd "${srcdir}/numpy-${pkgver}"
|
|
patch -Np0 -i "${srcdir}/fix-endiannes.patch"
|
|
export Atlas=None
|
|
python setup.py config_fc --fcompiler=gnu95 build || return 1
|
|
python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root="${pkgdir}" || return 1
|
|
|
|
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
|
}
|