updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / biomoby-python-cvs / PKGBUILD
blobd5a9b29ab539dc6fe224e6bfb07c986536696cea
1 # Contributor: Ricardo Honorato <rikardo.horo@gmail.com>
2 # Contributor: Thomas Dziedzic
4 pkgname=biomoby-python-cvs
5 pkgver=20100303
6 pkgrel=1
7 pkgdesc='Python implementation of the bioMOBY API.'
8 arch=('i686' 'x86_64')
9 url='http://cvs.open-bio.org/cgi-bin/viewcvs/viewcvs.cgi/Python/?cvsroot=moby-live'
10 license=('GPL')
11 depends=('python-soappy')
13 _cvsroot=':pserver:cvs@cvs.open-bio.org:/home/repository/moby'
14 _cvsmod='moby-live'
16 build() {
17   echo "I'll try to connect to the open-bio.org cvs (cvs.open-bio.org). The password is 'cvs'."
18   cvs -d "$_cvsroot" login
19   cvs -d "$_cvsroot" co -P "$_cvsmod"
20   
21   mkdir -p "$pkgdir/usr"
22   cd moby-live/Python/packages
23   
24   # Install PyIPC... is a prerequisite
25   tar xf PyIPC.tar.bz2
26   cd PyIPC
27   python setup.py install --prefix "$pkgdir/usr"
29   # Install ZSI
30   cd ..
31   tar xf ZSI-1.5.0-patched-2.tar.bz2
32   cd ZSI-1.5.0-patched-2
33   python setup.py install --prefix "$pkgdir/usr"
35   # Finally install the bioMoby-python package
36   cd ../..
37   python setup.py build
38   python setup.py install --prefix "$pkgdir/usr"