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

Felix Yan fyan at nymeria.archlinux.org
Sun Jun 22 09:16:43 UTC 2014


    Date: Sunday, June 22, 2014 @ 11:16:43
  Author: fyan
Revision: 215339

remove uneeded file from sed line

Modified:
  python2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-21 20:13:07 UTC (rev 215338)
+++ PKGBUILD	2014-06-22 09:16:43 UTC (rev 215339)
@@ -13,7 +13,7 @@
 license=('PSF')
 url="http://www.python.org/"
 depends=('bzip2' 'gdbm' 'openssl' 'zlib' 'expat' 'sqlite' 'libffi')
-makedepends=('tk>=8.6.0' 'bluez-libs')
+makedepends=('tk' 'bluez-libs')
 optdepends=('tk: for IDLE')
 conflicts=('python<3')
 source=(http://www.python.org/ftp/python/${pkgver%rc?}/Python-${pkgver}.tar.xz)
@@ -33,7 +33,7 @@
   sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python2|" Lib/cgi.py
 
   sed -i "s/python2.3/python2/g" Lib/distutils/tests/test_build_scripts.py \
-     Lib/distutils/tests/test_install_scripts.py Tools/scripts/gprof2html.py
+     Lib/distutils/tests/test_install_scripts.py
 
   # Ensure that we are using the system copy of various libraries (expat, zlib and libffi),
   # rather than copies shipped in the tarball
@@ -45,7 +45,7 @@
   find . -name '*.py' | \
     xargs sed -i "s|#[ ]*![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
 
-  # Workaround asdl_c.py error
+  # Workaround asdl_c.py error after we touched the shebangs
   touch Include/Python-ast.h Python/Python-ast.c
 }
 




More information about the arch-commits mailing list