Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 22nd, 2013  |  syntax: None  |  size: 0.71 KB  |  hits: 28  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }