SHARE
TWEET

Untitled

a guest May 22nd, 2013 31 Never
  1. pkgname=python2-pymc
  2. pkgver=2.2
  3. pkgrel=1
  4. pkgdesc="Bayesian inference in Python"
  5. arch=('i686' 'x86_64')
  6. url="https://github.com/pymc-devs/pymc"
  7. makedepends=('gcc-fortran')
  8. depends=('python2-numpy>=1.4.0')
  9. optdepends=('python2-scipy' 'python2-matplotlib' 'python-pytables' 'ipython2' 'pydot' 'python-nose')
  10. license=('MIT')
  11. source=("http://pypi.python.org/packages/source/p/pymc/pymc-$pkgver.tar.gz")
  12. md5sums=('f94439b23cbfaf89a1bafb97bfc71b85')
  13.  
  14. build() {
  15.   cd "$srcdir/pymc-$pkgver"
  16.   export LDFLAGS="$LDFLAGS -shared"
  17.   python2 setup.py config_fc --fcompiler=gnu95 build
  18. }
  19.  
  20. package() {
  21.   cd "$srcdir/pymc-$pkgver"
  22.   python2 setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
  23. }
RAW Paste Data
Top