public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pyparsing/files/
@ 2017-08-29 20:18 Patrice Clement
  0 siblings, 0 replies; only message in thread
From: Patrice Clement @ 2017-08-29 20:18 UTC (permalink / raw
  To: gentoo-commits

commit:     e398e713729bf73378bd84088adc97eb8c5ad4a3
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Aug 16 08:47:54 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 20:18:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e398e713

dev-python/pyparsing: remove unused patch.

 .../pyparsing/files/pyparsing-2.0.4-print.patch    | 51 ----------------------
 1 file changed, 51 deletions(-)

diff --git a/dev-python/pyparsing/files/pyparsing-2.0.4-print.patch b/dev-python/pyparsing/files/pyparsing-2.0.4-print.patch
deleted file mode 100644
index 6262a18ea03..00000000000
--- a/dev-python/pyparsing/files/pyparsing-2.0.4-print.patch
+++ /dev/null
@@ -1,51 +0,0 @@
- pyparsing.py | 20 +++++++++++---------
- 1 file changed, 11 insertions(+), 9 deletions(-)
-
-diff --git a/pyparsing.py b/pyparsing.py
-index 81c82ce..55c72a3 100644
---- a/pyparsing.py
-+++ b/pyparsing.py
-@@ -22,6 +22,8 @@
- # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- #
- 
-+from __future__ import print_function
-+
- __doc__ = \
- """
- pyparsing module - Classes and methods to define and execute parsing grammars
-@@ -1554,19 +1556,19 @@ class ParserElement(object):
-            run a parse expression against a list of sample strings.
-         """
-         for t in tests:
--            print t
-+            print(t)
-             try:
--                print self.parseString(t).dump()
-+                print(self.parseString(t).dump())
-             except ParseException as pe:
-                 if '\n' in t:
--                    print line(pe.loc, t)
--                    print ' '*(col(pe.loc,t)-1) + '^'
-+                    print(line(pe.loc, t))
-+                    print(' '*(col(pe.loc,t)-1) + '^')
-                 else:
--                    print ' '*pe.loc + '^'
--                print pe
--            print
-+                    print(' '*pe.loc + '^')
-+                print(pe)
-+            print()
-+
- 
--        
- class Token(ParserElement):
-     """Abstract C{ParserElement} subclass, for defining atomic matching patterns."""
-     def __init__( self ):
-@@ -3803,4 +3805,4 @@ if __name__ == "__main__":
- """
- CHANGES
- UnitTests.py
--"""
-\ No newline at end of file
-+"""


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-29 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-29 20:18 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyparsing/files/ Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox