From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 74157158089 for ; Thu, 26 Oct 2023 19:45:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 933BB2BC098; Thu, 26 Oct 2023 19:45:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78FD02BC090 for ; Thu, 26 Oct 2023 19:45:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C130D335C31 for ; Thu, 26 Oct 2023 19:45:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3219212C7 for ; Thu, 26 Oct 2023 19:45:17 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1698349514.9d0e46bf53d4ca65ca8f6a4a67b8e91382a6648a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpx/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/httpx/httpx-0.25.0.ebuild X-VCS-Directories: dev-python/httpx/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9d0e46bf53d4ca65ca8f6a4a67b8e91382a6648a X-VCS-Branch: master Date: Thu, 26 Oct 2023 19:45:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 15ca5e05-769f-4a02-8aff-c0e0bd226376 X-Archives-Hash: 9f88104a181bd9186d899e8eefaba603 commit: 9d0e46bf53d4ca65ca8f6a4a67b8e91382a6648a Author: Michał Górny gentoo org> AuthorDate: Thu Oct 26 19:37:30 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Oct 26 19:45:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0e46bf dev-python/httpx: Avoid test dep on app-arch/brotli Signed-off-by: Michał Górny gentoo.org> dev-python/httpx/httpx-0.25.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/httpx/httpx-0.25.0.ebuild b/dev-python/httpx/httpx-0.25.0.ebuild index f705e90d5cef..d1530d4041e9 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 }