# 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.4.5
pkgrel=1
pkgdesc='A very simple, yet robust, Python interface to the R Programming Language'
arch=(x86_64)
url='https://rpy2.github.io/'
license=(MPL GPL LGPL)
depends=(python-cffi 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=('5d31a5ea43f5a59f6dec30faca87edb01fc9b8affa0beae96a99be923bd7dab3')

package() {
  cd rpy2-$pkgver

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