From 7301a82b07e73c3bdbeef0d1375094d625336766 Mon Sep 17 00:00:00 2001 Message-Id: <7301a82b07e73c3bdbeef0d1375094d625336766.1640196453.git.avityazev@posteo.org> From: Aleksandr Vityazev Date: Wed, 22 Dec 2021 17:25:18 +0300 Subject: [PATCH] gnu: python-pydata-sphinx-theme: Fix build. * gnu/packages/sphinx (python-pydata-sphinx-theme): [arguments]: add phase "relax-dependency-requirements". --- gnu/packages/sphinx.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 3ac5b5e22c..c9a9a2efbb 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2021 Hugo Lecomte ;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 2021 Aleksandr Vityazev ;;; ;;; This file is part of GNU Guix. ;;; @@ -915,6 +916,13 @@ (define-public python-pydata-sphinx-theme (base32 "055bh3hyh72pafiylvgpsjlk18wm15gg4azc5rjlsww5z475iq1j")))) (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'relax-dependency-requirements + (lambda _ + (substitute* "setup.py" + (("docutils<0.17") "docutils"))))))) (propagated-inputs (list python-beautifulsoup4)) (native-inputs -- 2.34.0