updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / python-pymc-svn / PKGBUILD
blobe9cb88475b8fb0d2e32c8b88cf3e7cf4a7720601
1 # Contributor: Liming Wang <lmwang@gmail.com> 
2 pkgname=python-pymc-svn
3 pkgver=1198
4 pkgrel=1
5 pkgdesc="Markov chain Monte Carlo for Python"
6 arch=('i686')
7 url="http://pymc.googlecode.com/"
8 license=('MIT')
9 depends=('python-numpy>=1.2.0')
10 optdepends=('python-scipy', 'python-matplotlib', 'python-pytables', 'ipython', 'pydot', 'python-nose')
11 source=()
12 md5sums=()
14 _svntrunk=http://pymc.googlecode.com/svn/trunk
15 _svnmod=pymc
17 build() {
18   cd $startdir/src
19   if [ -d $_svnmod/.svn ]; then
20           (cd $_svnmod && svn up)
21   else
22           svn co $_svntrunk $_svnmod
23   fi
25   msg "SVN checkout done or server timeout"
27   cd $_svnmod
29   python setup.py build
30   python setup.py install --prefix=/usr --root=$startdir/pkg || return 1