From 4510aeb91ce6267a14c9cead768869553b3a2279 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 11 Mar 2020 17:46:04 +0100 Subject: gnu: python2-sphinx: Build with python-docutils@0.14. * gnu/packages/python-xyz.scm (python2-docutils-0.14): New public variable. * gnu/packages/sphinx.scm (python2-sphinx)[propagated-inputs]: Change from PYTHON2-DOCUTILS to PYTHON2-DOCUTILS-0.14. --- gnu/packages/python-xyz.scm | 12 ++++++++++++ gnu/packages/sphinx.scm | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8576b1ecf9..94eff2c85b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2703,6 +2703,18 @@ reStructuredText.") (define-public python2-docutils (package-with-python2 python-docutils)) +;; python2-sphinx fails its test suite with newer versions. +(define-public python2-docutils-0.14 + (package + (inherit python2-docutils) + (version "0.14") + (source (origin + (method url-fetch) + (uri (pypi-uri "docutils" version)) + (sha256 + (base32 + "0x22fs3pdmr42kvz6c654756wja305qv6cx1zbhwlagvxgr4xrji")))))) + (define-public python-pygments (package (name "python-pygments") diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 323d5b4457..ff5d8e5de7 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -137,7 +137,7 @@ sources.") ,python2-sphinx-alabaster-theme) ("python2-babel" ,python2-babel-2.6) ("python2-snowballstemmer" ,python2-snowballstemmer) - ("python2-docutils" ,python2-docutils) + ("python2-docutils" ,python2-docutils-0.14) ("python2-jinja2" ,python2-jinja2) ("python2-packaging" ,python2-packaging) ("python2-pygments" ,python2-pygments) -- cgit 1.4.1