diff mbox

[4/5] gnu: python-sphinx: Update to 1.4.4.

Message ID fdbd8eca2b53e88ea272f4bd06d37c2c9554c59c.1467421111.git.leo@famulari.name
State New
Headers show

Commit Message

Leo Famulari July 2, 2016, 1:04 a.m. UTC
* gnu/packages/python.scm (python-sphinx, python2-sphinx): Update to 1.4.4.
[source]: Use pypi-uri.
[inputs]: Add python-alabaster, python-babel, python-imagesize, python-six.
[propagated-inputs]: New field.
---
 gnu/packages/python.scm | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

Comments

Ludovic Courtès July 3, 2016, 9:57 p.m. UTC | #1
Leo Famulari <leo@famulari.name> skribis:

> * gnu/packages/python.scm (python-sphinx, python2-sphinx): Update to 1.4.4.
> [source]: Use pypi-uri.
> [inputs]: Add python-alabaster, python-babel, python-imagesize, python-six.
> [propagated-inputs]: New field.

[...]

> +    (propagated-inputs
> +     `(("python-pytz" ,python-pytz)
> +       ("python-snowballstemmer" ,python-snowballstemmer)))

Please put the explanation for the propagation as a comment here (I
assume installed .py files “import” modules from these two packages.)

OK with this change!

Ludo’.
diff mbox

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 73312e8..fd4cc3d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2658,22 +2658,29 @@  reStructuredText.")
 (define-public python-sphinx
   (package
     (name "python-sphinx")
-    (version "1.2.3")
+    (version "1.4.4")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://pypi.python.org/packages/source/S/Sphinx/Sphinx-"
-             version ".tar.gz"))
+       (uri (pypi-uri "Sphinx" version))
        (sha256
         (base32
-         "011xizm3jnmf4cvs5i6kgf6c5nn046h79i8j0vd0f27yw9j3p4wl"))))
+         "185zklh44fhrwp1dg6251g3w6zmssh5jzvbz8pvmkg9l6wvxdzry"))))
     (build-system python-build-system)
     (inputs
-     `(("python-setuptools" ,python-setuptools)
-       ("python-jinja2" ,python-jinja2)
+     `(
+       ("python-alabaster" ,python-alabaster)
+       ("python-babel" ,python-babel)
        ("python-docutils" ,python-docutils)
-       ("python-pygments" ,python-pygments)))
+       ("python-imagesize" ,python-imagesize)
+       ("python-jinja2" ,python-jinja2)
+       ("python-pygments" ,python-pygments)
+       ("python-pytz" ,python-pytz)
+       ("python-setuptools" ,python-setuptools)
+       ("python-six" ,python-six)))
+    (propagated-inputs
+     `(("python-pytz" ,python-pytz)
+       ("python-snowballstemmer" ,python-snowballstemmer)))
     (home-page "http://sphinx-doc.org/")
     (synopsis "Python documentation generator")
     (description "Sphinx is a tool that makes it easy to create documentation