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

Antonio Rojas arojas at archlinux.org
Thu Jan 2 08:18:54 UTC 2020


    Date: Thursday, January 2, 2020 @ 08:18:53
  Author: arojas
Revision: 546016

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   43 ++++++++++++++++++-------------------------
 1 file changed, 18 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-02 08:18:33 UTC (rev 546015)
+++ PKGBUILD	2020-01-02 08:18:53 UTC (rev 546016)
@@ -1,25 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=sagetex
-pkgver=3.4
-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/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
-}

Copied: sagetex/repos/community-any/PKGBUILD (from rev 546015, sagetex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-02 08:18:53 UTC (rev 546016)
@@ -0,0 +1,18 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sagetex
+pkgver=3.4
+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'
+license=(GPL2)
+depends=(sagemath texlive-core)
+source=("https://github.com/sagemath/sagetex/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('32b4243313d79e61351da917024ca3e8e3caf14c06611676234f56af3e7fdf49')
+
+package() {
+  cd $pkgname-$pkgver
+
+  python setup.py install --root "$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list