diff options
author | Petr Vaněk <arkamar@gentoo.org> | 2024-06-16 22:25:16 +0200 |
---|---|---|
committer | Petr Vaněk <arkamar@gentoo.org> | 2024-06-16 22:50:02 +0200 |
commit | b70f8b25d2878f097f48e1997c857f2b797b4755 (patch) | |
tree | 3ec3972f797b561da897b69ba504356b5611f596 /dev-python/cheetah3 | |
parent | dev-python/markdown: enable py3.13 (diff) | |
download | gentoo-b70f8b25d2878f097f48e1997c857f2b797b4755.tar.gz gentoo-b70f8b25d2878f097f48e1997c857f2b797b4755.tar.bz2 gentoo-b70f8b25d2878f097f48e1997c857f2b797b4755.zip |
dev-python/cheetah3: add 3.3.3
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'dev-python/cheetah3')
-rw-r--r-- | dev-python/cheetah3/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cheetah3/cheetah3-3.3.3.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest index f92c41d0b7ab..5605fe979ce8 100644 --- a/dev-python/cheetah3/Manifest +++ b/dev-python/cheetah3/Manifest @@ -1 +1,2 @@ DIST cheetah3-3.3.1.gh.tar.gz 315007 BLAKE2B 627cb435db1cf274861a29b993f49457c1ba4147b6e1514b5d5961a2fd565c39ff9cae3bcd9665379c5206dc2cef98a6bf159781e664d75d87fa8c4244ec4e43 SHA512 057d3772390076157a0e09e6b5e60ad0ec3b1669aa62741bcfd314f846bba091884d361382d6399e73bce06aaf49366ee3cbeb040c6f5b3e00423eefd440c300 +DIST cheetah3-3.3.3.gh.tar.gz 315249 BLAKE2B f5dc748c49adbddffb0339069f800583739bffce8085c3abb80080d14d051a334e6b7d1b8ced218218334cae6cc000877570f3ab7c1ef0d760de36bf956f9c2e SHA512 638ee6ca0d37b86cfa93f8fc0da4c259da639c3b107c8810201e4bed30ca4674b5e546abc1d8f716d1bba7d1c72d51f559894a90580fa02f1409f7a73a246001 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..1baa0f79ea8d --- /dev/null +++ b/dev-python/cheetah3/cheetah3-3.3.3.ebuild @@ -0,0 +1,44 @@ +# 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 +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" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +SLOT="0" + +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}" +} |