Date: Saturday, April 8, 2023 @ 02:42:51
Author: felixonmars
Revision: 1441502
archrelease: copy trunk to community-staging-any
Added:
sagetex/repos/community-staging-any/
sagetex/repos/community-staging-any/PKGBUILD
(from rev 1441501, sagetex/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: sagetex/repos/community-staging-any/PKGBUILD (from rev 1441501,
sagetex/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 02:42:51 UTC (rev 1441502)
@@ -0,0 +1,23 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=sagetex
+pkgver=3.6.1
+pkgrel=3
+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)
+makedepends=(python-build python-installer python-wheel)
+source=(https://github.com/sagemath/sagetex/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('c05f5c6470afdede829d9f9ff10a6bbe9452e5af130d4a14a4b3bc1238f140f4')
+
+build() {
+ cd $pkgname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}