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 2057A138359 for ; Tue, 13 Oct 2020 12:24:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F137E0935; Tue, 13 Oct 2020 12:24:21 +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 6718AE0935 for ; Tue, 13 Oct 2020 12:24:21 +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 70C2E340C08 for ; Tue, 13 Oct 2020 12:24:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E40AE38C for ; Tue, 13 Oct 2020 12:24:18 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1602591854.9683847375cba7a0a9ef552dff7663398f07843b.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/empy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/empy/Manifest dev-python/empy/empy-3.3.4.ebuild X-VCS-Directories: dev-python/empy/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 9683847375cba7a0a9ef552dff7663398f07843b X-VCS-Branch: master Date: Tue, 13 Oct 2020 12:24:18 +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: 9baae332-adc4-4633-aa30-9a94e503155d X-Archives-Hash: 8c740ee59b8ff805f7e6ee73551d4e60 commit: 9683847375cba7a0a9ef552dff7663398f07843b Author: Alexis Ballier gentoo org> AuthorDate: Tue Oct 13 12:03:35 2020 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Tue Oct 13 12:24:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96838473 dev-python/empy: bump to 3.3.4; add py39 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Alexis Ballier gentoo.org> dev-python/empy/Manifest | 1 + dev-python/empy/empy-3.3.4.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/empy/Manifest b/dev-python/empy/Manifest index 916446ae3c5..648458fd561 100644 --- a/dev-python/empy/Manifest +++ b/dev-python/empy/Manifest @@ -1 +1,2 @@ DIST empy-3.3.3.tar.gz 138429 BLAKE2B ed2ea352161bcd141620253e059255c6d6437d72d8e72075e1abc01efc496715ff07eb1e9baef70a631e752761f828f2f4750087da154c0a6df1434e47a8f0b7 SHA512 74c091d6dac39ad9ddb6f46963066dab1f8846565f77b1b0ad4352eda3534d4312b0e95d3682387d75c2f5553d678c6d3112471eec032e2bdea0e891dd8217b1 +DIST empy-3.3.4.tar.gz 138495 BLAKE2B 0040b26966d3d6c7911cc7957159084ddb610085affaa5cf214121fdb292c43b071df8990749e02c0c3ef46cba131188e0907b8ab7c28a0834498b505bec0a2e SHA512 5de8de26484468d180a2575bfc8302cb3d32004ed4d70768310b7564a9ed1bb880b8c1d862f419588b2b5baa8c3da8bc707eac41f3921e6136cc5bc3f47f1a3d diff --git a/dev-python/empy/empy-3.3.4.ebuild b/dev-python/empy/empy-3.3.4.ebuild new file mode 100644 index 00000000000..fa463ba9b70 --- /dev/null +++ b/dev-python/empy/empy-3.3.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A powerful and robust templating system for Python" +HOMEPAGE="http://www.alcyone.com/software/empy/" +SRC_URI="http://www.alcyone.com/software/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86" +IUSE="doc" + +python_test() { + "${PYTHON}" em.py sample.em | diff sample.bench - + if [[ ${PIPESTATUS[0]} -ne 0 || ${PIPESTATUS[1]} -ne 0 ]]; then + die "Testing failed with ${EPYTHON}" + fi +} + +python_install_all() { + distutils-r1_python_install_all + if use doc; then + dodir /usr/share/doc/"${PF}"/examples + insinto /usr/share/doc/"${PF}"/examples + doins sample.em sample.bench + #3.3 has the html in this funny place. Fix in later version: + dohtml doc/home/max/projects/empy/doc/em/* + dohtml doc/home/max/projects/empy/doc/em.html + dohtml doc/index.html + fi +}