2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: python3 bilimsel araç kütüphanesi
|
2017-05-31 01:05:30 +02:00
|
|
|
|
# URL: http://numpy.scipy.org/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: python3-setuptools lapack
|
2017-05-31 01:05:30 +02:00
|
|
|
|
|
|
|
|
|
name=python3-numpy
|
|
|
|
|
version=1.11.2
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://sourceforge.net/projects/numpy/files/NumPy/$version/numpy-$version.tar.gz)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-05-31 01:05:30 +02:00
|
|
|
|
cd numpy-$version
|
|
|
|
|
export Atlas=None
|
|
|
|
|
export LDFLAGS="$LDFLAGS -shared"
|
|
|
|
|
python3 setup.py config_fc --fcompiler=gnu95 build
|
|
|
|
|
python3 setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root=$PKG --optimize=1
|
|
|
|
|
}
|