1 |
commit: b7eee4ad1f05ffa5801888e7c4e897b5654e8129 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 30 22:33:54 2018 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 30 22:34:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7eee4ad |
7 |
|
8 |
dev-python/tempita: add missing patch |
9 |
|
10 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
.../tempita/files/tempita-0.5.3-pypy-tests.patch | 26 ++++++++++++++++++++++ |
14 |
1 file changed, 26 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tempita/files/tempita-0.5.3-pypy-tests.patch b/dev-python/tempita/files/tempita-0.5.3-pypy-tests.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..cdef27276be |
19 |
--- /dev/null |
20 |
+++ b/dev-python/tempita/files/tempita-0.5.3-pypy-tests.patch |
21 |
@@ -0,0 +1,26 @@ |
22 |
+diff --git a/docs/index.txt b/docs/index.txt |
23 |
+index 6d943f6..afe3aa2 100644 |
24 |
+--- a/docs/index.txt |
25 |
++++ b/docs/index.txt |
26 |
+@@ -82,7 +82,7 @@ error (the name will be displayed):: |
27 |
+ >>> tmpl.substitute() |
28 |
+ Traceback (most recent call last): |
29 |
+ ... |
30 |
+- NameError: name 'name' is not defined at line 1 column 6 in file tmpl |
31 |
++ NameError:... name 'name' is not defined at line 1 column 6 in file tmpl |
32 |
+ |
33 |
+ You can also give a namespace to use by default, which |
34 |
+ ``.substitute(...)`` will augment:: |
35 |
+diff --git a/tests/test_template.txt b/tests/test_template.txt |
36 |
+index 9564a9a..d9eb55d 100644 |
37 |
+--- a/tests/test_template.txt |
38 |
++++ b/tests/test_template.txt |
39 |
+@@ -144,7 +144,7 @@ for a variable, if no value is given:: |
40 |
+ >>> sub('{{x}}') |
41 |
+ Traceback (most recent call last): |
42 |
+ ... |
43 |
+- NameError: name 'x' is not defined at line 1 column 3 |
44 |
++ NameError:... name 'x' is not defined at line 1 column 3 |
45 |
+ |
46 |
+ And comments work:: |
47 |
+ |