public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/empy/
Date: Sat, 29 Jan 2022 15:02:14 +0000 (UTC)	[thread overview]
Message-ID: <1643467609.729116f62d60a42c11ce929016ce2af2988cc20c.mgorny@gentoo> (raw)

commit:     729116f62d60a42c11ce929016ce2af2988cc20c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 14:45:15 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 14:46:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=729116f6

dev-python/empy: Switch to PEP 517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/empy/empy-3.3.4-r1.ebuild | 37 ++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/dev-python/empy/empy-3.3.4-r1.ebuild b/dev-python/empy/empy-3.3.4-r1.ebuild
new file mode 100644
index 000000000000..93a4db847ee6
--- /dev/null
+++ b/dev-python/empy/empy-3.3.4-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} 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 -
+	assert "Testing failed with ${EPYTHON}"
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	if use doc; then
+		docinto examples
+		dodoc sample.em sample.bench
+		# 3.3 has the html in this funny place. Fix in later version:
+		docinto html
+		dodoc doc/home/max/projects/empy/doc/em/*
+		dodoc doc/home/max/projects/empy/doc/em.html
+		dodoc doc/index.html
+	fi
+}


             reply	other threads:[~2022-01-29 15:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-29 15:02 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-17  8:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/empy/ Arthur Zamarin
2022-04-11  7:57 Michał Górny
2022-03-11 14:01 Arthur Zamarin
2021-08-28 13:53 Arthur Zamarin
2021-01-19  2:58 Sam James
2020-11-15 13:07 Michał Górny
2020-11-15 11:39 Sam James
2020-10-13 12:24 Alexis Ballier
2020-08-01 22:37 Michał Górny
2020-04-22  5:59 Michał Górny
2020-03-27  8:58 Michał Górny
2020-03-27  8:58 Michał Górny
2020-03-27  8:58 Michał Górny
2020-03-27  8:58 Michał Górny
2018-08-05 13:53 Patrice Clement
2017-02-27 10:49 Alexis Ballier
2017-02-23  9:44 Alexis Ballier
2016-02-23 18:06 Alexis Ballier

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=1643467609.729116f62d60a42c11ce929016ce2af2988cc20c.mgorny@gentoo \
    --to=mgorny@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