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

# source: james
TARBALL=scipy-$PKGVER.zip
MD5SUM=91b8396231eec780222a57703d3ec550
SRC_URL=https://pypi.python.org/packages/e5/93/9a8290e7eb5d4f7cb53b9a7ad7b92b9827ecceaddfd04c2a83f195d8767d/$TARBALL
BUNDLE=

SLACKREQ='python python-numpy'
SLACKDESC="python-scipy: python-scipy $PKGVER (Scientific library for Python)
python-scipy: 
python-scipy: SciPy (pronounced “Sigh Pie”) is open-source software for 
python-scipy: mathematics, science, and engineering. The SciPy library depends on 
python-scipy: NumPy, which provides convenient and fast N-dimensional array 
python-scipy: manipulation. The SciPy library is built to work with NumPy arrays, 
python-scipy: and provides many user-friendly and efficient numerical routines such 
python-scipy: as routines for numerical integration and optimization.
python-scipy: 
python-scipy: https://pypi.python.org/pypi/scipy
python-scipy:
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_check $SRC_DIR $TARBALL $MD5SUM &&
	unzip $SRC_DIR/$TARBALL -d ./tmp
}
### default pkg_package
### build
pkg_build() {
	cd /tmp/scipy*
	python setup.py build &&
	python setup.py install \
		--single-version-externally-managed \
		--root / &&	
	pkg_build_slackdesc
}


