[arch-commits] Commit in python2-rpy2 (5 files)

Antonio Rojas arojas at archlinux.org
Sat Aug 19 18:01:04 UTC 2017


    Date: Saturday, August 19, 2017 @ 18:01:03
  Author: arojas
Revision: 252584

archrelease: copy trunk to community-i686, community-x86_64

Added:
  python2-rpy2/repos/
  python2-rpy2/repos/community-i686/
  python2-rpy2/repos/community-i686/PKGBUILD
    (from rev 252583, python2-rpy2/trunk/PKGBUILD)
  python2-rpy2/repos/community-x86_64/
  python2-rpy2/repos/community-x86_64/PKGBUILD
    (from rev 252583, python2-rpy2/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   31 +++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   31 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: python2-rpy2/repos/community-i686/PKGBUILD (from rev 252583, python2-rpy2/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2017-08-19 18:01:03 UTC (rev 252584)
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 231390 2017-05-30 17:11:33Z arojas $
+# 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=python2-rpy2
+pkgver=2.8.6
+pkgrel=2
+pkgdesc="A very simple, yet robust, Python interface to the R Programming Language."
+arch=(i686 x86_64)
+url="http://rpy.sourceforge.net/"
+license=(MPL GPL LGPL)
+depends=(python2-numpy r)
+makedepends=(python2-setuptools)
+source=("https://pypi.io/packages/source/r/rpy2/rpy2-$pkgver.tar.gz")
+sha256sums=('004d13734a7b9a85cbc1e7a93ec87df741e28db1273ab5b0d9efaac04a9c5f98')
+
+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
+
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i "$pkgdir"/usr/lib/python2.7/site-packages/rpy2/tests.py
+}

Copied: python2-rpy2/repos/community-x86_64/PKGBUILD (from rev 252583, python2-rpy2/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2017-08-19 18:01:03 UTC (rev 252584)
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 231390 2017-05-30 17:11:33Z arojas $
+# 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=python2-rpy2
+pkgver=2.8.6
+pkgrel=2
+pkgdesc="A very simple, yet robust, Python interface to the R Programming Language."
+arch=(i686 x86_64)
+url="http://rpy.sourceforge.net/"
+license=(MPL GPL LGPL)
+depends=(python2-numpy r)
+makedepends=(python2-setuptools)
+source=("https://pypi.io/packages/source/r/rpy2/rpy2-$pkgver.tar.gz")
+sha256sums=('004d13734a7b9a85cbc1e7a93ec87df741e28db1273ab5b0d9efaac04a9c5f98')
+
+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
+
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i "$pkgdir"/usr/lib/python2.7/site-packages/rpy2/tests.py
+}



More information about the arch-commits mailing list