Date: Sunday, January 6, 2019 @ 06:59:26 Author: arojas Revision: 420707
archrelease: copy trunk to community-any Added: sagetex/repos/community-any/PKGBUILD (from rev 420706, sagetex/trunk/PKGBUILD) Deleted: sagetex/repos/community-any/PKGBUILD ----------+ PKGBUILD | 51 +++++++++++++++++++++++++-------------------------- 1 file changed, 25 insertions(+), 26 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-06 06:59:00 UTC (rev 420706) +++ PKGBUILD 2019-01-06 06:59:26 UTC (rev 420707) @@ -1,26 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> - -pkgname=sagetex -pkgver=3.0 -pkgrel=3 -pkgdesc='Allows to embed code, results of computations, and plots from SageMath into LaTeX documents' -arch=('any') -url='https://github.com/dandrake/sagetex' -license=('GPL2') -depends=('sagemath' 'texlive-core') -makedepends=('python2') -source=("http://mirrors.mit.edu/sage/spkg/upstream/sagetex/$pkgname-$pkgver.tar.gz") -md5sums=('89f539ac31dd35555eb4f7959280ff89') - -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 -} Copied: sagetex/repos/community-any/PKGBUILD (from rev 420706, sagetex/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-06 06:59:26 UTC (rev 420707) @@ -0,0 +1,25 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=sagetex +pkgver=3.1 +pkgrel=1 +pkgdesc='Allows to embed code, results of computations, and plots from SageMath into LaTeX documents' +arch=(any) +url='https://github.com/sagemath/sagetex' +license=(GPL2) +depends=(sagemath texlive-core) +source=("https://github.com/sagemath/sagetex/releases/download/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('8840da603f7200a625620b5af5578160261d6e9474f9c10fec99f6bc1f1f6398') + +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 +}