~ruther/guix-local

c24223714ec4203d4c9f25dcfd109c5810c6880d — Hugo Buddelmeijer 2 months ago 952213a
gnu: python-sphinx-autoapi: Update to 3.6.1.

* gnu/packages/sphinx.scm (python-sphinx-autoapi): Update to 3.6.1.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Disable test that requires network.
[propagated-inputs]: Remove python-unidecode.
[native-inputs]: Remove python-setuptools, python-sphinx, and python-wheel; add
nss-certs-for-test, python-beautifulsoup4, python-flit-core, and
python-pytest.

Change-Id: I7e3d71a71b2316953559cdd9cdc4ac8d157571f7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 22 insertions(+), 10 deletions(-)

M gnu/packages/sphinx.scm
M gnu/packages/sphinx.scm => gnu/packages/sphinx.scm +22 -10
@@ 1542,21 1542,33 @@ community.")
(define-public python-sphinx-autoapi
  (package
    (name "python-sphinx-autoapi")
    (version "2.0.1") ;higher versions require Sphinx >= 5.2.0
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "sphinx-autoapi" version))
              (sha256
               (base32
                "1fmss6ihjjx22nmjzy7qiapj1f2b86gd1vycn3zg8lh8q9l7kx6d"))))
    (version "3.6.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/readthedocs/sphinx-autoapi")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "194qvzzlzdwb8vwv95adjzb81d2n1wi4q8d00m0vbqg5njzfp9vm"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-setuptools python-sphinx python-wheel))
    (arguments
     (list
      ;; tests: 318 passed, 1 skipped, 1 deselected
      ;; Deselect test that requires internet connection.
      #:test-flags
      #~(list"-k" "not TestPipeUnionModule")))
    (native-inputs
     (list nss-certs-for-test
           python-beautifulsoup4
           python-flit-core
           python-pytest))
    (propagated-inputs
     (list python-astroid
           python-jinja2
           python-pyyaml
           python-sphinx
           python-unidecode))
           python-sphinx))
    (home-page "https://github.com/readthedocs/sphinx-autoapi")
    (synopsis "Sphinx API documentation generator")
    (description