[arch-commits] Commit in python-rpy2/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Dec 26 09:19:25 UTC 2016


    Date: Monday, December 26, 2016 @ 09:19:24
  Author: arojas
Revision: 202603

workaround for python 3.6 build failure

Modified:
  python-rpy2/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-26 09:08:52 UTC (rev 202602)
+++ PKGBUILD	2016-12-26 09:19:24 UTC (rev 202603)
@@ -27,6 +27,7 @@
   depends=(python2-numpy r python2-singledispatch)
   cd rpy2-$pkgver
 
+  export CFLAGS+=" -DHAVE_UINTPTR_T=1" # workaround for https://bitbucket.org/rpy2/rpy2/issues/389/failed-to-compile-with-python-360-on-32
   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
 }
@@ -34,7 +35,7 @@
 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