commit:     abb4c3e79faf5b5f31a83ba4ed76147191fe406f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 21 15:20:47 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 21 15:24:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abb4c3e7

dev-python/httpx-socks: Unpin dependencies

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

 .../{httpx-socks-0.8.0.ebuild => httpx-socks-0.8.0-r1.ebuild}    | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/httpx-socks/httpx-socks-0.8.0.ebuild 
b/dev-python/httpx-socks/httpx-socks-0.8.0-r1.ebuild
similarity index 90%
rename from dev-python/httpx-socks/httpx-socks-0.8.0.ebuild
rename to dev-python/httpx-socks/httpx-socks-0.8.0-r1.ebuild
index ce8d7e95504e..5e5bae2f9631 100644
--- a/dev-python/httpx-socks/httpx-socks-0.8.0.ebuild
+++ b/dev-python/httpx-socks/httpx-socks-0.8.0-r1.ebuild
@@ -24,9 +24,7 @@ SLOT="0"
 KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
-       <dev-python/httpx-0.26.0[${PYTHON_USEDEP}]
        >=dev-python/httpx-0.21.0[${PYTHON_USEDEP}]
-       <dev-python/httpcore-2[${PYTHON_USEDEP}]
        >=dev-python/httpcore-0.17.3[${PYTHON_USEDEP}]
        >=dev-python/python-socks-2.0.0[${PYTHON_USEDEP}]
 "
@@ -42,3 +40,10 @@ BDEPEND="
 "
 
 distutils_enable_tests pytest
+
+src_prepare() {
+       # unpin dependencies
+       sed -i -e 's:,<[0-9.]*::' setup.py || die
+
+       distutils-r1_src_prepare
+}

Reply via email to