summaryrefslogtreecommitdiff
path: root/dev-python/cheetah3
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-17 00:09:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-17 00:09:46 +0100
commit74e526c590f52d24a213e25f77858ae0b34ec2c8 (patch)
tree0f6f22133ae9cc04958f6df6d39a02d90ffb1aaf /dev-python/cheetah3
parent0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 (diff)
gentoo auto-resync : 17:06:2024 - 00:09:46
Diffstat (limited to 'dev-python/cheetah3')
-rw-r--r--dev-python/cheetah3/Manifest4
-rw-r--r--dev-python/cheetah3/cheetah3-3.3.1.ebuild4
-rw-r--r--dev-python/cheetah3/cheetah3-3.3.3.ebuild45
3 files changed, 50 insertions, 3 deletions
diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest
index 936038de9351..27bc27fe333d 100644
--- a/dev-python/cheetah3/Manifest
+++ b/dev-python/cheetah3/Manifest
@@ -1,3 +1,5 @@
DIST cheetah3-3.3.1.gh.tar.gz 315007 BLAKE2B 627cb435db1cf274861a29b993f49457c1ba4147b6e1514b5d5961a2fd565c39ff9cae3bcd9665379c5206dc2cef98a6bf159781e664d75d87fa8c4244ec4e43 SHA512 057d3772390076157a0e09e6b5e60ad0ec3b1669aa62741bcfd314f846bba091884d361382d6399e73bce06aaf49366ee3cbeb040c6f5b3e00423eefd440c300
-EBUILD cheetah3-3.3.1.ebuild 971 BLAKE2B 0f9c30830da18e9761138f713a30ef32656b401ab85b1265f5267d465f30721e041cc3525d99f32a2f3bbb1c9824bf7cb653b2f9c4ba74bdb8413127052053c0 SHA512 455a837af048ecf368c74e68aed2dc90475c754a4df2476e0d92498feabfcc52a9a926ac464befb9829503adb6da4663022f1829d322fa44907f5ff46568100f
+DIST cheetah3-3.3.3.gh.tar.gz 315249 BLAKE2B f5dc748c49adbddffb0339069f800583739bffce8085c3abb80080d14d051a334e6b7d1b8ced218218334cae6cc000877570f3ab7c1ef0d760de36bf956f9c2e SHA512 638ee6ca0d37b86cfa93f8fc0da4c259da639c3b107c8810201e4bed30ca4674b5e546abc1d8f716d1bba7d1c72d51f559894a90580fa02f1409f7a73a246001
+EBUILD cheetah3-3.3.1.ebuild 971 BLAKE2B 74a1043aeabc943de1386e1844f0997ae5e931c774517ad06f1f9d9840aa5eff8c043f61acc6cd44c218becab2cf12681c2a1d18c06405e4b1261d6289c5224b SHA512 eb6d639b5997b40e249d87051b15ee169e46e2c9bd11836db6c980dd2d366103a607cddedaebd71fd14a3500ed301049051905b0719a229081b846d23723a296
+EBUILD cheetah3-3.3.3.ebuild 1040 BLAKE2B 577e16aba252a62ee2ecb794bf75a415caaae908dd8f9a306faf1eac8141c2dde9623c696c8e6b76f709946e2a21f39df91256e72c7c59b1ac0fc59b891f68c9 SHA512 2b9be1418a8503114b1723836adba02cceb8ff4751d6014167f68101fe05b269d6507f1155a33aa46b881e08cca5fb1df6d886babf180677b5e03be4f056cf9e
MISC metadata.xml 728 BLAKE2B eed475bf99f19abf5f934cc9e9f0ed10c3a29536767133a628dc3f23e95a37a0feaa82e4f080ac8f6d541cc6d802a084d670e64049149937b061e5f20bac317b SHA512 52b5eb46efb8d6e750823775ef459eec200e617e9232867cdfa229e2d7b6a41feee15441ac1a7c1ad2871f0fd19fb91fd6c36719eee2592c41e27ad8ec5fd162
diff --git a/dev-python/cheetah3/cheetah3-3.3.1.ebuild b/dev-python/cheetah3/cheetah3-3.3.1.ebuild
index 2fb8748e3d85..f3f6408a0e61 100644
--- a/dev-python/cheetah3/cheetah3-3.3.1.ebuild
+++ b/dev-python/cheetah3/cheetah3-3.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -23,8 +23,8 @@ SRC_URI="
S=${WORKDIR}/${MY_P}
LICENSE="MIT"
-KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86"
SLOT="0"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86"
RDEPEND="
dev-python/markdown[${PYTHON_USEDEP}]
diff --git a/dev-python/cheetah3/cheetah3-3.3.3.ebuild b/dev-python/cheetah3/cheetah3-3.3.3.ebuild
new file mode 100644
index 000000000000..990570eb221b
--- /dev/null
+++ b/dev-python/cheetah3/cheetah3-3.3.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+# py3.13: https://github.com/CheetahTemplate3/cheetah3/issues/60
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+MY_P=${P/_p/.post}
+DESCRIPTION="Python-powered template engine and code generator"
+HOMEPAGE="
+ https://cheetahtemplate.org/
+ https://github.com/CheetahTemplate3/Cheetah3/
+ https://pypi.org/project/Cheetah3/
+"
+SRC_URI="
+ https://github.com/CheetahTemplate3/Cheetah3/archive/${PV/_p/.post}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ dev-python/markdown[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+"
+
+DOCS=( ANNOUNCE.rst README.rst TODO )
+
+python_test() {
+ # the package can't handle TMPDIR with hyphens
+ # https://github.com/CheetahTemplate3/cheetah3/issues/53
+ local -x TMPDIR=/tmp
+
+ "${EPYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}"
+}