[arch-commits] Commit in python-rpy2/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Jul 23 17:12:19 UTC 2018
Date: Monday, July 23, 2018 @ 17:12:19
Author: foutrelis
Revision: 363182
archrelease: copy trunk to community-staging-x86_64
Added:
python-rpy2/repos/community-staging-x86_64/
python-rpy2/repos/community-staging-x86_64/PKGBUILD
(from rev 363181, python-rpy2/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-rpy2/repos/community-staging-x86_64/PKGBUILD (from rev 363181, python-rpy2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-23 17:12:19 UTC (rev 363182)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
+# Contributor: David Scholl <djscholl at gmail.com>
+# Contributor: David Pretty <david.pretty at gmail.com>
+
+pkgname=python-rpy2
+pkgver=2.9.4
+pkgrel=2
+pkgdesc="A very simple, yet robust, Python interface to the R Programming Language."
+arch=(x86_64)
+url="http://rpy.sourceforge.net/"
+license=(MPL GPL LGPL)
+depends=(python-numpy r)
+makedepends=(python-setuptools)
+source=("https://pypi.io/packages/source/r/rpy2/rpy2-$pkgver.tar.gz")
+sha256sums=('be57f741d0c284b5d8785ab03dff0e829303e5ac30e548d5ceb46e05b168812e')
+
+prepare() {
+ cd rpy2-$pkgver
+ sed -i "s:Rlapack:lapack:" setup.py
+ sed -i "s:os.path.join(RHOME.strip(), 'include'):'/usr/include/R':" setup.py
+ sed -i "s:os.path.join(RHOME.strip(), 'include'):'/usr/include/R':" setup.py
+}
+
+package() {
+ cd rpy2-$pkgver
+
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list