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 88022138239 for ; Sun, 22 Sep 2019 18:59:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D020CE0894; Sun, 22 Sep 2019 18:59:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 79700E0894 for ; Sun, 22 Sep 2019 18:59:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 89E4634B3E7 for ; Sun, 22 Sep 2019 18:59:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D77BA8 for ; Sun, 22 Sep 2019 18:59:33 +0000 (UTC) From: "Alexys Jacob" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexys Jacob" Message-ID: <1569178705.463f43f31b8622aeda1c2eb5b37639ef5bd6229d.ultrabug@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.3.ebuild dev-python/cheetah3/metadata.xml X-VCS-Directories: dev-python/cheetah3/ X-VCS-Committer: ultrabug X-VCS-Committer-Name: Alexys Jacob X-VCS-Revision: 463f43f31b8622aeda1c2eb5b37639ef5bd6229d X-VCS-Branch: master Date: Sun, 22 Sep 2019 18:59:33 +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: 59692553-d6c5-4166-830f-2a67855f37c9 X-Archives-Hash: ac7ab374f14fd6dbed50797af22972e6 commit: 463f43f31b8622aeda1c2eb5b37639ef5bd6229d Author: Alexys Jacob gentoo org> AuthorDate: Sun Sep 22 13:32:42 2019 +0000 Commit: Alexys Jacob gentoo org> CommitDate: Sun Sep 22 18:58:25 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=463f43f3 dev-python/cheetah3: new ebuild needed by >=mongodb-4.2 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Alexys Jacob gentoo.org> dev-python/cheetah3/Manifest | 1 + dev-python/cheetah3/cheetah3-3.2.3.ebuild | 44 +++++++++++++++++++++++++++++++ dev-python/cheetah3/metadata.xml | 15 +++++++++++ 3 files changed, 60 insertions(+) diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest new file mode 100644 index 00000000000..7aca2361cfc --- /dev/null +++ b/dev-python/cheetah3/Manifest @@ -0,0 +1 @@ +DIST Cheetah3-3.2.3.tar.gz 875441 BLAKE2B 0fa4a533bd66f98e982312a451f464a2c3fb645916b98aaa92d3af219cb49e252985b4c675a612c1c9265f8028577be4be78b551ad4cdbbaca7f4439624193b9 SHA512 ebc735b59d61912679405469f9d509fc73bbdde51c414320994421849f4a02266d2c286c0f618cab2a592ab47ac0a4be9ec444fab75145a0c31dd0c3c39fc1e3 diff --git a/dev-python/cheetah3/cheetah3-3.2.3.ebuild b/dev-python/cheetah3/cheetah3-3.2.3.ebuild new file mode 100644 index 00000000000..57e7486829a --- /dev/null +++ b/dev-python/cheetah3/cheetah3-3.2.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 + +MY_PN="Cheetah3" +MY_P="${MY_PN}-${PV/_}" + +DESCRIPTION="Python-powered template engine and code generator" +HOMEPAGE="http://www.cheetahtemplate.org/ https://pypi.org/project/Cheetah3/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +IUSE="" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +RDEPEND="dev-python/markdown[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +DOCS=( ANNOUNCE.rst README.rst TODO ) +# Race in the test suite +DISTUTILS_IN_SOURCE_BUILD=1 + +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() { + "${PYTHON}" Cheetah/Tests/Test.py || die "Testing failed with ${EPYTHON}" +} diff --git a/dev-python/cheetah3/metadata.xml b/dev-python/cheetah3/metadata.xml new file mode 100644 index 00000000000..52f8ccc1f81 --- /dev/null +++ b/dev-python/cheetah3/metadata.xml @@ -0,0 +1,15 @@ + + + + + python@gentoo.org + Python + + Cheetah is a Python-powered template engine and code generator. It can be used +as a standalone utility or it can be combined with other tools. Web developers +are its principle user group, but it has many potential uses and is also being +used to generate C++ game code, Java, SQL, form emails, and even Python code. + + Cheetah3 + +