gnu: python-docutils: Update to 0.19.

* gnu/packages/python-xyz.scm (python-docutils): Update to 0.19.
[arguments]: Strip trailing #t.
(python-docutils-0.19): Delete variable.
This commit is contained in:
Maxim Cournoyer 2023-04-14 21:30:47 -04:00
parent 530cf34edb
commit 55f051e28c
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -5073,14 +5073,13 @@ (define-public python-dm-tree
(define-public python-docutils (define-public python-docutils
(package (package
(name "python-docutils") (name "python-docutils")
(version "0.17.1") (version "0.19")
(source (source (origin
(origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "docutils" version)) (uri (pypi-uri "docutils" version))
(sha256 (sha256
(base32 (base32
"09gii36lp1bs26cpxqyfd20xahnpbrbjzcnba2xq08y3wk97frb8")))) "1rprvir116g5rz2bgzkzgyn6mv0z8582rz7bgxbpy2y3adkmm69k"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases (modify-phases %standard-phases '(#:phases (modify-phases %standard-phases
@ -5088,8 +5087,7 @@ (define-public python-docutils
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(if tests? (if tests?
(invoke "python" "test/alltests.py") (invoke "python" "test/alltests.py")
(format #t "test suite not run~%")) (format #t "test suite not run~%")))))))
#t)))))
(home-page "https://docutils.sourceforge.net/") (home-page "https://docutils.sourceforge.net/")
(synopsis "Python Documentation Utilities") (synopsis "Python Documentation Utilities")
(description (description
@ -5103,18 +5101,6 @@ (define-public python-docutils
;; licensed under the PFSL, BSD 2-clause, and GPLv3+ licenses. ;; licensed under the PFSL, BSD 2-clause, and GPLv3+ licenses.
(license (list license:public-domain license:psfl license:bsd-2 license:gpl3+)))) (license (list license:public-domain license:psfl license:bsd-2 license:gpl3+))))
;; TODO: Make this the default in the next rebuild cycle.
(define-public python-docutils-0.19
(package
(inherit python-docutils)
(version "0.19")
(source (origin
(method url-fetch)
(uri (pypi-uri "docutils" version))
(sha256
(base32
"1rprvir116g5rz2bgzkzgyn6mv0z8582rz7bgxbpy2y3adkmm69k"))))))
;; awscli refuses to be built with docutils < 0.16. ;; awscli refuses to be built with docutils < 0.16.
(define-public python-docutils-0.15 (define-public python-docutils-0.15
(package (package