#### 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 python3'
SLACKDESC="python3-numpy: python3-numpy $PKGVER (Python3 base package for numerical computing) 
python3-numpy:  
python3-numpy: NumPy is the fundamental package for scientific computing with 
python3-numpy: Python. It contains among other things: 
python3-numpy: - a powerful N-dimensional array object 
python3-numpy: - sophisticated (broadcasting) functions 
python3-numpy: - tools for integrating C/C++ and Fortran code 
python3-numpy: - useful linear algebra, Fourier transform, and random 
python3-numpy:   number capabilities  
python3-numpy: 
python3-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*
	python3 setup.py build &&
	python3 setup.py install --optimize=1 \
		--single-version-externally-managed --root / &&
	pkg_build_slackdesc
}


