diff --git a/dev-vcs/breezy/breezy-3.3.9.ebuild b/dev-vcs/breezy/breezy-3.3.9.ebuild index 958345f93791..03130fffa9ee 100644 --- a/dev-vcs/breezy/breezy-3.3.9.ebuild +++ b/dev-vcs/breezy/breezy-3.3.9.ebuild @@ -7,7 +7,7 @@ CRATES="" DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit cargo distutils-r1 optfeature @@ -57,6 +57,12 @@ src_prepare() { -e 's@, strip=Strip\.All@@' \ -i setup.py || die + # https://bugs.gentoo.org/954134 + find -name '*.pyx' -exec \ + sed -e '/_AsUnsignedLongMask/s:PyInt:PyLong:' \ + -e 's:cpython\.int:cpython.long:' \ + -i {} + || die + distutils-r1_src_prepare }