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

Stéphane Gaudreault stephane at archlinux.org
Sun Sep 12 03:50:06 UTC 2010


    Date: Saturday, September 11, 2010 @ 23:50:06
  Author: stephane
Revision: 90503

upgpkg: pylint 0.21.2-1
depend on python2

Modified:
  pylint/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-12 03:31:45 UTC (rev 90502)
+++ PKGBUILD	2010-09-12 03:50:06 UTC (rev 90503)
@@ -9,7 +9,7 @@
 arch=('any')
 url="http://www.logilab.org/project/pylint"
 license=('GPL')
-depends=('python-logilab-astng')
+depends=('python-logilab-astng' 'python2')
 optdepends=('tk: Pylint GUI')
 source=("http://ftp.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz")
 md5sums=('8b61adb9def27b5ace7d611bcc91e020')
@@ -21,6 +21,7 @@
 
   install -d "${pkgdir}/usr/share/man/man1"
   install -m644 man/* "${pkgdir}/usr/share/man/man1"
+  sed -i "s/\#\!\/usr\/bin\/env python/\#\!\/usr\/bin\/env python2/g" ${pkgdir}/usr/lib/python2.6/site-packages/pylint/epylint.py
 }
 
 # vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent




More information about the arch-commits mailing list