[arch-commits] Commit in python-rpy2/repos (4 files)

Felix Yan fyan at archlinux.org
Sun Sep 20 02:27:54 UTC 2015


    Date: Sunday, September 20, 2015 @ 04:27:54
  Author: fyan
Revision: 141122

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

Added:
  python-rpy2/repos/community-staging-i686/
  python-rpy2/repos/community-staging-i686/PKGBUILD
    (from rev 141121, python-rpy2/trunk/PKGBUILD)
  python-rpy2/repos/community-staging-x86_64/
  python-rpy2/repos/community-staging-x86_64/PKGBUILD
    (from rev 141121, python-rpy2/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   40 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

Copied: python-rpy2/repos/community-staging-i686/PKGBUILD (from rev 141121, python-rpy2/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-20 02:27:54 UTC (rev 141122)
@@ -0,0 +1,40 @@
+# $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> 
+
+pkgbase=python-rpy2
+pkgname=(python2-rpy2 python-rpy2)
+pkgver=2.7.0
+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)
+makedepends=(python-setuptools python2-setuptools python-numpy python2-numpy r)
+source=("http://pypi.python.org/packages/source/r/rpy2/rpy2-$pkgver.tar.gz")
+md5sums=('afd9ea81a03640b60240b7d53518e652')
+
+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_python2-rpy2() {
+  depends=(python2-numpy r python2-singledispatch)
+  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
+}
+
+package_python-rpy2() {
+  depends=(python-numpy r)
+  cd rpy2-$pkgver
+  
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+

Copied: python-rpy2/repos/community-staging-x86_64/PKGBUILD (from rev 141121, python-rpy2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-20 02:27:54 UTC (rev 141122)
@@ -0,0 +1,40 @@
+# $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> 
+
+pkgbase=python-rpy2
+pkgname=(python2-rpy2 python-rpy2)
+pkgver=2.7.0
+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)
+makedepends=(python-setuptools python2-setuptools python-numpy python2-numpy r)
+source=("http://pypi.python.org/packages/source/r/rpy2/rpy2-$pkgver.tar.gz")
+md5sums=('afd9ea81a03640b60240b7d53518e652')
+
+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_python2-rpy2() {
+  depends=(python2-numpy r python2-singledispatch)
+  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
+}
+
+package_python-rpy2() {
+  depends=(python-numpy r)
+  cd rpy2-$pkgver
+  
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+



More information about the arch-commits mailing list