From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id 97A411582EF for ; Fri, 21 Feb 2025 20:44:08 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7B10C3431E0 for ; Fri, 21 Feb 2025 20:44:08 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7DD201102A2; Fri, 21 Feb 2025 20:44:05 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 bobolink.gentoo.org (Postfix) with ESMTPS id 72C641102A2 for ; Fri, 21 Feb 2025 20:44:05 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 034A23430BD for ; Fri, 21 Feb 2025 20:44:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 955A0107A for ; Fri, 21 Feb 2025 20:44:03 +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: <1740170640.3a93e9fdd8b04a67f7059730a300f012e4a04688.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.4.0.ebuild X-VCS-Directories: dev-python/cheetah3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3a93e9fdd8b04a67f7059730a300f012e4a04688 X-VCS-Branch: master Date: Fri, 21 Feb 2025 20:44:03 +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: 0837dff5-02e4-42f2-b8e1-beb0876217ca X-Archives-Hash: a99e6cab7c617a8b89426703626bb477 commit: 3a93e9fdd8b04a67f7059730a300f012e4a04688 Author: Joe Kappus wt gd> AuthorDate: Fri Feb 21 19:26:53 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 21 20:44:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a93e9fd dev-python/cheetah3: add 3.4.0 Signed-off-by: Joe Kappus wt.gd> Closes: https://github.com/gentoo/gentoo/pull/40688 Signed-off-by: Michał Górny gentoo.org> dev-python/cheetah3/Manifest | 1 + dev-python/cheetah3/cheetah3-3.4.0.ebuild | 44 +++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest index a95572b816d3..633ade12e434 100644 --- a/dev-python/cheetah3/Manifest +++ b/dev-python/cheetah3/Manifest @@ -1 +1,2 @@ DIST cheetah3-3.3.3.gh.tar.gz 315249 BLAKE2B f5dc748c49adbddffb0339069f800583739bffce8085c3abb80080d14d051a334e6b7d1b8ced218218334cae6cc000877570f3ab7c1ef0d760de36bf956f9c2e SHA512 638ee6ca0d37b86cfa93f8fc0da4c259da639c3b107c8810201e4bed30ca4674b5e546abc1d8f716d1bba7d1c72d51f559894a90580fa02f1409f7a73a246001 +DIST cheetah3-3.4.0.gh.tar.gz 318357 BLAKE2B 5bb67484c4907f0a831eaa79d755ba252abc3ed70a14a7f87620cc8748f7226cc112b66cc1ce19759d5aa6653e8ce2ad0acd4604a0ca2a92c249e095ae6522ba SHA512 1984165dc001c5982f39bdee9ef1364ebb794a028bfebcbead6af9834abe6506f253b0bc18919c9b95b55130dd71232fac3830aed8c19219852a56f007ad45e7 diff --git a/dev-python/cheetah3/cheetah3-3.4.0.ebuild b/dev-python/cheetah3/cheetah3-3.4.0.ebuild new file mode 100644 index 000000000000..baadcdd861f7 --- /dev/null +++ b/dev-python/cheetah3/cheetah3-3.4.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 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..13} ) + +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 ) + +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}" +}