python-numpy: update to 1.9.2
This commit is contained in:
parent
9441debf00
commit
7feb2543b3
1 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-numpy'
|
# Template file for 'python-numpy'
|
||||||
pkgname=python-numpy
|
pkgname=python-numpy
|
||||||
version=1.9.1
|
version=1.9.2
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="numpy-${version}"
|
wrksrc="numpy-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
|
@ -14,7 +14,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="http://www.numpy.org/"
|
homepage="http://www.numpy.org/"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${SOURCEFORGE_SITE}/numpy/NumPy/${version}/numpy-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/numpy/NumPy/${version}/numpy-${version}.tar.gz"
|
||||||
checksum=0075bbe07e30b659ae4415446f45812dc1b96121a493a4a1f8b1ba77b75b1e1c
|
checksum=325e5f2b0b434ecb6e6882c7e1034cc6cdde3eeeea87dbc482575199a6aeef2a
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
export ATLAS=None
|
export ATLAS=None
|
||||||
|
@ -25,7 +25,7 @@ pre_build() {
|
||||||
sed -i '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py
|
sed -i '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py
|
||||||
|
|
||||||
# remove shebangs
|
# remove shebangs
|
||||||
find . -type f -name '*.py' -exec sed -i "s,^#!.*python$,," {} +
|
find numpy -type f -name '*.py' -exec sed -i '/^#!.*python$/d' {} +
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
# create symlinks for unversioned f2py* scripts
|
# create symlinks for unversioned f2py* scripts
|
||||||
|
@ -47,7 +47,7 @@ post_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
python-numpy-devel_package() {
|
python-numpy-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include/python2.7
|
vmove usr/include/python2.7
|
||||||
|
@ -68,7 +68,7 @@ python3.4-numpy_package() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
python3.4-numpy-devel_package() {
|
python3.4-numpy-devel_package() {
|
||||||
depends="python3.4-numpy>=${version}_${revision}"
|
depends="python3.4-numpy-${version}_${revision}"
|
||||||
short_desc="${_short_desc} - development files"
|
short_desc="${_short_desc} - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include/python3.4m
|
vmove usr/include/python3.4m
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue