Date: Wednesday, December 24, 2014 @ 00:32:24
Author: arojas
Revision: 124491
python -> python2
Modified:
sagetex/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++++
1 file changed, 7 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-23 23:28:01 UTC (rev 124490)
+++ PKGBUILD 2014-12-23 23:32:24 UTC (rev 124491)
@@ -13,6 +13,13 @@
install=$pkgname.install
md5sums=('55d2293116a391631daaf7847e618646')
+prepare() {
+ cd $pkgname-$pkgver
+
+# use python2
+ find -name '*.py' | xargs sed -e 's|#!/usr/bin/env python|#!/usr/bin/env
python2|' -i
+}
+
package() {
cd $pkgname-$pkgver