Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
sagemath-doc
Commits:
7f5c2aff by Antonio Rojas at 2026-02-03T22:11:11+01:00
Drop no longer needed patch
- - - - -
2 changed files:
- PKGBUILD
- − warnings.patch
Changes:
=====================================
PKGBUILD
=====================================
@@ -22,19 +22,10 @@ makedepends=(boost
python-sphinx-furo
python-sphinx-inline-tabs
sagemath)
-source=(git+https://github.com/sagemath/sage#tag=$pkgver
- warnings.patch)
-sha256sums=('d7d73c956b6930c0716841565f3d1dd29e21dba2e2ed28b6ff11391d7776e9c3'
- '06ce501d3be154f854bdbabd57f79287aec6b7d1b0ddf3abb904c68f79d51464')
+source=(git+https://github.com/sagemath/sage#tag=$pkgver)
+sha256sums=('d7d73c956b6930c0716841565f3d1dd29e21dba2e2ed28b6ff11391d7776e9c3')
options=(!strip) # nothing to strip, save packaging time
-prepare() {
- cd sage
-
-# Fix build errors due to missing pyx sources
- patch -p1 -i ../warnings.patch
-}
-
build() {
meson setup sage build
meson compile -C build doc-html
=====================================
warnings.patch deleted
=====================================
@@ -1,14 +0,0 @@
-diff --git a/src/sage_docbuild/sphinxbuild.py
b/src/sage_docbuild/sphinxbuild.py
-index 62b2d3cb112..df4665982e8 100644
---- a/src/sage_docbuild/sphinxbuild.py
-+++ b/src/sage_docbuild/sphinxbuild.py
-@@ -107,7 +107,8 @@ class SageSphinxLogger():
- 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: error while formatting arguments for .*')
- )
- # The warning "unknown config value 'multidoc_first_pass'..."
- # should only appear when building the documentation for a
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/sagemath-doc/-/commit/7f5c2affbc2b9a522db1a89ca3f4c0f2bad230cf
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/sagemath-doc/-/commit/7f5c2affbc2b9a522db1a89ca3f4c0f2bad230cf
You're receiving this email because of your account on gitlab.archlinux.org.