python-numpy
This commit is contained in:
parent
b6c38636e1
commit
3a812ea3c4
|
@ -1,21 +1,18 @@
|
||||||
# Description: python bilimsel araç kütüphanesi
|
# Description: python bilimsel araç kütüphanesi
|
||||||
# URL: http://numpy.scipy.org/
|
# URL: http://numpy.scipy.org/
|
||||||
# Packager: milisarge
|
# Packager: milisarge
|
||||||
# Depends on: python lapack
|
# Depends on: python-setuptools lapack
|
||||||
|
|
||||||
name=python-numpy
|
name=python-numpy
|
||||||
version=1.9.2
|
version=1.11.2
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://sourceforge.net/projects/numpy/files/NumPy/$version/numpy-$version.tar.gz)
|
source=(http://sourceforge.net/projects/numpy/files/NumPy/$version/numpy-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd numpy-$version
|
cd numpy-$version
|
||||||
export Atlas=None
|
export Atlas=None
|
||||||
export LDFLAGS="$LDFLAGS -shared"
|
export LDFLAGS="$LDFLAGS -shared"
|
||||||
|
python2 setup.py config_fc --fcompiler=gnu95 build
|
||||||
python2 setup.py config_fc --fcompiler=gnu95 build
|
python2 setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root=$PKG --optimize=1
|
||||||
python2 setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root=$PKG --optimize=1
|
|
||||||
|
|
||||||
install -D -m644 LICENSE.txt $PKG/usr/share/licenses/$name/LICENSE
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Description: python3 bilimsel araç kütüphanesi
|
||||||
|
# URL: http://numpy.scipy.org/
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: python3-setuptools lapack
|
||||||
|
|
||||||
|
name=python3-numpy
|
||||||
|
version=1.11.2
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(http://sourceforge.net/projects/numpy/files/NumPy/$version/numpy-$version.tar.gz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
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
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Description: creates dependencies in Makefiles
|
||||||
|
# URL: http://xorg.freedesktop.org
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on:
|
||||||
|
|
||||||
|
name=xorg-gccmakedep
|
||||||
|
version=1.0.3
|
||||||
|
release=2
|
||||||
|
source=(http://xorg.freedesktop.org/releases/individual/util/gccmakedep-$version.tar.bz2)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd gccmakedep-$version
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
# Description: Ekran Büyüteci
|
||||||
|
# URL: ftp://sunsite.unc.edu/pub/linux/libs/X/
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: xorg-imake xorg-libxt xorg-libxext
|
||||||
|
|
||||||
|
name=xzoom
|
||||||
|
version=0.3
|
||||||
|
release=1
|
||||||
|
source=(http://webdiis.unizar.es/pub/unix/X11/$name-$version.tgz
|
||||||
|
ftp://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/x/xzoom/xzoom_0.3-23.diff.gz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$name-$version"
|
||||||
|
gzip -d $SRC/xzoom_0.3-23.diff.gz
|
||||||
|
patch -Np1 < "$SRC/xzoom_0.3-23.diff"
|
||||||
|
xmkmf -a
|
||||||
|
sed -i "s@-O2@$CFLAGS@" ./Makefile
|
||||||
|
make
|
||||||
|
make DESTDIR="$PKG" install
|
||||||
|
}
|
Loading…
Reference in New Issue