From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C26A3158090 for ; Sun, 1 May 2022 13:42:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65D84E0B64; Sun, 1 May 2022 13:42:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4122CE0B5D for ; Sun, 1 May 2022 13:42:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E603734116C for ; Sun, 1 May 2022 13:42:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50CC8443 for ; Sun, 1 May 2022 13:42:29 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1651412444.4fcf2dc2b4dd908faa969e0cd3aa8aeddd47dcb8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cheetah3/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cheetah3/Manifest dev-python/cheetah3/cheetah3-3.2.6_p2.ebuild X-VCS-Directories: dev-python/cheetah3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4fcf2dc2b4dd908faa969e0cd3aa8aeddd47dcb8 X-VCS-Branch: master Date: Sun, 1 May 2022 13:42:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6b941d6b-047c-44c2-bddb-1696e3d02d70 X-Archives-Hash: 020ac9cacf952bbc7b317842e4f401bc commit: 4fcf2dc2b4dd908faa969e0cd3aa8aeddd47dcb8 Author: Michał Górny gentoo org> AuthorDate: Sun May 1 13:40:44 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 1 13:40:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fcf2dc2 dev-python/cheetah3: Bump to 3.2.6_p2 Signed-off-by: Michał Górny gentoo.org> dev-python/cheetah3/Manifest | 1 + dev-python/cheetah3/cheetah3-3.2.6_p2.ebuild | 41 ++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest index d2a51d68201b..285b32d7ef70 100644 --- a/dev-python/cheetah3/Manifest +++ b/dev-python/cheetah3/Manifest @@ -1 +1,2 @@ +DIST cheetah3-3.2.6.post2.tar.gz 316291 BLAKE2B d5dfaa958bc0cc41097d4a75abfe092d51379efd644daa01caac6ba1b789c21334a662904166b6069a0204e302c1d9e7bea74aa9f11082b9c8fce1c1c509f888 SHA512 b10d2569ce92181029b8f95d23602ec7b002400c8fdf4f6bb095ff40201154b97418fec19c9920f2f212f545633571aa32dc50a16a9ba81a9427303ca7938f29 DIST cheetah3-3.2.6.tar.gz 2481158 BLAKE2B cb8ad192ae9caf0d1284294b323cf4a918cd2fc951bae25867d69a3dd7933728056b76fbf52a22d34f290056a96cce7d9ccbeb2404f2f0bb782f8db8b7453e47 SHA512 abf74def695018a79cb1364f60e402e7e0095a4d2f069decfbddf42501d865b70451ebc7b52abc67aa23e57276d7a3b8c2894a9571876e15db43cd1358f74d31 diff --git a/dev-python/cheetah3/cheetah3-3.2.6_p2.ebuild b/dev-python/cheetah3/cheetah3-3.2.6_p2.ebuild new file mode 100644 index 000000000000..a4c89574fcc1 --- /dev/null +++ b/dev-python/cheetah3/cheetah3-3.2.6_p2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python-powered template engine and code generator" +HOMEPAGE="https://cheetahtemplate.org/ https://pypi.org/project/Cheetah3/" +SRC_URI=" + https://github.com/CheetahTemplate3/${PN}/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +SLOT="0" + +RDEPEND=" + dev-python/markdown[${PYTHON_USEDEP}] + !dev-python/cheetah +" +BDEPEND="${RDEPEND}" + +DOCS=( ANNOUNCE.rst README.rst TODO ) + +python_prepare_all() { + # Disable broken tests. + sed -i -e "/Unicode/d" -i Cheetah/Tests/Test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + "${EPYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}" +}