diff mbox series

[bug#63301,v2] gnu: python-sphinx-4: Fix sanity-check failure

Message ID 20230506032248.7576-1-zongyuan.li@c0x0o.me
State New
Headers show
Series [bug#63301,v2] gnu: python-sphinx-4: Fix sanity-check failure | expand

Commit Message

Zongyuan Li May 6, 2023, 3:23 a.m. UTC
* gnu/packages/sphinx.scm (python-sphinx-4)[propagated-inputs]:
  Downgrades python-docutils to v0.15

Changes since v1:
* Use 'propagated-inputs' rather than 'inputs'
---
 gnu/packages/sphinx.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Maxim Cournoyer May 7, 2023, 3:41 p.m. UTC | #1
Hi,

Zongyuan Li <zongyuan.li@c0x0o.me> writes:

> * gnu/packages/sphinx.scm (python-sphinx-4)[propagated-inputs]:
>   Downgrades python-docutils to v0.15
>
> Changes since v1:
> * Use 'propagated-inputs' rather than 'inputs'
> ---
>  gnu/packages/sphinx.scm | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
> index ff124717e8..c0bf088daa 100644
> --- a/gnu/packages/sphinx.scm
> +++ b/gnu/packages/sphinx.scm
> @@ -155,7 +155,9 @@ (define-public python-sphinx-4
>                (uri (pypi-uri "Sphinx" version))
>                (sha256
>                 (base32
> -                "1rp28jryxwy24y8vpacclqihbizyi6b1s6id86pibvm46ybcmy3v"))))))
> +                "1rp28jryxwy24y8vpacclqihbizyi6b1s6id86pibvm46ybcmy3v"))))
> +    (propagated-inputs (modify-inputs (package-propagated-inputs python-sphinx)
> +                         (replace "python-docutils" python-docutils-0.15)))))
>  

Installed, thank you!
diff mbox series

Patch

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index ff124717e8..c0bf088daa 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -155,7 +155,9 @@  (define-public python-sphinx-4
               (uri (pypi-uri "Sphinx" version))
               (sha256
                (base32
-                "1rp28jryxwy24y8vpacclqihbizyi6b1s6id86pibvm46ybcmy3v"))))))
+                "1rp28jryxwy24y8vpacclqihbizyi6b1s6id86pibvm46ybcmy3v"))))
+    (propagated-inputs (modify-inputs (package-propagated-inputs python-sphinx)
+                         (replace "python-docutils" python-docutils-0.15)))))
 
 (define-public python-sphinxcontrib-apidoc
   (package