summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-11-26 16:18:48 +0100
committerMichał Górny <mgorny@gentoo.org>2022-11-26 16:25:46 +0100
commitadfa9a9f9add18a269f9cb5f5deb2e7cb7267ced (patch)
tree8709f81c4d2cf0a7c8ee5c184a38a13fda202774 /dev-python/httpx
parentdev-python/httpx: Loosen rfc3986 dependency upstream (diff)
downloadgentoo-adfa9a9f9add18a269f9cb5f5deb2e7cb7267ced.tar.gz
gentoo-adfa9a9f9add18a269f9cb5f5deb2e7cb7267ced.tar.bz2
gentoo-adfa9a9f9add18a269f9cb5f5deb2e7cb7267ced.zip
dev-python/httpx: Fix respecting USE=-cli
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/httpx')
-rw-r--r--dev-python/httpx/httpx-0.23.1-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-python/httpx/httpx-0.23.1-r1.ebuild b/dev-python/httpx/httpx-0.23.1-r1.ebuild
index 41214b718b03..94aea019b8e3 100644
--- a/dev-python/httpx/httpx-0.23.1-r1.ebuild
+++ b/dev-python/httpx/httpx-0.23.1-r1.ebuild
@@ -56,7 +56,7 @@ distutils_enable_tests pytest
src_prepare() {
if ! use cli; then
- sed -i -e '/console_scripts/d' setup.py || die
+ sed -i -e '/^httpx =/d' pyproject.toml || die
fi
sed -i -e '/rfc3986/s:,<2::' pyproject.toml || die
distutils-r1_src_prepare