Install this version:
emerge -a =dev-python/diff-match-patch-20241021
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit-core
PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t )
inherit distutils-r1 pypi
DESCRIPTION="Diff, match and patch algorithms for plain text"
HOMEPAGE="
https://github.com/diff-match-patch-python/diff-match-patch/
https://pypi.org/project/diff-match-patch/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest