commit:     e09418adad401dd4ee3f8c81ef8fb2a2f3da5132
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 23 08:51:51 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 23 08:52:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e09418ad

dev-python/cssutils: Add missing test-dep on importlib_resources

The package needs features from Python 3.9's importlib.resources.
Apparently importlib_resources monkey-patches them back in.

Closes: https://bugs.gentoo.org/819564
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/cssutils/cssutils-2.3.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/cssutils/cssutils-2.3.0.ebuild 
b/dev-python/cssutils/cssutils-2.3.0.ebuild
index 11a1977ee61..e1c8f1103e0 100644
--- a/dev-python/cssutils/cssutils-2.3.0.ebuild
+++ b/dev-python/cssutils/cssutils-2.3.0.ebuild
@@ -21,6 +21,9 @@ BDEPEND="
                dev-python/cssselect[${PYTHON_USEDEP}]
                dev-python/lxml[${PYTHON_USEDEP}]
                dev-python/mock[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/importlib_resources[${PYTHON_USEDEP}]
+               ' python3_8 pypy3)
        )"
 
 PATCHES=(

Reply via email to