commit:     315dcaf0331e110ec7d14ece7e3d6e649e92f7b1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  1 11:10:58 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb  1 13:46:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315dcaf0

dev-python/httpx: Relax rich dependency

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/httpx/{httpx-0.22.0.ebuild => httpx-0.22.0-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/httpx/httpx-0.22.0.ebuild 
b/dev-python/httpx/httpx-0.22.0-r1.ebuild
similarity index 96%
rename from dev-python/httpx/httpx-0.22.0.ebuild
rename to dev-python/httpx/httpx-0.22.0-r1.ebuild
index 6cc05440c2be..d4b99a44ad3a 100644
--- a/dev-python/httpx/httpx-0.22.0.ebuild
+++ b/dev-python/httpx/httpx-0.22.0-r1.ebuild
@@ -33,7 +33,7 @@ RDEPEND="
        cli? (
                =dev-python/click-8*[${PYTHON_USEDEP}]
                =dev-python/pygments-2*[${PYTHON_USEDEP}]
-               =dev-python/rich-10*[${PYTHON_USEDEP}]
+               <dev-python/rich-12[${PYTHON_USEDEP}]
        )
 "
 BDEPEND="
@@ -54,6 +54,7 @@ BDEPEND="
 distutils_enable_tests pytest
 
 src_prepare() {
+       sed -i -e '/rich/s:==10[.][*]:<12:' setup.py || die
        if ! use cli; then
                sed -i -e '/console_scripts/d' setup.py || die
        fi

Reply via email to