commit: 58b61adc2917079e0628ceffef8a538d8aecb679
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 18 09:10:57 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 18 09:11:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58b61adc
dev-python/starlette: Remove obsolete test fix
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/starlette/starlette-0.21.0.ebuild | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/dev-python/starlette/starlette-0.21.0.ebuild
b/dev-python/starlette/starlette-0.21.0.ebuild
index b8f1200acd8f..f0811c255d95 100644
--- a/dev-python/starlette/starlette-0.21.0.ebuild
+++ b/dev-python/starlette/starlette-0.21.0.ebuild
@@ -35,13 +35,8 @@ RDEPEND="
' 3.8 3.9)
dev-python/pyyaml[${PYTHON_USEDEP}]
"
-# brotli needed for consistent test output
BDEPEND="
test? (
- || (
- dev-python/brotlicffi[${PYTHON_USEDEP}]
- app-arch/brotli[python,${PYTHON_USEDEP}]
- )
dev-python/trio[${PYTHON_USEDEP}]
)
"
@@ -60,10 +55,3 @@ EPYTEST_DESELECT=(
)
distutils_enable_tests pytest
-
-src_prepare() {
- # fix accept-encoding, as new support was added with newer versions
- sed -e '/accept-encoding/s/",/, br&/' -i
tests/test_{websockets,requests}.py || die
-
- distutils-r1_src_prepare
-}