1 |
commit: 9683847375cba7a0a9ef552dff7663398f07843b |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 13 12:03:35 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 13 12:24:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96838473 |
7 |
|
8 |
dev-python/empy: bump to 3.3.4; add py39 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-python/empy/Manifest | 1 + |
14 |
dev-python/empy/empy-3.3.4.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/empy/Manifest b/dev-python/empy/Manifest |
18 |
index 916446ae3c5..648458fd561 100644 |
19 |
--- a/dev-python/empy/Manifest |
20 |
+++ b/dev-python/empy/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST empy-3.3.3.tar.gz 138429 BLAKE2B ed2ea352161bcd141620253e059255c6d6437d72d8e72075e1abc01efc496715ff07eb1e9baef70a631e752761f828f2f4750087da154c0a6df1434e47a8f0b7 SHA512 74c091d6dac39ad9ddb6f46963066dab1f8846565f77b1b0ad4352eda3534d4312b0e95d3682387d75c2f5553d678c6d3112471eec032e2bdea0e891dd8217b1 |
23 |
+DIST empy-3.3.4.tar.gz 138495 BLAKE2B 0040b26966d3d6c7911cc7957159084ddb610085affaa5cf214121fdb292c43b071df8990749e02c0c3ef46cba131188e0907b8ab7c28a0834498b505bec0a2e SHA512 5de8de26484468d180a2575bfc8302cb3d32004ed4d70768310b7564a9ed1bb880b8c1d862f419588b2b5baa8c3da8bc707eac41f3921e6136cc5bc3f47f1a3d |
24 |
|
25 |
diff --git a/dev-python/empy/empy-3.3.4.ebuild b/dev-python/empy/empy-3.3.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..fa463ba9b70 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/empy/empy-3.3.4.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+DISTUTILS_USE_SETUPTOOLS=no |
37 |
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="A powerful and robust templating system for Python" |
42 |
+HOMEPAGE="http://www.alcyone.com/software/empy/" |
43 |
+SRC_URI="http://www.alcyone.com/software/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="LGPL-2.1" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86" |
48 |
+IUSE="doc" |
49 |
+ |
50 |
+python_test() { |
51 |
+ "${PYTHON}" em.py sample.em | diff sample.bench - |
52 |
+ if [[ ${PIPESTATUS[0]} -ne 0 || ${PIPESTATUS[1]} -ne 0 ]]; then |
53 |
+ die "Testing failed with ${EPYTHON}" |
54 |
+ fi |
55 |
+} |
56 |
+ |
57 |
+python_install_all() { |
58 |
+ distutils-r1_python_install_all |
59 |
+ if use doc; then |
60 |
+ dodir /usr/share/doc/"${PF}"/examples |
61 |
+ insinto /usr/share/doc/"${PF}"/examples |
62 |
+ doins sample.em sample.bench |
63 |
+ #3.3 has the html in this funny place. Fix in later version: |
64 |
+ dohtml doc/home/max/projects/empy/doc/em/* |
65 |
+ dohtml doc/home/max/projects/empy/doc/em.html |
66 |
+ dohtml doc/index.html |
67 |
+ fi |
68 |
+} |