[arch-commits] Commit in sagemath-doc/trunk (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Mon May 16 07:09:47 UTC 2022


    Date: Monday, May 16, 2022 @ 07:09:46
  Author: arojas
Revision: 1207521

Update to 9.6

Modified:
  sagemath-doc/trunk/PKGBUILD
Deleted:
  sagemath-doc/trunk/sagemath-doc-sphinx-warnings.patch

------------------------------------+
 PKGBUILD                           |   14 +++++---------
 sagemath-doc-sphinx-warnings.patch |   14 --------------
 2 files changed, 5 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-16 07:07:27 UTC (rev 1207520)
+++ PKGBUILD	2022-05-16 07:09:46 UTC (rev 1207521)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=sagemath-doc
-pkgver=9.5
+pkgver=9.6
 pkgrel=1
 pkgdesc='HTML documentation for SageMath'
 arch=(any)
@@ -8,11 +8,9 @@
 url='http://www.sagemath.org'
 license=(GPL)
 depends=(gap-doc python-pplpy)
-makedepends=(sagemath python-pyzmq python-docutils python-jupyter_client python-pkgconfig cython python-ipywidgets thebe)
-source=(https://github.com/sagemath/sage/archive/$pkgver/sagemath-$pkgver.tar.gz
-        sagemath-doc-sphinx-warnings.patch)
-sha256sums=('8d70a3b26080802c5b2e33dda4c23795d494d8216a0c2ecfcd608ebab0e64ff6'
-            'ad801c3eb554879bbef764dcef5356d385eeddd16e9acbd1959002502457df17')
+makedepends=(sagemath python-pyzmq python-docutils python-jupyter_client python-pkgconfig cython python-jupyter-sphinx)
+source=(https://github.com/sagemath/sage/archive/$pkgver/sagemath-$pkgver.tar.gz)
+sha256sums=('c6225d48f70ac955fceed5c1fddfdd7294001d460b43a686329d5d44d836f6a3')
 options=(!strip) # nothing to strip, save packaging time
 
 prepare() {
@@ -20,8 +18,6 @@
 
   SAGE_ROOT="$PWD" PATH="$PWD/build/bin:$PATH" src/doc/bootstrap
   rm -r src/sage # Use the installed sage, not the one from the source tree
-
-  patch -p1 -i ../sagemath-doc-sphinx-warnings.patch # Fix warnings with recent Sphinx
 }
 
 build() {
@@ -31,7 +27,7 @@
          SAGE_DOC="$PWD"/doc \
          MATHJAX_DIR=/usr/share/mathjax2 \
          SAGE_NUM_THREADS=10 \
-         LANG=C
+         LANGUAGE=C
   python -m sage_docbuild --no-pdf-links --mathjax all html
 }
 

Deleted: sagemath-doc-sphinx-warnings.patch
===================================================================
--- sagemath-doc-sphinx-warnings.patch	2022-05-16 07:07:27 UTC (rev 1207520)
+++ sagemath-doc-sphinx-warnings.patch	2022-05-16 07:09:46 UTC (rev 1207521)
@@ -1,14 +0,0 @@
-diff --git a/src/sage_docbuild/sphinxbuild.py b/src/sage_docbuild/sphinxbuild.py
-index d917c3e9d4..7e85a723ab 100644
---- a/src/sage_docbuild/sphinxbuild.py
-+++ b/src/sage_docbuild/sphinxbuild.py
-@@ -110,7 +110,8 @@ class SageSphinxLogger(object):
-             re.compile('WARNING: Any IDs not assiend for figure node'),
-             re.compile('WARNING: .* is not referenced'),
-             re.compile('WARNING: Build finished'),
--            re.compile('WARNING: rST localisation for language .* not found')
-+            re.compile('WARNING: rST localisation for language .* not found'),
-+            re.compile('WARNING: hardcoded link .*')
-         )
-         # The warning "unknown config value 'multidoc_first_pass'..."
-         # should only appear when building the documentation for a



More information about the arch-commits mailing list