python3-scipy: update to 1.3.1

This commit is contained in:
fosslinux 2019-09-13 12:02:47 +10:00 committed by Helmut Pozimski
parent 7c76f367b7
commit b58c3e7d7d
4 changed files with 23 additions and 34 deletions

View file

@ -1,33 +0,0 @@
# Template file for 'python-scipy'
pkgname=python-scipy
version=1.2.2
revision=1
wrksrc="scipy-${version}"
build_style=python-module
pycompile_module="scipy"
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"
short_desc="Scientific library for Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://scipy.org/scipylib/"
license="BSD-3-Clause"
distfiles="https://github.com/scipy/scipy/archive/v${version}.tar.gz"
checksum=bc8c1364b365e741a9ba5ed67496eacc8565c67d1e0b82be0f203384f05d8026
LDFLAGS="-shared"
post_install() {
vlicense LICENSE.txt
}
python3-scipy_package() {
pycompile_module="scipy"
depends="python3-numpy"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}

View file

@ -1 +0,0 @@
python-scipy

View file

@ -0,0 +1,23 @@
# Template file for 'python3-scipy'
pkgname=python3-scipy
version=1.3.1
revision=1
wrksrc="scipy-${version}"
build_style=python3-module
pycompile_module="scipy"
hostmakedepends="python3-setuptools
python3-Cython gcc-fortran"
makedepends="python3-devel python3-numpy lapack-devel"
depends="python-numpy"
short_desc="Scientific library for Python3"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://scipy.org/scipylib/"
distfiles="https://github.com/scipy/scipy/releases/download/v${version}/scipy-${version}.tar.xz"
checksum=326ffdad79f113659ed0bca80f5d0ed5e28b2e967b438bb1f647d0738073a92e
LDFLAGS="-shared"
post_install() {
vlicense LICENSE.txt
}