#### this file is sourced not run
PKGVER=1.11.1
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=numpy-$PKGVER.tar.gz
MD5SUM=2f44a895a8104ffac140c3a70edbd450 
SRC_URL=http://downloads.sourceforge.net/numpy/$TARBALL
BUNDLE=

SLACKREQ='liblapack python'
SLACKDESC="python-numpy: python-numpy $PKGVER (Python base package for numerical computing) 
python-numpy:  
python-numpy: NumPy is the fundamental package for scientific computing with 
python-numpy: Python. It contains among other things: 
python-numpy: - a powerful N-dimensional array object 
python-numpy: - sophisticated (broadcasting) functions 
python-numpy: - tools for integrating C/C++ and Fortran code 
python-numpy: - useful linear algebra, Fourier transform, and random 
python-numpy:   number capabilities  
python-numpy: 
python-numpy: 
"

### default pkg_download
### default pkg_prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/numpy* &&
	patch -Np1 -i ../pkg/numpy-xlocal.patch
}
### default pkg_package
### build
pkg_build() {
	cd /tmp/numpy*
	python setup.py build &&
	python setup.py install --optimize=1 \
		--single-version-externally-managed --root / &&
	pkg_build_slackdesc
}


