From 1bbc3003717c55edd91b2b8cccaa8355d6e51d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 8 May 2024 14:19:53 +0200 Subject: [PATCH] dev-python/sphinx: Add a temporary RDEP on dev-python/defusedxml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add an explicit RDEPEND on dev-python/defusedxml since it is used by sphinx.testing.util, and this breaks a number of reverse dependencies. This is a temporary hack, until we figure out a better solution. Bug: https://bugs.gentoo.org/931580 Signed-off-by: Michał Górny --- .../sphinx/{sphinx-7.3.7.ebuild => sphinx-7.3.7-r1.ebuild} | 5 +++++ 1 file changed, 5 insertions(+) rename dev-python/sphinx/{sphinx-7.3.7.ebuild => sphinx-7.3.7-r1.ebuild} (96%) diff --git a/dev-python/sphinx/sphinx-7.3.7.ebuild b/dev-python/sphinx/sphinx-7.3.7-r1.ebuild similarity index 96% rename from dev-python/sphinx/sphinx-7.3.7.ebuild rename to dev-python/sphinx/sphinx-7.3.7-r1.ebuild index 127cb53319b6a..4151e90e6efce 100644 --- a/dev-python/sphinx/sphinx-7.3.7.ebuild +++ b/dev-python/sphinx/sphinx-7.3.7-r1.ebuild @@ -52,6 +52,11 @@ RDEPEND=" ) !dev-python/namespace-sphinxcontrib " +# added temporarily because of unconditional import in sphinx.testing.util +# until we figure out how to deal with it better +RDEPEND+=" + dev-python/defusedxml[${PYTHON_USEDEP}] +" BDEPEND=" doc? ( dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]