[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/40: gnu: python-sphinx: Update to 6.2.1.
From: |
guix-commits |
Subject: |
17/40: gnu: python-sphinx: Update to 6.2.1. |
Date: |
Wed, 3 Apr 2024 16:04:26 -0400 (EDT) |
rekado pushed a commit to branch python-team
in repository guix.
commit 6918d68dd00c7226bb07c9b21d13699e16a80451
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Feb 26 17:50:45 2024 +0100
gnu: python-sphinx: Update to 6.2.1.
* gnu/packages/sphinx.scm (python-sphinx): Update to 6.2.1.
[arguments]: Only disable one test.
[propagated-inputs]: Add texlive-booktabs.
(python-sphinx-5): New variable, inherit from python-sphinx.
Change-Id: I95144924c4c0f293993bfbd7b644c378dd160077
---
gnu/packages/sphinx.scm | 100 ++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 92 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 0aafd380ce..a98840f22e 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -65,6 +65,97 @@
(define-public python-sphinx
(package
(name "python-sphinx")
+ (version "6.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Sphinx" version))
+ (sha256
+ (base32
+ "0sycp5qx7py75fvmjz0av5awfdlqn72azzjj07x9yx5vjx3a6mkd"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; These require Internet access.
+ '(list "-k" "not test_latex_images")
+ #:phases
+ '(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; for test_cython
+ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs
+ (list python-babel
+ python-colorama
+ python-docutils
+ python-filelock
+ python-flake8
+ python-html5lib
+ python-imagesize
+ python-importlib-metadata
+ python-isort
+ python-jinja2
+ python-mypy
+ python-packaging
+ python-pygments
+ python-requests
+ python-snowballstemmer
+ python-sphinx-alabaster-theme
+ python-sphinxcontrib-applehelp
+ python-sphinxcontrib-devhelp
+ python-sphinxcontrib-htmlhelp
+ python-sphinxcontrib-jsmath
+ python-sphinxcontrib-qthelp
+ python-sphinxcontrib-serializinghtml
+ python-sphinxcontrib-websupport
+ python-types-requests
+
+ ;; The Sphinx LaTeX library '\RequirePackage' or \\usepackage
+ ;; these:
+ texlive-amsfonts ;amsmath, amssymb, amstext
+ texlive-amsmath
+ texlive-booktabs
+ texlive-capt-of
+ texlive-carlisle ;remreset
+ texlive-cmap
+ texlive-etoolbox
+ texlive-fancyhdr
+ texlive-fancyvrb
+ texlive-float
+ texlive-fncychap
+ texlive-framed
+ texlive-geometry
+ texlive-hyperref
+ texlive-kvoptions
+ texlive-latex-bin
+ texlive-ltxcmds
+ texlive-needspace
+ texlive-oberdiek ;hypcap
+ texlive-parskip
+ texlive-preview
+ texlive-tabulary
+ texlive-titlesec
+ texlive-tools ;multicol, longtable
+ texlive-upquote
+ texlive-varwidth
+ texlive-wrapfig
+ texlive-xcolor))
+ (native-inputs
+ (list imagemagick ;for "convert"
+ python-cython
+ python-flit-core
+ python-pytest))
+ (home-page "https://www.sphinx-doc.org")
+ (synopsis "Python documentation generator")
+ (description "Sphinx is a tool that makes it easy to create documentation
+for Python projects or other documents consisting of multiple reStructuredText
+sources.")
+ (license license:bsd-2)))
+
+(define-public python-sphinx-5
+ (package
+ (inherit python-sphinx)
(version "5.3.0")
(source
(origin
@@ -73,7 +164,6 @@
(sha256
(base32
"1dclwwz5rsvlw5rzyad1ar7i0zh4csni6jfp0lyc37zzm7h6s0ji"))))
- (build-system pyproject-build-system)
(arguments
(list
#:test-flags
@@ -150,13 +240,7 @@
(list imagemagick ;for "convert"
python-cython
python-flit-core
- python-pytest))
- (home-page "https://www.sphinx-doc.org")
- (synopsis "Python documentation generator")
- (description "Sphinx is a tool that makes it easy to create documentation
-for Python projects or other documents consisting of multiple reStructuredText
-sources.")
- (license license:bsd-2)))
+ python-pytest))))
;; Some packages do not support Sphinx 5 yet. Remove when unused.
(define-public python-sphinx-4
- 35/40: gnu: python-packaging-bootstrap: Update to 23.2., (continued)
- 35/40: gnu: python-packaging-bootstrap: Update to 23.2., guix-commits, 2024/04/03
- 06/40: build-system/python: Ignore symlinks when changing mtime., guix-commits, 2024/04/03
- 19/40: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/04/03
- 23/40: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/04/03
- 16/40: gnu: Add missing import (again)., guix-commits, 2024/04/03
- 27/40: gnu: python-lightning-cloud: Disable tests., guix-commits, 2024/04/03
- 11/40: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/04/03
- 09/40: guix: toml: Add TOML parser., guix-commits, 2024/04/03
- 13/40: doc: Document new options for pyproject-build-system., guix-commits, 2024/04/03
- 26/40: gnu: python-myst-parser: Relax some requirements., guix-commits, 2024/04/03
- 17/40: gnu: python-sphinx: Update to 6.2.1.,
guix-commits <=
- 29/40: gnu: python-argcomplete: Update to 3.2.2., guix-commits, 2024/04/03
- 20/40: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/04/03
- 38/40: gnu: python-argcomplete: Add missing input., guix-commits, 2024/04/03
- 21/40: gnu: python-markdown-it-py: Update to 3.0.0., guix-commits, 2024/04/03
- 36/40: gnu: python-readme-renderer: Update to 37.3., guix-commits, 2024/04/03
- 32/40: gnu: python-ipython: Update to 8.22.1., guix-commits, 2024/04/03
- 40/40: gnu: java-testng: Disable one test., guix-commits, 2024/04/03
- 37/40: gnu: python-eventlet: Update to 0.35.2., guix-commits, 2024/04/03
- 18/40: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/04/03
- 33/40: gnu: Add python-rapidfuzz., guix-commits, 2024/04/03