summaryrefslogtreecommitdiff
path: root/dev-python/httpx
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-10-27 06:40:13 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-10-27 06:40:13 +0000
commit532d6c10f84767f12eb9d80cbbb5564795c6e2fd (patch)
tree4d34fa75471b263a1514eccd2ea48cb074cd34c8 /dev-python/httpx
parentd5f704aeefcddf84c928c77f138968554a171262 (diff)
downloadbaldeagleos-repo-532d6c10f84767f12eb9d80cbbb5564795c6e2fd.tar.gz
baldeagleos-repo-532d6c10f84767f12eb9d80cbbb5564795c6e2fd.tar.xz
baldeagleos-repo-532d6c10f84767f12eb9d80cbbb5564795c6e2fd.zip
Adding metadata
Diffstat (limited to 'dev-python/httpx')
-rw-r--r--dev-python/httpx/httpx-0.25.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/httpx/httpx-0.25.0.ebuild b/dev-python/httpx/httpx-0.25.0.ebuild
index ce6af05c7266..7752839d116f 100644
--- a/dev-python/httpx/httpx-0.25.0.ebuild
+++ b/dev-python/httpx/httpx-0.25.0.ebuild
@@ -39,7 +39,6 @@ RDEPEND="
BDEPEND="
dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
test? (
- app-arch/brotli[python,${PYTHON_USEDEP}]
dev-python/anyio[${PYTHON_USEDEP}]
dev-python/brotlicffi[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
@@ -60,6 +59,11 @@ src_prepare() {
sed -i -e '/^httpx =/d' pyproject.toml || die
fi
sed -i -e '/rich/s:,<14::' pyproject.toml || die
+
+ # use brotlicffi instead of brotli in tests
+ sed -i -e 's:import brotli:import brotlicffi as brotli:' \
+ tests/test_decoders.py || die
+
distutils-r1_src_prepare
}