Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 18th, 2013  |  syntax: None  |  size: 0.58 KB  |  views: 31  |  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-rpy2
  2. pkgver=2.3.0
  3. pkgrel=1
  4. pkgdesc="A simple, robust Python interface to the R Programming Language."
  5. arch=('i686' 'x86_64')
  6. url="http://rpy.sourceforge.net/"
  7. license=('MPL' 'GPL' 'LGPL')
  8. depends=('python2-numpy' 'r')
  9. source=("http://pypi.python.org/packages/source/r/rpy2/rpy2-$pkgver.tar.gz")
  10. md5sums=('ad140fc1a1280cf394e4d8dedbcfaaba')
  11.  
  12. package() {
  13.   cd "$srcdir/rpy2-$pkgver"
  14.   python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
  15.  
  16.   mkdir -p "$pkgdir/etc/ld.so.conf.d"
  17.   echo /usr/lib/R/lib > "$pkgdir/etc/ld.so.conf.d/rpy2-python2.conf"
  18. }
clone this paste RAW Paste Data