summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-06-25 19:44:00 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:40 +0100
commit7372201a62edcb46500f641853b4fe159acc10e5 (patch)
treea9b283c51381a694c9953299dfdd56301c301733 /gnu/packages
parent579d43aafc6866ab5d8b9638fc7fb4222061b01b (diff)
gnu: python-docutils: Update to 0.21.2.
This change updates python-docutils to the latests version and pins some older packages on 0.19 to resolve build documentation issue which uses rst2man. * gnu/packages/python-xyz.scm (python-docutils): Update to 0.21.2. [build-system]: Use pyproject. [arguments] <phases>: Do not overwrite 'check use {#:test-backend} and {#:test-flags}. [native-inputs]: Add python-flit-core. (python-docutils-0.16)[native-inputs]: Add python-wheel. (python-docutils-0.19): New variable. * gnu/packages/diffoscope.scm (trydiffoscope) [native-inputs]: Remove python-docutils; add python-docutils-0.19. * gnu/packages/gtk.scm (gtk): Likewise. * gnu/packages/linux.scm (rdma-core): Likewise. * gnu/packages/power.scm (apcupsd): Likewise. * gnu/packages/version-control.scm (cgit): Likewise. * gnu/packages/virtualization.scm (ganeti)) Likewise. Change-Id: If58b9b12732347245e66e3c2cb5e67b0a8450913
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/diffoscope.scm2
-rw-r--r--gnu/packages/gtk.scm2
-rw-r--r--gnu/packages/linux.scm2
-rw-r--r--gnu/packages/power.scm2
-rw-r--r--gnu/packages/python-xyz.scm45
-rw-r--r--gnu/packages/version-control.scm2
-rw-r--r--gnu/packages/virtualization.scm2
7 files changed, 35 insertions, 22 deletions
diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm
index 7314029c6c9..005be166ba0 100644
--- a/gnu/packages/diffoscope.scm
+++ b/gnu/packages/diffoscope.scm
@@ -376,7 +376,7 @@ them in detail for later analysis.")
376 (propagated-inputs 376 (propagated-inputs
377 (list python-requests)) 377 (list python-requests))
378 (native-inputs 378 (native-inputs
379 (list gzip python-docutils python-setuptools python-wheel)) 379 (list gzip python-docutils-0.19 python-setuptools python-wheel))
380 (build-system pyproject-build-system) 380 (build-system pyproject-build-system)
381 (home-page "https://try.diffoscope.org") 381 (home-page "https://try.diffoscope.org")
382 (synopsis "Client for remote diffoscope service") 382 (synopsis "Client for remote diffoscope service")
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 39e9e6ec734..d229f7827b1 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1373,7 +1373,7 @@ application suites.")
1373 pkg-config 1373 pkg-config
1374 python-pygobject 1374 python-pygobject
1375 ;; These python modules are required for building documentation. 1375 ;; These python modules are required for building documentation.
1376 python-docutils 1376 python-docutils-0.19
1377 python-jinja2 1377 python-jinja2
1378 python-markdown 1378 python-markdown
1379 python-markupsafe 1379 python-markupsafe
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f59a21a8ff1..96940bbe7af 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7940,7 +7940,7 @@ from the ntfs-3g package. It is meant to be used in initrds.")
7940 (search-input-file 7940 (search-input-file
7941 %build-inputs "/bin/rst2man.py"))))) 7941 %build-inputs "/bin/rst2man.py")))))
7942 (native-inputs 7942 (native-inputs
7943 (list pkg-config python-wrapper python-docutils)) ;for 'rst2man' 7943 (list pkg-config python-wrapper python-docutils-0.19)) ;for 'rst2man'
7944 (inputs 7944 (inputs
7945 (list libnl eudev)) 7945 (list libnl eudev))
7946 (home-page "https://github.com/linux-rdma/rdma-core") 7946 (home-page "https://github.com/linux-rdma/rdma-core")
diff --git a/gnu/packages/power.scm b/gnu/packages/power.scm
index 7ba86b16eb2..7be84854492 100644
--- a/gnu/packages/power.scm
+++ b/gnu/packages/power.scm
@@ -126,7 +126,7 @@
126 (lambda _ 126 (lambda _
127 (delete-file-recursively 127 (delete-file-recursively
128 (string-append #$output "/etc/apcupsd"))))))) 128 (string-append #$output "/etc/apcupsd")))))))
129 (native-inputs (list mandoc pkg-config python-docutils util-linux)) 129 (native-inputs (list mandoc pkg-config python-docutils-0.19 util-linux))
130 (inputs (list libusb libusb-compat)) 130 (inputs (list libusb libusb-compat))
131 (home-page "http://www.apcupsd.org") 131 (home-page "http://www.apcupsd.org")
132 (synopsis "Daemon for controlling APC UPSes") 132 (synopsis "Daemon for controlling APC UPSes")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 581c9c05bb8..bcde89425a2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8529,21 +8529,20 @@ Google and Numpydoc format.")
8529(define-public python-docutils 8529(define-public python-docutils
8530 (package 8530 (package
8531 (name "python-docutils") 8531 (name "python-docutils")
8532 (version "0.19") 8532 (version "0.21.2")
8533 (source (origin 8533 (source
8534 (method url-fetch) 8534 (origin
8535 (uri (pypi-uri "docutils" version)) 8535 (method url-fetch)
8536 (sha256 8536 (uri (pypi-uri "docutils" version))
8537 (base32 8537 (sha256
8538 "1rprvir116g5rz2bgzkzgyn6mv0z8582rz7bgxbpy2y3adkmm69k")))) 8538 (base32 "0vwqzbmzdvwx23myx4cg8s8mdkrqnfxpa9yi7jm2s66z5rrihsrs"))))
8539 (build-system python-build-system) 8539 (build-system pyproject-build-system)
8540 (arguments 8540 (arguments
8541 '(#:phases (modify-phases %standard-phases 8541 (list
8542 (replace 'check 8542 #:test-backend #~'custom
8543 (lambda* (#:key tests? #:allow-other-keys) 8543 #:test-flags #~(list "test/alltests.py")))
8544 (if tests? 8544 (native-inputs
8545 (invoke "python" "test/alltests.py") 8545 (list python-flit-core))
8546 (format #t "test suite not run~%")))))))
8547 (home-page "https://docutils.sourceforge.net/") 8546 (home-page "https://docutils.sourceforge.net/")
8548 (synopsis "Python Documentation Utilities") 8547 (synopsis "Python Documentation Utilities")
8549 (description 8548 (description
@@ -8571,7 +8570,21 @@ via commands such as @command{rst2man}, as well as supporting Python code.")
8571 ;; tests contain Python 2 syntax. 8570 ;; tests contain Python 2 syntax.
8572 (arguments '(#:tests? #false)) 8571 (arguments '(#:tests? #false))
8573 (native-inputs 8572 (native-inputs
8574 (list python-setuptools)))) 8573 (list python-setuptools python-wheel))))
8574
8575(define-public python-docutils-0.19
8576 (hidden-package
8577 (package
8578 (inherit python-docutils)
8579 (version "0.19")
8580 (source (origin
8581 (method url-fetch)
8582 (uri (pypi-uri "docutils" version))
8583 (sha256
8584 (base32
8585 "1rprvir116g5rz2bgzkzgyn6mv0z8582rz7bgxbpy2y3adkmm69k"))))
8586 (native-inputs
8587 (list python-setuptools python-wheel)))))
8575 8588
8576(define-public python-docx 8589(define-public python-docx
8577 (package 8590 (package
@@ -39900,7 +39913,7 @@ path.")
39900 (native-inputs 39913 (native-inputs
39901 (list perl-image-exiftool 39914 (list perl-image-exiftool
39902 python-dateutil 39915 python-dateutil
39903 python-docutils 39916 python-docutils-0.19
39904 python-jinja2 39917 python-jinja2
39905 python-markdown 39918 python-markdown
39906 python-pillow 39919 python-pillow
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index dad26eb7129..6cae9c2546b 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1774,7 +1774,7 @@ supports AGit-Flow and lifts the requirement to use a manifest file.")
1774 bash-minimal 1774 bash-minimal
1775 openssl 1775 openssl
1776 python 1776 python
1777 python-docutils 1777 python-docutils-0.19
1778 python-markdown 1778 python-markdown
1779 python-pygments 1779 python-pygments
1780 zlib 1780 zlib
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 3d5e939a267..e71daaed5b6 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1060,7 +1060,7 @@ firmware blobs. You can
1060 ("automake" ,automake) 1060 ("automake" ,automake)
1061 1061
1062 ;; For the documentation. 1062 ;; For the documentation.
1063 ("python-docutils" ,python-docutils) 1063 ("python-docutils" ,python-docutils-0.19)
1064 ("sphinx" ,python-sphinx) 1064 ("sphinx" ,python-sphinx)
1065 ("pandoc" ,pandoc) 1065 ("pandoc" ,pandoc)
1066 ("dot" ,graphviz) 1066 ("dot" ,graphviz)