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

Stéphane Gaudreault stephane at archlinux.org
Thu Dec 2 03:15:27 UTC 2010


    Date: Wednesday, December 1, 2010 @ 22:15:26
  Author: stephane
Revision: 101792

upgpkg: python2 2.7.1-2
fix missing dependecy on libffi

Modified:
  python2/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-02 00:22:26 UTC (rev 101791)
+++ PKGBUILD	2010-12-02 03:15:26 UTC (rev 101792)
@@ -4,13 +4,13 @@
 
 pkgname=python2
 pkgver=2.7.1
-pkgrel=1
+pkgrel=2
 _pybasever=2.7
 pkgdesc="A high-level scripting language"
 arch=('i686' 'x86_64')
 license=('PSF')
 url="http://www.python.org"
-depends=('db' 'bzip2' 'gdbm' 'openssl' 'zlib' 'expat' 'sqlite3')
+depends=('db' 'bzip2' 'gdbm' 'openssl' 'zlib' 'expat' 'sqlite3' 'libffi')
 makedepends=('tk')
 optdepends=('tk: for IDLE')
 conflicts=('python<3')
@@ -30,10 +30,8 @@
   rm -r Modules/expat
   rm -r Modules/zlib
   rm -r Modules/_ctypes/{darwin,libffi}*
-  sed -i "s/self.use_system_libffi = False/self.use_system_libffi = True/g" setup.py
 
   export OPT="${CFLAGS}"
-  export CPPFLAGS+="`pkg-config --cflags-only-I libffi`"
   ./configure --prefix=/usr --enable-shared --with-threads --enable-ipv6 \
               --enable-unicode=ucs4 --with-system-expat --with-system-ffi
 




More information about the arch-commits mailing list