python-numpy

This commit is contained in:
milisarge 2017-05-31 02:05:30 +03:00
parent b6c38636e1
commit 3a812ea3c4
4 changed files with 61 additions and 10 deletions

View File

@ -1,21 +1,18 @@
# Description: python bilimsel araç kütüphanesi
# URL: http://numpy.scipy.org/
# Packager: milisarge
# Depends on: python lapack
# Depends on: python-setuptools lapack
name=python-numpy
version=1.9.2
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"
python2 setup.py config_fc --fcompiler=gnu95 build
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
cd numpy-$version
export Atlas=None
export LDFLAGS="$LDFLAGS -shared"
python2 setup.py config_fc --fcompiler=gnu95 build
python2 setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root=$PKG --optimize=1
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}