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

Maxime Gauduin alucryd at archlinux.org
Tue Jan 10 17:25:46 UTC 2017


    Date: Tuesday, January 10, 2017 @ 17:25:44
  Author: alucryd
Revision: 206608

upgpkg: python-munkres 1.0.9-1

Modified:
  python-munkres/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-10 17:17:53 UTC (rev 206607)
+++ PKGBUILD	2017-01-10 17:25:44 UTC (rev 206608)
@@ -17,6 +17,10 @@
 prepare() {
   mv {,python-}munkres-release-${pkgver}
   cp -r python{,2}-munkres-release-${pkgver}
+
+  cd python2-munkres-release-${pkgver}
+
+  sed 's|#!.*python$|#!/usr/bin/env python2|' -i $(grep -rl '#!.*python$')
 }
 
 build() {



More information about the arch-commits mailing list