~ruther/guix-local

b5f84b25cfdb45aba18fe36fe501574d2fc527f2 — Sharlatan Hellseher 10 months ago 4b34e50
gnu: Remove python-sphinx-5.

Sphinx@5 is no longer required, fails to build.

* gnu/packages/sphinx.scm (python-sphinx-5): Delete variable.

Change-Id: I76ac2ced2c652ca1b313d246610919ccee5588f2
1 files changed, 0 insertions(+), 105 deletions(-)

M gnu/packages/sphinx.scm
M gnu/packages/sphinx.scm => gnu/packages/sphinx.scm +0 -105
@@ 273,111 273,6 @@ sources.")
           (texlive-local-tree
            (list texlive-anyfontsize texlive-cm-super texlive-tex-gyre))))))

(define-public python-sphinx-5
  (package
    (inherit python-sphinx)
    (version "5.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "Sphinx" version))
       (sha256
        (base32
         "1dclwwz5rsvlw5rzyad1ar7i0zh4csni6jfp0lyc37zzm7h6s0ji"))))
    (arguments
     (list
      #:test-flags
      ;; These require Internet access.
      '(list "--ignore=tests/test_build_linkcheck.py"
             "-k"
             (string-append
              "not test_latex_images"
              ;; XXX: Not clear why this fails with a version comparison
              ;; failure.
              " and not test_needs_sphinx"
              ;; This fails on some machines with the failed assertion
              ;; '5:11:17\u202fAM' == '5:11:17 AM'.
              " and not test_format_date"
              ;; This is a harmless failure.  The expected output looks for a
              ;; long string that happens to contain a literal space
              ;; character, but in the actual output the space character is
              ;; wrapped in <span class="w"> </span>.
              " and not test_viewcode"
              ;; These fail with pygments 2.10+.  They are harmless.
              " and not test_additional_targets_should_not_be_translated"
              " and not test_additional_targets_should_be_translated"
              ;; As in Sphinx@6:
              ;; AssertionError: assert...list of weak references to the object...
              " and not test_autodoc_default_options"))
      #: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-html5lib
           python-imagesize
           python-importlib-metadata
           python-jinja2
           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-scheme-basic         ;for a valid TeX Live tree
           texlive-anyfontsize
           texlive-capt-of
           texlive-cm-super
           texlive-cmap
           texlive-etoolbox
           texlive-fancyvrb
           texlive-float
           texlive-fncychap
           texlive-fontspec
           texlive-framed
           texlive-luatex85
           texlive-luatexbase
           texlive-needspace
           texlive-parskip
           texlive-polyglossia
           texlive-preview
           texlive-tabulary
           texlive-tex-gyre
           texlive-titlesec
           texlive-upquote
           texlive-varwidth
           texlive-wrapfig
           texlive-xcolor))
    (native-inputs
     (list fontconfig
           font-gnu-freefont
           ;; imagemagick is added for "convert".  The store item does not
           ;; retain a reference to imagemagick, so it should be safe to use
           ;; 'imagemagick/stable' instead of 'imagemagick'.  This is enforced
           ;; by the '#:disallowed-references' above.
           imagemagick/stable
           python-cython
           python-flit-core
           python-pytest
           (texlive-local-tree
            (list texlive-anyfontsize texlive-cm-super texlive-tex-gyre))))))

(define-public python-sphinxcontrib-apidoc
  (package
    (name "python-sphinxcontrib-apidoc")