commit:     3153a5bd696adee2e9ed704fa9a3b36a9dd96dda
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  6 16:42:44 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul  6 17:23:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3153a5bd

dev-python/cheetah3: Enable py3.13

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/cheetah3/cheetah3-3.3.3.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/cheetah3/cheetah3-3.3.3.ebuild 
b/dev-python/cheetah3/cheetah3-3.3.3.ebuild
index 747620d4746f..204d8de6418b 100644
--- a/dev-python/cheetah3/cheetah3-3.3.3.ebuild
+++ b/dev-python/cheetah3/cheetah3-3.3.3.ebuild
@@ -5,8 +5,7 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-# py3.13: https://github.com/CheetahTemplate3/cheetah3/issues/60
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 
@@ -36,6 +35,11 @@ BDEPEND="
 
 DOCS=( ANNOUNCE.rst README.rst TODO )
 
+PATCHES=(
+       # 
https://github.com/CheetahTemplate3/cheetah3/commit/ee2739b73bafbcb9a8cc5511d5e03e6b0d9bced1
+       "${FILESDIR}/${P}-py313.patch"
+)
+
 python_test() {
        # the package can't handle TMPDIR with hyphens
        # https://github.com/CheetahTemplate3/cheetah3/issues/53

Reply via email to