summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-10-19 13:22:05 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-10-19 13:22:05 +0000
commitcff7415805a547c05a090f96938ca27aa65ab95f (patch)
tree9f1b8f241a44e2069d09f25e1985e2e8729dcf95 /gnu/packages/python-xyz.scm
parent931fee88a92912928f0c6cb28d686e067645fa6c (diff)
gnu: Add python-docutils-0.15.
* gnu/packages/python-xyz.scm (python-docutils-0.15): New variable.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2dee3dca87..b79651a3d6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4135,6 +4135,20 @@ via commands such as @command{rst2man}, as well as supporting Python code.")
(define-public python2-docutils
(package-with-python2 python-docutils))
+;; awscli refuses to be built with docutils < 0.16.
+(define-public python-docutils-0.15
+ (package
+ (inherit python-docutils)
+ (version "0.15")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "docutils" version))
+ (sha256
+ (base32
+ "0ja8q6mdj6xv62jjw3phv8j5nfqi5x8hnfy4pqfcjcgz4b34k8sl"))))
+ ;; tests contain Python 2 syntax.
+ (arguments '(#:tests? #false))))
+
;; python2-sphinx fails its test suite with newer versions.
(define-public python2-docutils-0.14
(package