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

Antonio Rojas arojas at gemini.archlinux.org
Sun Jan 30 18:34:04 UTC 2022


    Date: Sunday, January 30, 2022 @ 18:34:04
  Author: arojas
Revision: 1120647

Update to 9.5

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

------------------------------------+
 PKGBUILD                           |   10 +++++++---
 sagemath-doc-sphinx-warnings.patch |   14 ++++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-30 18:33:46 UTC (rev 1120646)
+++ PKGBUILD	2022-01-30 18:34:04 UTC (rev 1120647)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=sagemath-doc
-pkgver=9.4
+pkgver=9.5
 pkgrel=1
 pkgdesc='HTML documentation for SageMath'
 arch=(any)
@@ -9,8 +9,10 @@
 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)
-sha256sums=('47190f37e679c2483dadc13112595bacb399dfe4c4a0cde18d3627f5b2db0ea5')
+source=(https://github.com/sagemath/sage/archive/$pkgver/sagemath-$pkgver.tar.gz
+        sagemath-doc-sphinx-warnings.patch)
+sha256sums=('8d70a3b26080802c5b2e33dda4c23795d494d8216a0c2ecfcd608ebab0e64ff6'
+            'ad801c3eb554879bbef764dcef5356d385eeddd16e9acbd1959002502457df17')
 options=(!strip) # nothing to strip, save packaging time
 
 prepare() {
@@ -18,6 +20,8 @@
 
   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() {

Added: sagemath-doc-sphinx-warnings.patch
===================================================================
--- sagemath-doc-sphinx-warnings.patch	                        (rev 0)
+++ sagemath-doc-sphinx-warnings.patch	2022-01-30 18:34:04 UTC (rev 1120647)
@@ -0,0 +1,14 @@
+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