public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cheetah3/
Date: Sat, 31 Oct 2020 01:36:54 +0000 (UTC)	[thread overview]
Message-ID: <1604108203.cbd4bc2e9ebb89e6569a5285b0a10e605ab34774.chutzpah@gentoo> (raw)

commit:     cbd4bc2e9ebb89e6569a5285b0a10e605ab34774
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Sat Oct 31 00:25:40 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> 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 <chutzpah <AT> 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}"
+}


             reply	other threads:[~2020-10-31  1:36 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-31  1:36 Patrick McLean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-06 17:23 [gentoo-commits] repo/gentoo:master commit in: dev-python/cheetah3/ Michał Górny
2024-07-06  8:33 Michał Górny
2024-07-06  7:26 Arthur Zamarin
2024-07-06  6:33 Sam James
2024-07-06  6:32 Sam James
2024-07-06  6:26 Sam James
2024-06-16 20:51 Petr Vaněk
2024-06-16 20:51 Petr Vaněk
2024-06-16 20:51 Petr Vaněk
2023-07-28 15:11 Michał Górny
2023-05-04 16:11 Michał Górny
2023-05-03  7:57 Michał Górny
2023-05-03  6:33 Arthur Zamarin
2023-05-02 20:50 Sam James
2023-05-02 20:11 Sam James
2023-05-02 18:57 Arthur Zamarin
2023-03-31 15:40 Michał Górny
2023-03-19 13:49 Erik Mackdanz
2022-12-04  9:23 WANG Xuerui
2022-06-22 18:35 Arthur Zamarin
2022-06-22  6:58 Agostino Sarubbo
2022-06-22  6:53 Agostino Sarubbo
2022-06-21 19:18 Arthur Zamarin
2022-05-25 18:42 Arthur Zamarin
2022-05-01 13:42 Michał Górny
2022-04-09 19:59 Arthur Zamarin
2022-04-09 19:58 Arthur Zamarin
2021-08-05 18:07 Michał Górny
2021-07-27 11:00 Marek Szuba
2020-12-17 17:09 Michał Górny
2020-12-17 17:09 Michał Górny
2020-12-17 16:41 Agostino Sarubbo
2020-12-10 22:04 Thomas Deutschmann
2020-06-20 14:20 Thomas Deutschmann
2020-05-13 14:52 Agostino Sarubbo
2020-05-11 15:32 Mart Raudsepp
2020-05-05 14:24 Michał Górny
2020-05-04 10:29 Michał Górny
2020-04-29  4:12 Patrick McLean
2019-09-23 13:43 Alexys Jacob
2019-09-22 18:59 Alexys Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1604108203.cbd4bc2e9ebb89e6569a5285b0a10e605ab34774.chutzpah@gentoo \
    --to=chutzpah@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox