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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ACDB413835A for ; Sat, 31 Oct 2020 01:36:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F229EE082D; Sat, 31 Oct 2020 01:36:56 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE7C6E082D for ; Sat, 31 Oct 2020 01:36:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 80F31340B29 for ; Sat, 31 Oct 2020 01:36:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09BD63FA for ; Sat, 31 Oct 2020 01:36:54 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1604108203.cbd4bc2e9ebb89e6569a5285b0a10e605ab34774.chutzpah@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.ebuild X-VCS-Directories: dev-python/cheetah3/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: cbd4bc2e9ebb89e6569a5285b0a10e605ab34774 X-VCS-Branch: master Date: Sat, 31 Oct 2020 01:36:54 +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: 89cc6566-8d15-436e-8000-e21ed637811c X-Archives-Hash: 32b5475f459b29c614bd0fc7083976e5 commit: cbd4bc2e9ebb89e6569a5285b0a10e605ab34774 Author: Patrick McLean sony com> AuthorDate: Sat Oct 31 00:25:40 2020 +0000 Commit: Patrick McLean gentoo org> CommitDate: Sat Oct 31 01:36:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbd4bc2e dev-python/cheetah3-3.2.6: Version bump, add py39 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Patrick McLean gentoo.org> dev-python/cheetah3/Manifest | 1 + dev-python/cheetah3/cheetah3-3.2.6.ebuild | 41 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest index 8f709baf0bf..78ba6d24f98 100644 --- a/dev-python/cheetah3/Manifest +++ b/dev-python/cheetah3/Manifest @@ -1 +1,2 @@ DIST cheetah3-3.2.4.tar.gz 315044 BLAKE2B 5cb36364f424acf87593b3f18b5709d1a161dd3fb9bc1f4cfb6fe7c22d2515c852d5d7d0215692274ffe5437267e3232fcfae3d76c592cf66d8927fabdf37953 SHA512 64fbe95fe8d5f3185168ba780e106a46caa0656272235168df603eff50dd6e476eed041658a1e11ae12ee10d148a001c32a23677a1ee6da5b6d43e20e4d1e36e +DIST cheetah3-3.2.6.tar.gz 2481158 BLAKE2B cb8ad192ae9caf0d1284294b323cf4a918cd2fc951bae25867d69a3dd7933728056b76fbf52a22d34f290056a96cce7d9ccbeb2404f2f0bb782f8db8b7453e47 SHA512 abf74def695018a79cb1364f60e402e7e0095a4d2f069decfbddf42501d865b70451ebc7b52abc67aa23e57276d7a3b8c2894a9571876e15db43cd1358f74d31 diff --git a/dev-python/cheetah3/cheetah3-3.2.6.ebuild b/dev-python/cheetah3/cheetah3-3.2.6.ebuild new file mode 100644 index 00000000000..fecc1a523dd --- /dev/null +++ b/dev-python/cheetah3/cheetah3-3.2.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +inherit distutils-r1 + +DESCRIPTION="Python-powered template engine and code generator" +HOMEPAGE="http://www.cheetahtemplate.org/ https://pypi.org/project/Cheetah3/" +SRC_URI="https://github.com/CheetahTemplate3/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm64 ~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 \ + -e "/Unicode/d" \ + -e "s/if not sys.platform.startswith('java'):/if False:/" \ + -e "/results =/a\\ sys.exit(not results.wasSuccessful())" \ + -i Cheetah/Tests/Test.py || die "sed failed" + + distutils-r1_python_prepare_all +} + +python_test() { + cp -r "${S}/Cheetah/Tests/ImportHooksTemplates" \ + "${BUILD_DIR}/lib/Cheetah/Tests/ImportHooksTemplates" || die + + "${EPYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}" +}