34 lines
919 B
Bash
34 lines
919 B
Bash
# Template file for 'python-scipy'
|
|
pkgname=python-scipy
|
|
version=1.1.0
|
|
revision=1
|
|
wrksrc="scipy-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools
|
|
python-Cython python3-Cython gcc-fortran"
|
|
makedepends="python-devel python3-devel python-numpy python3-numpy lapack-devel"
|
|
depends="python-numpy"
|
|
pycompile_module="scipy"
|
|
short_desc="Scientific library for Python2"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://www.scipy.org/"
|
|
license="BSD-3-Clause"
|
|
distfiles="https://github.com/scipy/scipy/archive/v${version}.tar.gz"
|
|
checksum=0291a2254d9a020af9b49ca648e8b41e1366be9a8a40849be9102626b2022422
|
|
|
|
LDFLAGS="-shared"
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|
|
|
|
python3-scipy_package() {
|
|
pycompile_module="scipy"
|
|
depends="python3-numpy"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|
|
}
|