mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/mypy: Fix libxml2-2.15 test failures
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -64,6 +64,12 @@ src_prepare() {
|
||||
|
||||
# don't force pytest-xdist, in case user asked for EPYTEST_JOBS=1
|
||||
sed -i -e '/addopts/s:-nauto::' pyproject.toml || die
|
||||
|
||||
# https://github.com/python/mypy/issues/20070
|
||||
if has_version ">=dev-libs/libxml2-2.15"; then
|
||||
sed -e 's:<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">:<meta charset="UTF-8">:' \
|
||||
-i test-data/unit/reports.test || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
|
||||
Reference in New Issue
Block a user