Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyparsing/files/
Date: Tue, 29 Aug 2017 20:18:34
Message-Id: 1504037894.e398e713729bf73378bd84088adc97eb8c5ad4a3.monsieurp@gentoo
1 commit: e398e713729bf73378bd84088adc97eb8c5ad4a3
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 16 08:47:54 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 29 20:18:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e398e713
7
8 dev-python/pyparsing: remove unused patch.
9
10 .../pyparsing/files/pyparsing-2.0.4-print.patch | 51 ----------------------
11 1 file changed, 51 deletions(-)
12
13 diff --git a/dev-python/pyparsing/files/pyparsing-2.0.4-print.patch b/dev-python/pyparsing/files/pyparsing-2.0.4-print.patch
14 deleted file mode 100644
15 index 6262a18ea03..00000000000
16 --- a/dev-python/pyparsing/files/pyparsing-2.0.4-print.patch
17 +++ /dev/null
18 @@ -1,51 +0,0 @@
19 - pyparsing.py | 20 +++++++++++---------
20 - 1 file changed, 11 insertions(+), 9 deletions(-)
21 -
22 -diff --git a/pyparsing.py b/pyparsing.py
23 -index 81c82ce..55c72a3 100644
24 ---- a/pyparsing.py
25 -+++ b/pyparsing.py
26 -@@ -22,6 +22,8 @@
27 - # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 - #
29 -
30 -+from __future__ import print_function
31 -+
32 - __doc__ = \
33 - """
34 - pyparsing module - Classes and methods to define and execute parsing grammars
35 -@@ -1554,19 +1556,19 @@ class ParserElement(object):
36 - run a parse expression against a list of sample strings.
37 - """
38 - for t in tests:
39 -- print t
40 -+ print(t)
41 - try:
42 -- print self.parseString(t).dump()
43 -+ print(self.parseString(t).dump())
44 - except ParseException as pe:
45 - if '\n' in t:
46 -- print line(pe.loc, t)
47 -- print ' '*(col(pe.loc,t)-1) + '^'
48 -+ print(line(pe.loc, t))
49 -+ print(' '*(col(pe.loc,t)-1) + '^')
50 - else:
51 -- print ' '*pe.loc + '^'
52 -- print pe
53 -- print
54 -+ print(' '*pe.loc + '^')
55 -+ print(pe)
56 -+ print()
57 -+
58 -
59 --
60 - class Token(ParserElement):
61 - """Abstract C{ParserElement} subclass, for defining atomic matching patterns."""
62 - def __init__( self ):
63 -@@ -3803,4 +3805,4 @@ if __name__ == "__main__":
64 - """
65 - CHANGES
66 - UnitTests.py
67 --"""
68 -\ No newline at end of file
69 -+"""