Date: Thursday, January 2, 2020 @ 08:18:33 Author: arojas Revision: 546015
Switch to python3 (FS#65011) Modified: sagetex/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-01-02 04:53:13 UTC (rev 546014) +++ PKGBUILD 2020-01-02 08:18:33 UTC (rev 546015) @@ -2,7 +2,7 @@ pkgname=sagetex pkgver=3.4 -pkgrel=1 +pkgrel=2 pkgdesc='Allows to embed code, results of computations, and plots from SageMath into LaTeX documents' arch=(any) url='https://github.com/sagemath/sagetex' @@ -11,15 +11,8 @@ source=("https://github.com/sagemath/sagetex/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") sha256sums=('32b4243313d79e61351da917024ca3e8e3caf14c06611676234f56af3e7fdf49') -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 - python2 setup.py install --root "$pkgdir" --optimize=1 + python setup.py install --root "$pkgdir" --optimize=1 }
