You are not logged in.
The SciPy-Package adds lots of scientific functions to Python.
It uses some Fortran libraries for some of the complicated algorithms (Fourier transforms, Linear Algebra operations), thus it needs the following depends:
- python (>= 2.2, already available in Pacman)
- python-numeric (already available in Pacman)
- gcc-g77 (already available in Pacman)
- ATLAS libraries (for Linear Algebra operations): you can download binaries and copy them to /usr/lib/atlas OR make the source, I am not skilled enough to provide a PKGBUILD (somebody else?)
- F2PY: easily installed with the following PKGBUILD:
#PKGBUILD F2PY -----------------------
pkgname=F2PY
pkgver=2.45.241_1926
pkgrel=1
pkgdesc="Fortran to Python interface generator"
url="http://cens.ioc.ee/projects/f2py2e/"
license=""
depends=(python>=2.1, python-numeric>=20)
conflicts=()
replaces=()
backup=()
install=
source=(http://cens.ioc.ee/projects/f2py2e/2.x/$pkgname-$pkgver.tar.gz)
md5sums=()
build() {
cd $startdir/src/$pkgname-$pkgver
python setup.py build || return 1
python setup.py install --prefix=/usr --root=$startdir/pkg
}
#-------------------------------------
Finally: SciPy with the following PKGBUILD:
#PKGBUILD SciPy -----------------------
pkgname=python-scipy
pkgver=0.3.2
pkgrel=1
pkgdesc="Scientific tools for Python"
url="http://www.scipy.org"
license=""
depends=(python>=2.2, python-numeric>=21.3, gcc-g77, F2PY) # this actually also needs ATLAS (see above)
conflicts=()
replaces=()
backup=()
install=
source=(http://www.scipy.org/download/scipy/src/SciPy_complete-$pkgver.tar.gz)
md5sums=()
build() {
cd $startdir/src/SciPy_complete-0.3.2
python setup.py build || return 1
python setup.py install --prefix=/usr --root=$startdir/pkg
}
#----------------------------------------
Any comments?
Offline
thanks. extra extra extra!
Offline
hmmm.
looks like i've just spent some time doing what has already been done.
well, i searched in AUR+pacman and since i couldn't find anything like scipy, i made a package myself. the reason is that i also made complete ATLAS+LAPACK package which is available in AUR and i wanted to test it somewhere besides in my own programs.
@hugelmopf: i am sorry that i put my scipy packages to AUR, you may adopt them if you want.
Offline
No worries at all. Please keep your packages and maintain them, because due to my new AMD64 processor I am not using Archlinux right now (wanted to try the Debian Pure64 port ;-))
That is also the reason, that these Pkgbuilds are not in the AUR, sorry. And I don't even know, if they work anymore...
So good luck with your packages,
Frank
Offline