Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpx/
Date: Tue, 01 Feb 2022 13:46:55
Message-Id: 1643723206.315dcaf0331e110ec7d14ece7e3d6e649e92f7b1.mgorny@gentoo
1 commit: 315dcaf0331e110ec7d14ece7e3d6e649e92f7b1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 1 11:10:58 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 1 13:46:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315dcaf0
7
8 dev-python/httpx: Relax rich dependency
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/httpx/{httpx-0.22.0.ebuild => httpx-0.22.0-r1.ebuild} | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15 diff --git a/dev-python/httpx/httpx-0.22.0.ebuild b/dev-python/httpx/httpx-0.22.0-r1.ebuild
16 similarity index 96%
17 rename from dev-python/httpx/httpx-0.22.0.ebuild
18 rename to dev-python/httpx/httpx-0.22.0-r1.ebuild
19 index 6cc05440c2be..d4b99a44ad3a 100644
20 --- a/dev-python/httpx/httpx-0.22.0.ebuild
21 +++ b/dev-python/httpx/httpx-0.22.0-r1.ebuild
22 @@ -33,7 +33,7 @@ RDEPEND="
23 cli? (
24 =dev-python/click-8*[${PYTHON_USEDEP}]
25 =dev-python/pygments-2*[${PYTHON_USEDEP}]
26 - =dev-python/rich-10*[${PYTHON_USEDEP}]
27 + <dev-python/rich-12[${PYTHON_USEDEP}]
28 )
29 "
30 BDEPEND="
31 @@ -54,6 +54,7 @@ BDEPEND="
32 distutils_enable_tests pytest
33
34 src_prepare() {
35 + sed -i -e '/rich/s:==10[.][*]:<12:' setup.py || die
36 if ! use cli; then
37 sed -i -e '/console_scripts/d' setup.py || die
38 fi