commit: 29cf6811a259cb6a2f69d4f637be5c98dc390cdc Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat May 3 13:10:25 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat May 3 13:12:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29cf6811
dev-vcs/breezy: Fix building with cython-3.1 Closes: https://bugs.gentoo.org/954134 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-vcs/breezy/breezy-3.3.9.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 }
