Date: Wednesday, April 9, 2014 @ 01:30:19 Author: dwallace Revision: 108988
upgpkg: salt-api 0.8.4.1-1 newpkg: salt-api 0.8.4.1 Modified: salt-api/trunk/PKGBUILD ----------+ PKGBUILD | 5 +++++ 1 file changed, 5 insertions(+) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-04-08 23:26:50 UTC (rev 108987) +++ PKGBUILD 2014-04-08 23:30:19 UTC (rev 108988) @@ -20,6 +20,11 @@ sha256sums=('b733534a1de80602d89938be9c328cd83b9cf27b69bc0ffa661e17369b7c5dd6' 'b28b93928a5210a3340ad420f8b9b372fb22888b3765238796331f59c6d681c3') +prepare(){ + find $srcdir/$pkgname-$pkgver -type f -name '*.py' | xargs sed -i '1s/python$/&2/' +} + + build() { cd "$srcdir/$pkgname-$pkgver" python2 setup.py build