[arch-commits] Commit in sagetex/repos/community-any (4 files)

Antonio Rojas arojas at archlinux.org
Wed Apr 27 07:15:53 UTC 2016


    Date: Wednesday, April 27, 2016 @ 09:15:52
  Author: arojas
Revision: 172014

archrelease: copy trunk to community-any

Added:
  sagetex/repos/community-any/PKGBUILD
    (from rev 172013, sagetex/trunk/PKGBUILD)
  sagetex/repos/community-any/sagetex.install
    (from rev 172013, sagetex/trunk/sagetex.install)
Deleted:
  sagetex/repos/community-any/PKGBUILD
  sagetex/repos/community-any/sagetex.install

-----------------+
 PKGBUILD        |   55 +++++++++++++++++++++++++++---------------------------
 sagetex.install |   34 ++++++++++++++++-----------------
 2 files changed, 45 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-27 07:15:19 UTC (rev 172013)
+++ PKGBUILD	2016-04-27 07:15:52 UTC (rev 172014)
@@ -1,27 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=sagetex
-pkgver=2.3.4
-pkgrel=1
-pkgdesc='Allows to embed code, results of computations, and plots from Sage into LaTeX documents'
-arch=('any')
-url='http://www.sagemath.org'
-license=('GPL2')
-depends=('sage-mathematics' 'texlive-core')
-makedepends=('python2')
-source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2")
-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
-
-  python2 setup.py install --root "$pkgdir" --optimize=1
-}

Copied: sagetex/repos/community-any/PKGBUILD (from rev 172013, sagetex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-04-27 07:15:52 UTC (rev 172014)
@@ -0,0 +1,28 @@
+# $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
+}

Deleted: sagetex.install
===================================================================
--- sagetex.install	2016-04-27 07:15:19 UTC (rev 172013)
+++ sagetex.install	2016-04-27 07:15:52 UTC (rev 172014)
@@ -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

Copied: sagetex/repos/community-any/sagetex.install (from rev 172013, sagetex/trunk/sagetex.install)
===================================================================
--- sagetex.install	                        (rev 0)
+++ sagetex.install	2016-04-27 07:15:52 UTC (rev 172014)
@@ -0,0 +1,17 @@
+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