# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
# Contributor: David Scholl <djscholl@gmail.com> 
# Contributor: David Pretty <david.pretty@gmail.com> 

pkgname=python-rpy2
pkgver=3.1.0
pkgrel=2
pkgdesc="A very simple, yet robust, Python interface to the R Programming Language."
arch=(any)
url="https://rpy2.bitbucket.io/"
license=(MPL GPL LGPL)
depends=(python-numpy python-tzlocal r)
makedepends=(python-setuptools)
optdepends=('python-pandas: conversion between rpy and pandas')
source=("https://pypi.io/packages/source/r/rpy2/rpy2-$pkgver.tar.gz")
sha256sums=('ed4284df32d00b1fba5b1409e5df64b04b02d47aff543d6ef1dc211ab94e247f')

package() {
  cd rpy2-$pkgver

  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}
