~ruther/guix-local

aa2c544f6e68c956c1db30cb2096900942313586 — Nicolas Graves 4 months ago 973816c
gnu: python-guzzle-sphinx-theme: Switch to pyproject.

* gnu/packages/sphinx.scm (python-guzzle-sphinx-theme):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

Change-Id: I06da4737bc64626cb7745f3796835daa84ebaf50
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 17 insertions(+), 12 deletions(-)

M gnu/packages/sphinx.scm
M gnu/packages/sphinx.scm => gnu/packages/sphinx.scm +17 -12
@@ 1009,20 1009,25 @@ some related extensions.")
    (name "python-guzzle-sphinx-theme")
    (version "0.7.11")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "guzzle_sphinx_theme" version))
        (sha256
         (base32
          "1rnkzrrsbnifn3vsb4pfaia3nlvgvw6ndpxp7lzjrh23qcwid34v"))))
    (build-system python-build-system)
    (propagated-inputs
     (list python-sphinx))
     (origin
       ;; TODO Unbundle.
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/guzzle/guzzle_sphinx_theme")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "18mgk1rl1345zf9i7nihfw2mr609ylxcksrklyz6m2xbh19bbrja"))))
    (build-system pyproject-build-system)
    (arguments (list #:tests? #f))      ; No tests upstream.
    (native-inputs (list python-setuptools))
    (propagated-inputs (list python-sphinx))
    (home-page "https://github.com/guzzle/guzzle_sphinx_theme")
    (synopsis "Sphinx theme used by Guzzle")
    (description "This package provides guzzle_sphinx_theme, a theme for the
Sphinx documentation system, used by @uref{http://docs.guzzlephp.org, Guzzle}
and several other projects.")
    (description
     "This package provides guzzle_sphinx_theme, a theme for the Sphinx
documentation system, used by @uref{http://docs.guzzlephp.org, Guzzle} and
several other projects.")
    (license license:expat)))

(define-public python-mpl-sphinx-theme