summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-07-06 18:42:44 +0200
committerMichał Górny <mgorny@gentoo.org>2024-07-06 19:23:36 +0200
commit3153a5bd696adee2e9ed704fa9a3b36a9dd96dda (patch)
tree59e0df1d735a6faa10887081986a330b4750b7cb /dev-python/cheetah3
parentprofiles: riscv: Drop obsolete kde-apps/*[kf6compat] masks (diff)
downloadgentoo-3153a5bd696adee2e9ed704fa9a3b36a9dd96dda.tar.gz
gentoo-3153a5bd696adee2e9ed704fa9a3b36a9dd96dda.tar.bz2
gentoo-3153a5bd696adee2e9ed704fa9a3b36a9dd96dda.zip
dev-python/cheetah3: Enable py3.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cheetah3')
-rw-r--r--dev-python/cheetah3/cheetah3-3.3.3.ebuild8
1 files 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