[arch-commits] Commit in sagetex/repos/community-any (3 files)
Antonio Rojas
arojas at archlinux.org
Mon Aug 8 16:58:58 UTC 2016
Date: Monday, August 8, 2016 @ 16:58:58
Author: arojas
Revision: 186075
archrelease: copy trunk to community-any
Added:
sagetex/repos/community-any/PKGBUILD
(from rev 186074, sagetex/trunk/PKGBUILD)
Deleted:
sagetex/repos/community-any/PKGBUILD
sagetex/repos/community-any/sagetex.install
-----------------+
PKGBUILD | 55 ++++++++++++++++++++++++++----------------------------
sagetex.install | 17 ----------------
2 files changed, 27 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-08 16:58:37 UTC (rev 186074)
+++ PKGBUILD 2016-08-08 16:58:58 UTC (rev 186075)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=sagetex
-pkgver=3.0
-pkgrel=1
-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")
-install=$pkgname.install
-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 186074, sagetex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-08-08 16:58:58 UTC (rev 186075)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sagetex
+pkgver=3.0
+pkgrel=2
+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
+}
Deleted: sagetex.install
===================================================================
--- sagetex.install 2016-08-08 16:58:37 UTC (rev 186074)
+++ sagetex.install 2016-08-08 16:58:58 UTC (rev 186075)
@@ -1,17 +0,0 @@
-post_install() {
- # Update LaTeX db to point to SageTeX
- if [ -f /usr/bin/texhash ]; then
- /usr/bin/texhash /usr/share/texmf
- else
- echo 'Warning: could not find /usr/bin/texhash'
- echo 'SageTeX has been installed but you need to run:'
- echo '# texhash /usr/share/texmf'
- echo 'So that LaTeX will be able to find it.'
- fi
-}
-
-post_remove() {
- if [ -f /usr/bin/texhash ]; then
- /usr/bin/texhash /usr/share/texmf
- fi
-}
\ No newline at end of file
More information about the arch-commits
mailing list