From 3153a5bd696adee2e9ed704fa9a3b36a9dd96dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 6 Jul 2024 18:42:44 +0200 Subject: [PATCH] dev-python/cheetah3: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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 747620d4746f5..204d8de6418bf 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