commit python-pyparsing for openSUSE:Factory

2020-06-05 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2020-06-05 20:00:35

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.3606 (New)


Package is "python-pyparsing"

Fri Jun  5 20:00:35 2020 rev:38 rq:811049 version:2.4.7

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2020-05-07 15:06:12.659799550 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.3606/python-pyparsing.changes  
2020-06-05 20:00:42.932039279 +0200
@@ -1,0 +2,5 @@
+Wed Jun  3 08:31:39 UTC 2020 - pgaj...@suse.com
+
+- unittest2 -> pytest
+
+---



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.haoovu/_old  2020-06-05 20:00:44.592044724 +0200
+++ /var/tmp/diff_new_pack.haoovu/_new  2020-06-05 20:00:44.596044738 +0200
@@ -27,6 +27,7 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
+%bcond_without python2
 Name:   python-pyparsing%{psuffix}
 Version:2.4.7
 Release:0
@@ -39,7 +40,7 @@
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
 %if %{with test}
-BuildRequires:  %{python_module unittest2}
+BuildRequires:  %{python_module pytest}
 %endif
 %ifpython2
 Provides:   %{oldpython}-parsing = %{version}
@@ -74,12 +75,7 @@
 
 %check
 %if %{with test}
-%{python_expand export PYTHONPATH=.
-# unittest from Python 2.7 doesn't load tests correctly
-# no work simple_unit_tests.py examples.antlr_grammar_tests
-$python -munittest2 -v examples.test_bibparse
-$python unitTests.py
-}
+%pytest
 %endif
 
 %if ! %{with test}




commit python-pyparsing for openSUSE:Factory

2020-05-07 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2020-05-07 15:05:56

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.2738 (New)


Package is "python-pyparsing"

Thu May  7 15:05:56 2020 rev:37 rq:800308 version:2.4.7

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2020-02-14 16:23:27.511128252 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.2738/python-pyparsing.changes  
2020-05-07 15:06:12.659799550 +0200
@@ -1,0 +2,12 @@
+Tue May  5 09:08:59 UTC 2020 - Dirk Mueller 
+
+- update to 2.4.7:
+  . Each bug with Regex expressions
+  . And expressions not properly constructing with generator
+  . Traceback abbreviation
+  . Bug in delta_time example
+  . Fix regexen in pyparsing_common.real and .sci_real
+  . Avoid FutureWarning on Python 3.7 or later
+  . Cleanup output in runTests if comments are embedded in test string
+
+---

Old:

  pyparsing-2.4.6.tar.gz

New:

  pyparsing-2.4.7.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.mWZHml/_old  2020-05-07 15:06:13.963802434 +0200
+++ /var/tmp/diff_new_pack.mWZHml/_new  2020-05-07 15:06:13.963802434 +0200
@@ -28,7 +28,7 @@
 %bcond_with test
 %endif
 Name:   python-pyparsing%{psuffix}
-Version:2.4.6
+Version:2.4.7
 Release:0
 Summary:Grammar Parser Library for Python
 License:MIT AND GPL-2.0-or-later AND GPL-3.0-or-later

++ pyparsing-2.4.6.tar.gz -> pyparsing-2.4.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyparsing-2.4.6/CHANGES new/pyparsing-2.4.7/CHANGES
--- old/pyparsing-2.4.6/CHANGES 2019-12-25 06:47:29.0 +0100
+++ new/pyparsing-2.4.7/CHANGES 2020-03-31 04:48:57.0 +0200
@@ -2,6 +2,18 @@
 Change Log
 ==
 
+Version 2.4.7 - March, 2020
+---
+- Backport of selected fixes from 3.0.0 work:
+  . Each bug with Regex expressions
+  . And expressions not properly constructing with generator
+  . Traceback abbreviation
+  . Bug in delta_time example
+  . Fix regexen in pyparsing_common.real and .sci_real
+  . Avoid FutureWarning on Python 3.7 or later
+  . Cleanup output in runTests if comments are embedded in test string
+
+
 Version 2.4.6 - December, 2019
 --
 - Fixed typos in White mapping of whitespace characters, to use
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyparsing-2.4.6/PKG-INFO new/pyparsing-2.4.7/PKG-INFO
--- old/pyparsing-2.4.6/PKG-INFO2019-12-25 06:49:39.820865200 +0100
+++ new/pyparsing-2.4.7/PKG-INFO2020-04-06 00:19:28.676653400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: pyparsing
-Version: 2.4.6
+Version: 2.4.7
 Summary: Python parsing module
 Home-page: https://github.com/pyparsing/pyparsing/
 Author: Paul McGuire
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyparsing-2.4.6/examples/delta_time.py 
new/pyparsing-2.4.7/examples/delta_time.py
--- old/pyparsing-2.4.6/examples/delta_time.py  2019-11-03 22:47:38.0 
+0100
+++ new/pyparsing-2.4.7/examples/delta_time.py  2020-03-31 04:48:57.0 
+0200
@@ -52,6 +52,9 @@
 def plural(s):
 return CK(s) | CK(s + 's').addParseAction(pp.replaceWith(s))
 week, day, hour, minute, second = map(plural, "week day hour minute 
second".split())
+time_units = hour | minute | second
+any_time_units = week | day | time_units
+
 am = CL("am")
 pm = CL("pm")
 COLON = pp.Suppress(':')
@@ -69,7 +72,7 @@
 couple = (pp.Optional(CK("a")) + CK("couple") + 
pp.Optional(CK("of"))).setParseAction(pp.replaceWith(2))
 a_qty = (CK("a") | CK("an")).setParseAction(pp.replaceWith(1))
 the_qty = CK("the").setParseAction(pp.replaceWith(1))
-qty = pp.ungroup(integer | couple | a_qty | the_qty)
+qty = pp.ungroup(integer | couple | a_qty | the_qty).setName("qty")
 time_ref_present = 
pp.Empty().addParseAction(pp.replaceWith(True))('time_ref_present')
 
 def fill_24hr_time_fields(t):
@@ -86,8 +89,10 @@
 weekday_name_list = list(calendar.day_name)
 weekday_name = pp.oneOf(weekday_name_list)
 
-_24hour_time = pp.Word(pp.nums, exact=4).addParseAction(lambda t: 
[int(t[0][:2]),int(t[0][2:])],
-fill_24hr_time_fields)
+_24hour_time = (~(integer + any_time_units)
++ pp.Word(pp.nums, exact=4).addParseAction(lambda t: 
[int(t[0][:2]),int(t[0][2:])],
+ 

commit python-pyparsing for openSUSE:Factory

2020-02-14 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2020-02-14 16:23:24

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.26092 (New)


Package is "python-pyparsing"

Fri Feb 14 16:23:24 2020 rev:36 rq:773486 version:2.4.6

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2019-11-22 10:25:14.541276767 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.26092/python-pyparsing.changes 
2020-02-14 16:23:27.511128252 +0100
@@ -1,0 +2,23 @@
+Tue Feb 11 15:48:22 UTC 2020 - Ondřej Súkup 
+
+- update to 2.4.6
+ * Fixed typos in White mapping of whitespace characters, to use
+correct "\u" prefix instead of "u".
+ *fix bug in left-associative ternary operators defined using
+infixNotation. First reported on StackOverflow by user Jeronimo.
+
+ * Backport of pyparsing_test namespace from 3.0.0, including
+TestParseResultsAsserts mixin class defining unittest-helper
+methods:
+. def assertParseResultsEquals(
+self, result, expected_list=None, expected_dict=None, msg=None)
+. def assertParseAndCheckList(
+self, expr, test_string, expected_list, msg=None, verbose=True)
+. def assertParseAndCheckDict(
+self, expr, test_string, expected_dict, msg=None, verbose=True)
+. def assertRunTestResults(
+self, run_tests_report, expected_parse_results=None, msg=None)
+. def assertRaisesParseException(self, exc_type=ParseException, msg=None)
+
+
+---

Old:

  pyparsing-2.4.5.tar.gz

New:

  pyparsing-2.4.6.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.NM9SpS/_old  2020-02-14 16:23:28.319128690 +0100
+++ /var/tmp/diff_new_pack.NM9SpS/_new  2020-02-14 16:23:28.323128693 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyparsing
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@
 %bcond_with test
 %endif
 Name:   python-pyparsing%{psuffix}
-Version:2.4.5
+Version:2.4.6
 Release:0
 Summary:Grammar Parser Library for Python
 License:MIT AND GPL-2.0-or-later AND GPL-3.0-or-later

++ pyparsing-2.4.5.tar.gz -> pyparsing-2.4.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyparsing-2.4.5/CHANGES new/pyparsing-2.4.6/CHANGES
--- old/pyparsing-2.4.5/CHANGES 2019-11-10 00:01:34.0 +0100
+++ new/pyparsing-2.4.6/CHANGES 2019-12-25 06:47:29.0 +0100
@@ -2,6 +2,34 @@
 Change Log
 ==
 
+Version 2.4.6 - December, 2019
+--
+- Fixed typos in White mapping of whitespace characters, to use
+  correct "\u" prefix instead of "u\".
+
+- Fix bug in left-associative ternary operators defined using
+  infixNotation. First reported on StackOverflow by user Jeronimo.
+
+- Backport of pyparsing_test namespace from 3.0.0, including
+  TestParseResultsAsserts mixin class defining unittest-helper
+  methods:
+  . def assertParseResultsEquals(
+self, result, expected_list=None, expected_dict=None, msg=None)
+  . def assertParseAndCheckList(
+self, expr, test_string, expected_list, msg=None, verbose=True)
+  . def assertParseAndCheckDict(
+self, expr, test_string, expected_dict, msg=None, verbose=True)
+  . def assertRunTestResults(
+self, run_tests_report, expected_parse_results=None, msg=None)
+  . def assertRaisesParseException(self, exc_type=ParseException, msg=None)
+
+  To use the methods in this mixin class, declare your unittest classes as:
+
+from pyparsing import pyparsing_test as ppt
+class MyParserTest(ppt.TestParseResultsAsserts, unittest.TestCase):
+...
+
+
 Version 2.4.5 - November, 2019
 --
 - Fixed encoding when setup.py reads README.rst to include the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyparsing-2.4.5/PKG-INFO new/pyparsing-2.4.6/PKG-INFO
--- old/pyparsing-2.4.5/PKG-INFO2019-11-10 00:07:22.0 +0100
+++ new/pyparsing-2.4.6/PKG-INFO2019-12-25 06:49:39.820865200 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: pyparsing
-Version: 2.4.5
+Version: 2.4.6
 Summary: Python parsing module
 Home-page: https://github.com/pyparsing/pyparsing/
 Author: Paul McGuire
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyparsing-2.4.5/pypa

commit python-pyparsing for openSUSE:Factory

2019-11-22 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2019-11-22 10:25:08

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.26869 (New)


Package is "python-pyparsing"

Fri Nov 22 10:25:08 2019 rev:35 rq:749105 version:2.4.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2019-11-04 17:11:03.556559375 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.26869/python-pyparsing.changes 
2019-11-22 10:25:14.541276767 +0100
@@ -1,0 +2,28 @@
+Sat Nov 16 16:46:50 UTC 2019 - Arun Persaud 
+
+- update to version 2.4.5:
+  * Fixed encoding when setup.py reads README.rst to include the
+project long description when uploading to PyPI. A stray unicode
+space in README.rst prevented the source install on systems whose
+default encoding is not 'utf-8'.
+
+- changes from version 2.4.4:
+  * Unresolved symbol reference in 2.4.3 release was masked by stdout
+buffering in unit tests, thanks for the prompt heads-up, Ned
+Batchelder!
+
+- changes from version 2.4.3:
+  * Fixed a bug in ParserElement.__eq__ that would for some parsers
+create a recursion error at parser definition time. Thanks to
+Michael Clerx for the assist. (Addresses issue #123)
+  * Fixed bug in indentedBlock where a block that ended at the end of
+the input string could cause pyaprsing to loop forever. Raised as
+part of discussion on StackOverflow with geckos.
+  * Backports from pyparsing 3.0.0:
++ __diag__.enable_all_warnings()
++ Fixed bug in PrecededBy which caused infinite recursion, issue
+  #127
++ support for using regex-compiled RE to construct Regex
+  expressions
+
+---

Old:

  pyparsing-2.4.2.tar.gz

New:

  pyparsing-2.4.5.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.hnh7zg/_old  2019-11-22 10:25:15.669276434 +0100
+++ /var/tmp/diff_new_pack.hnh7zg/_new  2019-11-22 10:25:15.677276431 +0100
@@ -28,7 +28,7 @@
 %bcond_with test
 %endif
 Name:   python-pyparsing%{psuffix}
-Version:2.4.2
+Version:2.4.5
 Release:0
 Summary:Grammar Parser Library for Python
 License:MIT AND GPL-2.0-or-later AND GPL-3.0-or-later

++ pyparsing-2.4.2.tar.gz -> pyparsing-2.4.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyparsing-2.4.2/CHANGES new/pyparsing-2.4.5/CHANGES
--- old/pyparsing-2.4.2/CHANGES 2019-07-29 05:55:06.0 +0200
+++ new/pyparsing-2.4.5/CHANGES 2019-11-10 00:01:34.0 +0100
@@ -2,6 +2,37 @@
 Change Log
 ==
 
+Version 2.4.5 - November, 2019
+--
+- Fixed encoding when setup.py reads README.rst to include the
+  project long description when uploading to PyPI. A stray
+  unicode space in README.rst prevented the source install on
+  systems whose default encoding is not 'utf-8'.
+
+
+Version 2.4.4 - November, 2019
+
+- Unresolved symbol reference in 2.4.3 release was masked by stdout
+  buffering in unit tests, thanks for the prompt heads-up, Ned 
+  Batchelder!
+
+
+Version 2.4.3 - November, 2019
+--
+- Fixed a bug in ParserElement.__eq__ that would for some parsers
+  create a recursion error at parser definition time. Thanks to
+  Michael Clerx for the assist. (Addresses issue #123)
+
+- Fixed bug in indentedBlock where a block that ended at the end
+  of the input string could cause pyaprsing to loop forever. Raised
+  as part of discussion on StackOverflow with geckos.
+
+- Backports from pyparsing 3.0.0:
+  . __diag__.enable_all_warnings()
+  . Fixed bug in PrecededBy which caused infinite recursion, issue #127
+  . support for using regex-compiled RE to construct Regex expressions
+
+
 Version 2.4.2 - July, 2019
 --
 - Updated the shorthand notation that has been added for repetition
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyparsing-2.4.2/PKG-INFO new/pyparsing-2.4.5/PKG-INFO
--- old/pyparsing-2.4.2/PKG-INFO2019-07-30 03:31:43.0 +0200
+++ new/pyparsing-2.4.5/PKG-INFO2019-11-10 00:07:22.0 +0100
@@ -1,13 +1,87 @@
 Metadata-Version: 1.2
 Name: pyparsing
-Version: 2.4.2
+Version: 2.4.5
 Summary: Python parsing module
 Home-page: https://github.com/pyparsing/pyparsing/
 Author: Paul McGuire
 Author-email: pt...@users.sourceforge.net
 License: MIT License
 Download-URL: https://pypi.org/project/pyparsing/
-Description: UNKNOWN
+De

commit python-pyparsing for openSUSE:Factory

2019-11-04 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2019-11-04 17:11:02

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.2990 (New)


Package is "python-pyparsing"

Mon Nov  4 17:11:02 2019 rev:34 rq:743993 version:2.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2019-08-08 14:22:00.632361847 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.2990/python-pyparsing.changes  
2019-11-04 17:11:03.556559375 +0100
@@ -1,0 +2,5 @@
+Wed Oct 16 14:22:35 UTC 2019 - Tomáš Chvátal 
+
+- Do not pull in setuptools dependency at all to avoid cycles
+
+---



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.4PkvSg/_old  2019-11-04 17:11:05.084561008 +0100
+++ /var/tmp/diff_new_pack.4PkvSg/_new  2019-11-04 17:11:05.136561063 +0100
@@ -32,26 +32,15 @@
 Release:0
 Summary:Grammar Parser Library for Python
 License:MIT AND GPL-2.0-or-later AND GPL-3.0-or-later
-Group:  Development/Languages/Python
 URL:https://github.com/pyparsing/pyparsing/
-# Upstream tarball from the master branch with gh#pyparsing/pyparsing#47
 Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
-# Source: pyparsing-%{version}.tar.xz
 BuildRequires:  %{python_module base}
-BuildRequires:  %{python_module setuptools}
-%if "%{flavor}" == "test"
-# Not necessary for python3, but tests fail with the standard unittest
-# and python 2.7
-BuildRequires:  %{python_module unittest2}
-%endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-#!BuildIgnore:  python2-pyparsing
-#!BuildIgnore:  python3-pyparsing
-# do not add dependencies on setuptools and ideally not even full "python";
-# this is now a dependency of setuptools
-Requires:   python-base
 BuildArch:  noarch
+%if %{with test}
+BuildRequires:  %{python_module unittest2}
+%endif
 %ifpython2
 Provides:   %{oldpython}-parsing = %{version}
 Obsoletes:  %{oldpython}-parsing < %{version}
@@ -66,6 +55,9 @@
 
 %prep
 %setup -q -n %{modname}-%{version}
+# do not require setuptools
+# https://github.com/pyparsing/pyparsing/pull/133
+sed -i -e 's:from setuptools :from distutils.core :g' setup.py
 
 %build
 %python_build




commit python-pyparsing for openSUSE:Factory

2019-08-08 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2019-08-08 14:21:59

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.9556 (New)


Package is "python-pyparsing"

Thu Aug  8 14:21:59 2019 rev:33 rq:721168 version:2.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2019-04-19 18:38:00.783156514 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.9556/python-pyparsing.changes  
2019-08-08 14:22:00.632361847 +0200
@@ -1,0 +2,115 @@
+Tue Aug  6 05:01:32 UTC 2019 - Thomas Bechtold 
+
+- update to 2.4.2:
+  - Updated the shorthand notation that has been added for repetition
+expressions: expr[min, max], with '...' valid as a min or max value
+  - The defaults on all the `__diag__` switches have been set to False,
+to avoid getting alarming warnings. To use these diagnostics, set
+them to True after importing pyparsing.
+  - Fixed bug introduced by the use of __getitem__ for repetition,
+overlooking Python's legacy implementation of iteration
+by sequentially calling __getitem__ with increasing numbers until
+getting an IndexError. Found during investigation of problem
+reported by murlock, merci!
+  - Changed [...] to emit ZeroOrMore instead of OneOrMore.
+  - Removed code that treats ParserElements like iterables.
+  - Change all __diag__ switches to False.
+- update to 2.4.1.1:
+  - API change adding support for `expr[...]` - the original
+code in 2.4.1 incorrectly implemented this as OneOrMore.
+Code using this feature under this relase should explicitly
+use `expr[0, ...]` for ZeroOrMore and `expr[1, ...]` for
+OneOrMore. In 2.4.2 you will be able to write `expr[...]`
+equivalent to `ZeroOrMore(expr)`.
+  - Bug if composing And, Or, MatchFirst, or Each expressions
+using an expression. This only affects code which uses
+explicit expression construction using the And, Or, etc.
+classes instead of using overloaded operators '+', '^', and
+so on. If constructing an And using a single expression,
+you may get an error that "cannot multiply ParserElement by
+0 or (0, 0)" or a Python `IndexError`.
+  - Some newly-added `__diag__` switches are enabled by default,
+which may give rise to noisy user warnings for existing parsers.
+- update to 2.4.1:
+  - A new shorthand notation has been added for repetition
+expressions: expr[min, max], with '...' valid as a min
+  - '...' can also be used as short hand for SkipTo when used
+in adding parse expressions to compose an And expression.
+  - '...' can also be used as a "skip forward in case of error" expression
+  - Improved exception messages to show what was actually found, not
+just what was expected.
+  - Added diagnostic switches to help detect and warn about common
+parser construction mistakes, or enable additional parse
+debugging. Switches are attached to the pyparsing.__diag__
+namespace object
+  - Added ParseResults.from_dict classmethod, to simplify creation
+of a ParseResults with results names using a dict, which may be nested.
+This makes it easy to add a sub-level of named items to the parsed
+tokens in a parse action.
+  - Added asKeyword argument (default=False) to oneOf, to force
+keyword-style matching on the generated expressions.
+  - ParserElement.runTests now accepts an optional 'file' argument to
+redirect test output to a file-like object (such as a StringIO,
+or opened file). Default is to write to sys.stdout.
+  - conditionAsParseAction is a helper method for constructing a
+parse action method from a predicate function that simply
+returns a boolean result. Useful for those places where a
+predicate cannot be added using addCondition, but must be
+converted to a parse action (such as in infixNotation). May be
+used as a decorator if default message and exception types
+can be used. See ParserElement.addCondition for more details
+about the expected signature and behavior for predicate condition
+methods.
+  - While investigating issue #93, I found that Or and
+addCondition could interact to select an alternative that
+is not the longest match. This is because Or first checks
+all alternatives for matches without running attached
+parse actions or conditions, orders by longest match, and
+then rechecks for matches with conditions and parse actions.
+Some expressions, when checking with conditions, may end
+up matching on a shorter token list than originally matched,
+but would be selected because of its original priority.
+This matching code has been expanded to do more extensive
+searching for matches when a se

commit python-pyparsing for openSUSE:Factory

2019-04-19 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2019-04-19 18:37:59

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.5536 (New)


Package is "python-pyparsing"

Fri Apr 19 18:37:59 2019 rev:32 rq:695770 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2019-01-28 20:48:51.597878876 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.5536/python-pyparsing.changes  
2019-04-19 18:38:00.783156514 +0200
@@ -1,0 +2,40 @@
+Thu Apr 18 13:30:30 UTC 2019 - Ondřej Súkup 
+
+- update to 2.4.0
+- drop nose_to_unittest.patch
+- drop _service
+ * Adds a pyparsing.__compat__ object for specifying compatibility with
+   future breaking changes.
+ * Conditionalizes the API-breaking behavior, based on the value
+   pyparsing.__compat__.collect_all_And_tokens.  By default, this value
+   will be set to True, reflecting the new bugfixed behavior.
+ * User code that is dependent on the pre-bugfix behavior can restore
+   it by setting this value to False.
+ * Updated unitTests.py and simple_unit_tests.py to be compatible with
+   "python setup.py test".
+ * Fixed bug in runTests handling '\n' literals in quoted strings.
+ * Added tag_body attribute to the start tag expressions generated by
+   makeHTMLTags, so that you can avoid using SkipTo to roll your own
+   tag body expression:
+ * indentedBlock failure handling was improved
+ * Address Py2 incompatibility in simpleUnitTests, plus explain() and
+   Forward str() cleanup
+ * Fixed docstring with embedded '\w', which creates SyntaxWarnings in Py3.8.
+ * Added example parser for rosettacode.org tutorial compiler.
+ * Added example to show how an HTML table can be parsed into a
+   collection of Python lists or dicts, one per row.
+ * Updated SimpleSQL.py example to handle nested selects, reworked
+   'where' expression to use infixNotation.
+ * Added include_preprocessor.py, similar to macroExpander.py.
+ * Examples using makeHTMLTags use new tag_body expression when
+   retrieving a tag's body text.
+ * Updated examples that are runnable as unit tests
+
+---
+Thu Apr 11 15:55:25 UTC 2019 - Thomas Bechtold 
+
+- Do not BuildRequire python-unittest2 when no tests are executed.
+  This breaks a build cycle for pyparsing->unittest2->traceback2->pbr->
+  Pygments->pytest->setuptools_scm->packaging which needs pyparsing
+
+---

Old:

  _service
  _servicedata
  nose_to_unittest.patch
  pyparsing-2.3.0+git.1546912853.bf348d6.tar.xz

New:

  pyparsing-2.4.0.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.qjMugG/_old  2019-04-19 18:38:02.363158521 +0200
+++ /var/tmp/diff_new_pack.qjMugG/_new  2019-04-19 18:38:02.391158557 +0200
@@ -28,22 +28,22 @@
 %bcond_with test
 %endif
 Name:   python-pyparsing%{psuffix}
-Version:2.3.0+git.1546912853.bf348d6
+Version:2.4.0
 Release:0
 Summary:Grammar Parser Library for Python
 License:MIT AND GPL-2.0-or-later AND GPL-3.0-or-later
 Group:  Development/Languages/Python
 URL:https://github.com/pyparsing/pyparsing/
 # Upstream tarball from the master branch with gh#pyparsing/pyparsing#47
-# Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%%{version}.tar.gz
-Source: pyparsing-%{version}.tar.xz
-# Remove dependency on nose, gh#pyparsing/pyparsing#64
-Patch0: nose_to_unittest.patch
+Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
+# Source: pyparsing-%{version}.tar.xz
 BuildRequires:  %{python_module base}
 BuildRequires:  %{python_module setuptools}
+%if "%{flavor}" == "test"
 # Not necessary for python3, but tests fail with the standard unittest
 # and python 2.7
 BuildRequires:  %{python_module unittest2}
+%endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 #!BuildIgnore:  python2-pyparsing
@@ -66,7 +66,6 @@
 
 %prep
 %setup -q -n %{modname}-%{version}
-%autopatch -p1
 
 %build
 %python_build




commit python-pyparsing for openSUSE:Factory

2019-01-28 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2019-01-28 20:46:48

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.28833 (New)


Package is "python-pyparsing"

Mon Jan 28 20:46:48 2019 rev:31 rq:666937 version:2.3.0+git.1546912853.bf348d6

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2019-01-08 12:17:30.548980206 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.28833/python-pyparsing.changes 
2019-01-28 20:48:51.597878876 +0100
@@ -1,0 +2,23 @@
+Thu Jan 17 15:54:39 UTC 2019 - Dominique Leuenberger 
+
+- BuildIgnore python[23]-pyparsing: python-packaging requires it
+  for some actions it could perform, but we don't make use of these
+  here. Ignoring this dependency allows us to break open a
+  BuildCycle.
+
+---
+Tue Jan 08 19:10:15 UTC 2019 - opensuse-packag...@opensuse.org
+
+- Update to version 2.3.0+git.1546912853.bf348d6:
+  * Update CHANGES to include note on fixing issue #65; generalized the note 
about the decaf language example; added sample code from the statemachine 
examples.
+  * Unit test to test fix for issue #65
+  * Fix inconsistency between Keyword(caseless=True) and CaselessKeyword 
(issue #65)
+  * Fix typo: 'chemcialFormulas.py' -> 'chemicalFormulas.py'
+  * Convert exception logging to use ParseException.explain()
+  * Add experimental ParseException.explain() method, to return a multiline 
string showing the parse expressions leading to a parsing failure
+  * Clean up CHANGES notes for new examples
+  * Add document signoff and library book state examples;
+  * Update statemachine demo code to Py3
+  * Update Lucene grammar example, but remove from Travis-CI acceptance scripts
+
+---

Old:

  pyparsing-2.3.1~test5.tar.gz

New:

  _service
  _servicedata
  pyparsing-2.3.0+git.1546912853.bf348d6.tar.xz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.PeBgkk/_old  2019-01-28 20:48:52.145878299 +0100
+++ /var/tmp/diff_new_pack.PeBgkk/_new  2019-01-28 20:48:52.145878299 +0100
@@ -21,35 +21,37 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
+%define psuffix -test
 %bcond_without test
 %else
+%define psuffix %{nil}
 %bcond_with test
 %endif
-%if %{with test}
-Name:   python-pyparsing-%{flavor}
-%else
-Name:   python-pyparsing
-%endif
-Version:2.3.1~test5
+Name:   python-pyparsing%{psuffix}
+Version:2.3.0+git.1546912853.bf348d6
 Release:0
 Summary:Grammar Parser Library for Python
 License:MIT AND GPL-2.0-or-later AND GPL-3.0-or-later
 Group:  Development/Languages/Python
 URL:https://github.com/pyparsing/pyparsing/
 # Upstream tarball from the master branch with gh#pyparsing/pyparsing#47
-Source: pyparsing-%{version}.tar.gz
+# Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%%{version}.tar.gz
+Source: pyparsing-%{version}.tar.xz
 # Remove dependency on nose, gh#pyparsing/pyparsing#64
-Patch:  nose_to_unittest.patch
+Patch0: nose_to_unittest.patch
 BuildRequires:  %{python_module base}
-# Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
+# Not necessary for python3, but tests fail with the standard unittest
+# and python 2.7
+BuildRequires:  %{python_module unittest2}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python2-unittest2
+#!BuildIgnore:  python2-pyparsing
+#!BuildIgnore:  python3-pyparsing
 # do not add dependencies on setuptools and ideally not even full "python";
 # this is now a dependency of setuptools
 Requires:   python-base
 BuildArch:  noarch
-
 %ifpython2
 Provides:   %{oldpython}-parsing = %{version}
 Obsoletes:  %{oldpython}-parsing < %{version}
@@ -63,7 +65,7 @@
 code uses to construct the grammar directly in Python code.
 
 %prep
-%setup -q -n %{modname}-2.3.1
+%setup -q -n %{modname}-%{version}
 %autopatch -p1
 
 %build
@@ -81,16 +83,16 @@
 
 %check
 %if %{with test}
-export PYTHONPATH=.:example
+%{python_expand export PYTHONPATH=.
 # unittest from Python 2.7 doesn't load tests correctly
-python2 -munittest2 -v simple_unit_tests.py examples.test_bibparse 
examples.antlr_grammar_tests
-python3 -munittest  -v simple_unit_tests.py examples.test_bibparse 
examples.antlr_grammar_tests

commit python-pyparsing for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2019-01-08 12:17:29

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.28833 (New)


Package is "python-pyparsing"

Tue Jan  8 12:17:29 2019 rev:30 rq:663372 version:2.3.1~test5

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2019-01-05 14:40:30.584574397 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.28833/python-pyparsing.changes 
2019-01-08 12:17:30.548980206 +0100
@@ -1,0 +2,6 @@
+Mon Jan  7 12:36:20 UTC 2019 - Matěj Cepl 
+
+- Add nose_to_unittest.patch to avoid nose BR and rewrite tests
+  to work (gh#pyparsing/pyparsing#64)
+
+---

New:

  nose_to_unittest.patch



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.GkQA0N/_old  2019-01-08 12:17:30.992979789 +0100
+++ /var/tmp/diff_new_pack.GkQA0N/_new  2019-01-08 12:17:30.996979785 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyparsing
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+%define modname pyparsing
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
@@ -37,8 +38,9 @@
 URL:https://github.com/pyparsing/pyparsing/
 # Upstream tarball from the master branch with gh#pyparsing/pyparsing#47
 Source: pyparsing-%{version}.tar.gz
+# Remove dependency on nose, gh#pyparsing/pyparsing#64
+Patch:  nose_to_unittest.patch
 BuildRequires:  %{python_module base}
-BuildRequires:  %{python_module nose}
 # Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -61,7 +63,8 @@
 code uses to construct the grammar directly in Python code.
 
 %prep
-%setup -q -n pyparsing-2.3.1
+%setup -q -n %{modname}-2.3.1
+%autopatch -p1
 
 %build
 %python_build
@@ -79,7 +82,11 @@
 %check
 %if %{with test}
 export PYTHONPATH=.:example
-%python_exec setup.py nosetests -v
+# unittest from Python 2.7 doesn't load tests correctly
+python2 -munittest2 -v simple_unit_tests.py examples.test_bibparse 
examples.antlr_grammar_tests
+python3 -munittest  -v simple_unit_tests.py examples.test_bibparse 
examples.antlr_grammar_tests
+# Fails with python2 gh#pyparsing/pyparsing#63
+python3 unitTests.py
 %endif
 
 %files %{python_files}

++ nose_to_unittest.patch ++
--- a/examples/test_bibparse.py
+++ b/examples/test_bibparse.py
@@ -1,195 +1,193 @@
 """ Test for bibparse grammar """
 
+import unittest
 from os.path import join as pjoin, dirname
 
 from pyparsing import ParseException
 from .btpyparse import Macro
 from . import btpyparse as bp
 
-from nose.tools import assert_true, assert_false, assert_equal, assert_raises
+class TestBibparse(unittest.TestCase):
+def test_names(self):
+# check various types of names
+# All names can contains alphas, but not some special chars
+bad_chars = '"#%\'(),={}'
+for name_type, dig1f in ((bp.macro_def, False),
+ (bp.field_name, False),
+ (bp.entry_type, False),
+ (bp.cite_key, True)):
+if dig1f: # can start with digit
+self.assertEqual(name_type.parseString('2t')[0], '2t')
+else:
+self.assertRaises(ParseException, name_type.parseString, '2t')
+# All of the names cannot contain some characters
+for char in bad_chars:
+self.assertRaises(ParseException, name_type.parseString, char)
+# standard strings all OK
+self.assertEqual(name_type.parseString('simple_test')[0], 
'simple_test')
+# Test macro ref
+mr = bp.macro_ref
+# can't start with digit
+self.assertRaises(ParseException, mr.parseString, '2t')
+for char in bad_chars:
+self.assertRaises(ParseException, mr.parseString, char)
+self.assertEqual(mr.parseString('simple_test')[0].name, 'simple_test')
 
 
-def test_names():
-# check various types of names
-# All names can contains alphas, but not some special chars
-bad_chars = '"#%\'(),={}'
-for name_type, dig1f in ((bp.macro_def, False),
- (bp.field_

commit python-pyparsing for openSUSE:Factory

2019-01-05 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2019-01-05 14:40:10

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.28833 (New)


Package is "python-pyparsing"

Sat Jan  5 14:40:10 2019 rev:29 rq:661745 version:2.3.1~test5

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2018-11-26 10:15:04.682100018 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.28833/python-pyparsing.changes 
2019-01-05 14:40:30.584574397 +0100
@@ -1,0 +2,6 @@
+Fri Dec 28 09:57:56 UTC 2018 - Martin Pluskal 
+
+- Drop doc subpackage as it leads to circular dependencies on some
+  releases
+
+---



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.VlYtA0/_old  2019-01-05 14:40:31.068573986 +0100
+++ /var/tmp/diff_new_pack.VlYtA0/_new  2019-01-05 14:40:31.068573986 +0100
@@ -18,7 +18,6 @@
 
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %bcond_without test
@@ -38,19 +37,17 @@
 URL:https://github.com/pyparsing/pyparsing/
 # Upstream tarball from the master branch with gh#pyparsing/pyparsing#47
 Source: pyparsing-%{version}.tar.gz
-# Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%%{version}.tar.gz
 BuildRequires:  %{python_module base}
+BuildRequires:  %{python_module nose}
+# Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python2-unittest2
-BuildRequires:  python3-Sphinx
-%if %{with test}
-BuildRequires:  %{python_module nose}
-%endif
 # do not add dependencies on setuptools and ideally not even full "python";
 # this is now a dependency of setuptools
 Requires:   python-base
 BuildArch:  noarch
+
 %ifpython2
 Provides:   %{oldpython}-parsing = %{version}
 Obsoletes:  %{oldpython}-parsing < %{version}
@@ -63,20 +60,11 @@
 expressions. The pyparsing module provides a library of classes that client
 code uses to construct the grammar directly in Python code.
 
-%package -n %{name}-docs
-Summary:Documentation files for %name
-Group:  Documentation/HTML
-
-%description -n %{name}-docs
-HTML Documentation and examples for %name.
-
 %prep
 %setup -q -n pyparsing-2.3.1
 
 %build
 %python_build
-# export PYTHONPATH=..:../examples
-python3 setup.py build_sphinx -v
 
 %install
 %if ! %{with test}
@@ -103,9 +91,4 @@
 %{python_sitelib}/pyparsing-%{version}-py*.egg-info/
 %endif
 
-%files -n %{name}-docs
-%if ! %{with test}
-%doc examples build/sphinx/html
-%endif
-
 %changelog




commit python-pyparsing for openSUSE:Factory

2018-11-26 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2018-11-26 10:14:58

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new.19453 (New)


Package is "python-pyparsing"

Mon Nov 26 10:14:58 2018 rev:28 rq:651320 version:2.3.1~test5

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2018-09-10 12:29:51.718833166 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new.19453/python-pyparsing.changes 
2018-11-26 10:15:04.682100018 +0100
@@ -1,0 +2,34 @@
+Thu Nov 22 17:53:10 UTC 2018 - Jan Engelhardt 
+
+- Use more specific RPM group.
+
+---
+Wed Nov 21 17:48:41 CET 2018 - mc...@suse.com
+
+- Upgrade to the current upstrem master with additional patches
+  to make the test suite pass.
+
+---
+Sat Nov 17 22:59:29 CET 2018 - mc...@suse.com
+
+- Add all tests.
+
+---
+Thu Nov 15 08:46:10 UTC 2018 - Tomáš Chvátal 
+
+- Update to 2.3.0:
+  * Updates to migrate source repo to GitHub
+  * Fix deprecation warning in Python 3.7 re: importing collections.abc
+  * Fix Literal/Keyword bug raising IndexError instead of ParseException
+  * Added simple_unit_tests.py, as a collection of easy-to-follow unit
+  * tests for various classes and features of the pyparsing library.
+  * Primary intent is more to be instructional than actually rigorous
+  * testing. Complex tests can still be added in the unitTests.py file.
+  * New features added to the Regex class
+
+---
+Thu Nov 15 08:45:05 UTC 2018 - Tomáš Chvátal 
+
+- Fix URL to point to existing github
+
+---

Old:

  pyparsing-2.2.0.tar.gz
  python-pyparsing-doc.changes
  python-pyparsing-doc.spec

New:

  _multibuild
  pyparsing-2.3.1~test5.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.5NDtNZ/_old  2018-11-26 10:15:06.762097582 +0100
+++ /var/tmp/diff_new_pack.5NDtNZ/_new  2018-11-26 10:15:06.766097577 +0100
@@ -12,23 +12,41 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%bcond_without test
+%else
+%bcond_with test
+%endif
+%if %{with test}
+Name:   python-pyparsing-%{flavor}
+%else
 Name:   python-pyparsing
-Version:2.2.0
+%endif
+Version:2.3.1~test5
 Release:0
 Summary:Grammar Parser Library for Python
 License:MIT AND GPL-2.0-or-later AND GPL-3.0-or-later
 Group:  Development/Languages/Python
-URL:http://pyparsing.wikispaces.com/
-Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
+URL:https://github.com/pyparsing/pyparsing/
+# Upstream tarball from the master branch with gh#pyparsing/pyparsing#47
+Source: pyparsing-%{version}.tar.gz
+# Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%%{version}.tar.gz
 BuildRequires:  %{python_module base}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  python2-unittest2
+BuildRequires:  python3-Sphinx
+%if %{with test}
+BuildRequires:  %{python_module nose}
+%endif
 # do not add dependencies on setuptools and ideally not even full "python";
 # this is now a dependency of setuptools
 Requires:   python-base
@@ -45,27 +63,49 @@
 expressions. The pyparsing module provides a library of classes that client
 code uses to construct the grammar directly in Python code.
 
+%package -n %{name}-docs
+Summary:Documentation files for %name
+Group:  Documentation/HTML
+
+%description -n %{name}-docs
+HTML Documentation and examples for %name.
+
 %prep
-%setup -q -n pyparsing-%{version}
+%setup -q -n pyparsing-2.3.1
 
 %build
 %python_build
-# Fix wrong EOL encoding:
-sed -i 's/\r$//' CHANGES LICENSE README examples/*
+# export PYTHONPATH=..:../examples
+python3 setup.py build_sphinx -v
 
 %install
+%if ! %{with test}
 %python_install
 # ensure egg-info is a directory
-%{python_expand rm %{buildroot}%{$python_sitelib}/*.egg-info
+%{python_expand rm -rf %{buildroot}%{$py

commit python-pyparsing for openSUSE:Factory

2018-09-10 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2018-09-10 12:29:50

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Mon Sep 10 12:29:50 2018 rev:27 rq:633191 version:2.2.0

Changes:

New Changes file:

--- /dev/null   2018-09-06 11:34:12.900627678 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing-doc.changes   
2018-09-10 12:29:51.646833276 +0200
@@ -0,0 +1,5 @@
+---
+Sat Aug 18 09:41:30 UTC 2018 - Matěj Cepl 
+
+- Separate python-pyparsing-doc package so that tests can be run
+  without introducing circular dependency.
--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2017-04-19 18:02:56.972689516 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2018-09-10 12:29:51.718833166 +0200
@@ -1,0 +2,5 @@
+Sat Aug 18 09:41:30 UTC 2018 - Matěj Cepl 
+
+- Clean up SPEC file.
+
+---

New:

  python-pyparsing-doc.changes
  python-pyparsing-doc.spec



Other differences:
--
++ python-pyparsing-doc.spec ++
#
# spec file for package python-pyparsing-doc
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define basename python-parsing
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:   python-pyparsing-doc
Version:2.2.0
Release:0
Summary:Grammar Parser Library for Python - Documentation
License:MIT AND GPL-2.0-or-later AND GPL-3.0-or-later
Group:  Development/Libraries/Python
URL:http://pyparsing.wikispaces.com/
Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
BuildRequires:  %{python_module base}
BuildRequires:  %{python_module nose}
Requires:   %{basename} = %{version}
BuildArch:  noarch
%python_subpackages

%description
The pyparsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of regular
expressions. The pyparsing module provides a library of classes that client
code uses to construct the grammar directly in Python code.

This package contains the documentation of %{basename}

%prep
%setup -q -n pyparsing-%{version}

%build
sed -i 's/\r$//' LICENSE examples/*

%install
:

%check
%python_expand nosetests-%{$python_bin_suffix} -v

%files %{python_files}
%license LICENSE
%doc docs/* examples

%changelog
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.FtDvMj/_old  2018-09-10 12:29:52.186832450 +0200
+++ /var/tmp/diff_new_pack.FtDvMj/_new  2018-09-10 12:29:52.186832450 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyparsing
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,16 +22,16 @@
 Version:2.2.0
 Release:0
 Summary:Grammar Parser Library for Python
-License:MIT and GPL-2.0+ and GPL-3.0+
+License:MIT AND GPL-2.0-or-later AND GPL-3.0-or-later
 Group:  Development/Languages/Python
-Url:http://pyparsing.wikispaces.com/
+URL:http://pyparsing.wikispaces.com/
 Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
 BuildRequires:  %{python_module base}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # do not add dependencies on setuptools and ideally not even full "python";
 # this is now a dependency of setuptools
 Requires:   python-base
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 %ifpython2
 Provides:   %{oldpython}-parsing = %{version}
@@ -45,19 +45,6 @@
 expressions. The pypa

commit python-pyparsing for openSUSE:Factory

2017-04-19 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2017-04-19 18:02:54

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Wed Apr 19 18:02:54 2017 rev:26 rq:481878 version:2.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2017-02-27 18:31:20.417659091 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2017-04-19 18:02:56.972689516 +0200
@@ -1,0 +2,26 @@
+Tue Mar 14 21:27:44 UTC 2017 - dmuel...@suse.com
+
+- update to 2.2.0:
+  - Bumped minor version number to reflect compatibility issues with
+OneOrMore and ZeroOrMore bugfixes in 2.1.10. (2.1.10 fixed a bug
+that was introduced in 2.1.4, but the fix could break code
+written against 2.1.4 - 2.1.9.)
+  - Updated setup.py to address recursive import problems now
+that pyparsing is part of 'packaging' (used by setuptools).
+Patch submitted by Joshua Root, much thanks!
+  - Fixed KeyError issue reported by Yann Bizeul when using packrat
+parsing in the Graphite time series database, thanks Yann!
+  - Fixed incorrect usages of '\' in literals, as described in
+https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
+Patch submitted by Ville Skyttä - thanks!
+  - Minor internal change when using '-' operator, to be compatible
+with ParserElement.streamline() method.
+  - Expanded infixNotation to accept a list or tuple of parse actions
+to attach to an operation.
+  - New unit test added for dill support for storing pyparsing parsers.
+Ordinary Python pickle can be used to pickle pyparsing parsers as
+long as they do not use any parse actions. The 'dill' module is an
+extension to pickle which *does* support pickling of attached
+- drop desetuptoolize.patch: this is not needed
+
+---

Old:

  desetuptoolize.patch
  pyparsing-2.1.10.tar.gz

New:

  pyparsing-2.2.0.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.P2XzAQ/_old  2017-04-19 18:02:57.800572409 +0200
+++ /var/tmp/diff_new_pack.P2XzAQ/_new  2017-04-19 18:02:57.804571842 +0200
@@ -19,14 +19,13 @@
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pyparsing
-Version:2.1.10
+Version:2.2.0
 Release:0
 Summary:Grammar Parser Library for Python
 License:MIT and GPL-2.0+ and GPL-3.0+
 Group:  Development/Languages/Python
 Url:http://pyparsing.wikispaces.com/
 Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
-Patch0: desetuptoolize.patch
 BuildRequires:  %{python_module base}
 BuildRequires:  python-rpm-macros
 # do not add dependencies on setuptools and ideally not even full "python";
@@ -61,7 +60,6 @@
 
 %prep
 %setup -q -n pyparsing-%{version}
-%patch0 -p1
 
 %build
 %python_build

++ pyparsing-2.1.10.tar.gz -> pyparsing-2.2.0.tar.gz ++
 10439 lines of diff (skipped)




commit python-pyparsing for openSUSE:Factory

2017-02-27 Thread root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2017-02-27 18:31:19

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2016-12-08 00:26:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2017-02-27 18:31:20.417659091 +0100
@@ -1,0 +2,8 @@
+Thu Feb 23 11:45:52 UTC 2017 - jmate...@suse.com
+
+- update for single-spec
+- desetuptoolize.patch : switch from setuptools to distutils.core
+  for installation, as this is now a setuptools dependency
+- ensure egg-info is a directory (distutils would install it as file)
+
+---

New:

  desetuptoolize.patch



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.GSlQQG/_old  2017-02-27 18:31:20.917588652 +0100
+++ /var/tmp/diff_new_pack.GSlQQG/_new  2017-02-27 18:31:20.921588090 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyparsing
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,29 @@
 #
 
 
+%define oldpython python
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pyparsing
 Version:2.1.10
 Release:0
-Url:http://pyparsing.wikispaces.com/
 Summary:Grammar Parser Library for Python
 License:MIT and GPL-2.0+ and GPL-3.0+
 Group:  Development/Languages/Python
+Url:http://pyparsing.wikispaces.com/
 Source: 
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
+Patch0: desetuptoolize.patch
+BuildRequires:  %{python_module base}
+BuildRequires:  python-rpm-macros
+# do not add dependencies on setuptools and ideally not even full "python";
+# this is now a dependency of setuptools
+Requires:   python-base
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-Requires:   python
-Provides:   python-parsing = %{version}
-Obsoletes:  python-parsing < %{version}
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
+%ifpython2
+Provides:   %{oldpython}-parsing = %{version}
+Obsoletes:  %{oldpython}-parsing < %{version}
 %endif
+%python_subpackages
 
 %description
 The pyparsing module is an alternative approach to creating and executing
@@ -58,21 +61,28 @@
 
 %prep
 %setup -q -n pyparsing-%{version}
+%patch0 -p1
 
 %build
-python setup.py build
+%python_build
 # Fix wrong EOL encoding:
-sed -i 's/\r$//' CHANGES LICENSE README examples/*py
+sed -i 's/\r$//' CHANGES LICENSE README examples/*
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+# ensure egg-info is a directory
+%{python_expand rm %{buildroot}%{$python_sitelib}/*.egg-info
+cp -r pyparsing.egg-info 
%{buildroot}%{$python_sitelib}/pyparsing-%{version}-py%{$python_version}.egg-info
+}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc CHANGES LICENSE README
-%{python_sitelib}/*
+%{python_sitelib}/pyparsing.py*
+%pycache_only %{python_sitelib}/__pycache__/*
+%{python_sitelib}/pyparsing-%{version}-py*.egg-info/
 
-%files doc
+%files %{python_files doc}
 %defattr(-,root,root,-)
 %doc docs/* examples
 

++ desetuptoolize.patch ++
Index: pyparsing-2.1.10/setup.py
===
--- pyparsing-2.1.10.orig/setup.py
+++ pyparsing-2.1.10/setup.py
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 
 """Setup script for the pyparsing module distribution."""
-from setuptools import setup
+from distutils.core import setup
 
 import sys
 import os



commit python-pyparsing for openSUSE:Factory

2016-12-07 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2016-12-08 00:26:53

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2016-11-03 12:56:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2016-12-08 00:26:55.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec  2 16:32:17 UTC 2016 - toddrme2...@gmail.com
+
+- Fix SLE 11 build.
+
+---



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.aNUtEN/_old  2016-12-08 00:26:57.0 +0100
+++ /var/tmp/diff_new_pack.aNUtEN/_new  2016-12-08 00:26:57.0 +0100
@@ -31,7 +31,11 @@
 Requires:   python
 Provides:   python-parsing = %{version}
 Obsoletes:  python-parsing < %{version}
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%else
 BuildArch:  noarch
+%endif
 
 %description
 The pyparsing module is an alternative approach to creating and executing




commit python-pyparsing for openSUSE:Factory

2016-11-03 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2016-11-03 12:56:08

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2016-02-16 09:27:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2016-11-03 12:56:09.0 +0100
@@ -1,0 +2,242 @@
+Tue Nov  1 19:46:14 UTC 2016 - toddrme2...@gmail.com
+
+- update to version 2.1.10:
+  * Fixed bug in reporting named parse results for ZeroOrMore
+expressions, thanks Ethan Nash for reporting this!
+  * Fixed behavior of LineStart to be much more predictable.
+LineStart can now be used to detect if the next parse position is
+col 1, factoring in potential leading whitespace (which would
+cause LineStart to fail). Also fixed a bug in col, which is used
+in LineStart, where '\n's were erroneously considered to be column
+1.
+  * Added support for multiline test strings in runTests.
+  * Fixed bug in ParseResults.dump when keys were not strings.  Also
+changed display of string values to show them in quotes, to help
+distinguish parsed numeric strings from parsed integers that have
+been converted to Python ints.
+- update to version 2.1.9:
+  * Added class CloseMatch, a variation on Literal which matches
+"close" matches, that is, strings with at most 'n' mismatching
+characters.
+  * Fixed bug in Keyword.setDefaultKeywordChars(), reported by
+Kobayashi Shinji - nice catch, thanks!
+  * Minor API change in pyparsing_common. Renamed some of the common
+expressions to PEP8 format (to be consistent with the other
+pyparsing_common expressions):
++ signedInteger -> signed_integer
++ sciReal -> sci_real
+Also, in trying to stem the API bloat of pyparsing, I've copied
+some of the global expressions and helper parse actions into
+pyparsing_common, with the originals to be deprecated and removed
+in a future release:
++ commaSeparatedList -> pyparsing_common.comma_separated_list
++ upcaseTokens -> pyparsing_common.upcaseTokens
++ downcaseTokens -> pyparsing_common.downcaseTokens
+  * Fixed Python3 compatibility bug when using dict keys() and
+values() in ParseResults.getName().
+  * After some prodding, I've reworked the unitTests.py file for
+pyparsing over the past few releases. It uses some variations on
+unittest to handle my testing style. The test now:
++ auto-discovers its test classes (while maintining their order
+  of definition)
++ suppresses voluminous 'print' output for tests that pass
+- update to version 2.1.8:
+  * Fixed issue in the optimization to _trim_arity, when the full
+stacktrace is retrieved to determine if a TypeError is raised in
+pyparsing or in the caller's parse action. Code was traversing the
+full stacktrace, and potentially encountering UnicodeDecodeError.
+  * Fixed bug in ParserElement.inlineLiteralsUsing, causing infinite
+loop with Suppress.
+  * Fixed bug in Each, when merging named results from multiple
+expressions in a ZeroOrMore or OneOrMore. Also fixed bug when
+ZeroOrMore expressions were erroneously treated as required
+expressions in an Each expression.
+  * Added a few more inline doc examples.
+  * Improved use of runTests in several example scripts.
+- changes from version 2.1.7:
+  * Fixed regression reported by Andrea Censi (surfaced in PyContracts
+tests) when using ParseSyntaxExceptions (raised when using
+operator '-') with packrat parsing.
+  * Minor fix to oneOf, to accept all iterables, not just
+space-delimited strings and lists. (If you have a list or set of
+strings, it is not necessary to concat them using ' '.join to pass
+them to oneOf, oneOf will accept the list or set or generator
+directly.)
+- changes from version 2.1.6 :
+  * *Major packrat upgrade*, inspired by patch provided by Tal Einat -
+many, many, thanks to Tal for working on this! Tal's tests show
+faster parsing performance (2X in some tests), *and* memory
+reduction from 3GB down to ~100MB! Requires no changes to
+existing code using packratting. (Uses OrderedDict, available in
+Python 2.7 and later.  For Python 2.6 users, will attempt to
+import from ordereddict backport. If not present, will implement
+pure-Python Fifo dict.)
+  * Minor API change - to better distinguish between the flexible
+numeric types defined in pyparsing_common, I've changed "numeric"
+(which parsed numbers of different types and returned int for
+ints, float for floats, etc.) and "number" (which parsed numbers
+  

commit python-pyparsing for openSUSE:Factory

2016-02-16 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2016-02-16 09:27:00

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2015-05-18 22:58:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2016-02-16 09:27:01.0 +0100
@@ -1,0 +2,80 @@
+Mon Feb  1 11:11:39 UTC 2016 - toddrme2...@gmail.com
+
+- update to version 2.0.7:
+  * Simplified string representation of Forward class, to avoid memory
+and performance errors while building ParseException
+messages. Thanks, Will McGugan, Andrea Censi, and Martijn Vermaat
+for the bug reports and test code.
+  * Cleaned up additional issues from enhancing the error messages for
+Or and MatchFirst, handling Unicode values in expressions. Fixes
+Unicode encoding issues in Python 2, thanks to Evan Hubinger for
+the bug report.
+  * Fixed implementation of dir() for ParseResults - was leaving out
+all the defined methods and just adding the custom results names.
+  * Fixed bug in ignore() that was introduced in pyparsing 1.5.3, that
+would not accept a string literal as the ignore expression.
+  * Added new example parseTabularData.py to illustrate parsing of
+data formatted in columns, with detection of empty cells.
+  * Updated a number of examples to more current Python and pyparsing
+forms.
+- update to version 2.0.6:
+  * Fixed a bug in Each when multiple Optional elements are present.
+Thanks for reporting this, whereswalden on SO.
+  * Fixed another bug in Each, when Optional elements have results
+names or parse actions, reported by Max Rothman - thank you, Max!
+  * Added optional parseAll argument to runTests, whether tests should
+require the entire input string to be parsed or not (similar to
+parseAll argument to parseString). Plus a little neaten-up of the
+output on Python 2 (no stray ()'s).
+  * Modified exception messages from MatchFirst and Or
+expressions. These were formerly misleading as they would only
+give the first or longest exception mismatch error message. Now
+the error message includes all the alternatives that were possible
+matches. Originally proposed by a pyparsing user, but I've lost
+the email thread - finally figured out a fairly clean way to do
+this.
+  * Fixed a bug in Or, when a parse action on an alternative raises an
+exception, other potentially matching alternatives were not always
+tried.  Reported by TheVeryOmni on the pyparsing wiki, thanks!
+  * Fixed a bug to dump() introduced in 2.0.4, where list values were
+shown in duplicate.
+- update to version 2.0.5:
+  * (&$(@#&$(@  Some "print" statements snuck into pyparsing
+v2.0.4, breaking Python 3 compatibility! Fixed. Reported by
+jenshn, thanks!
+- changes from Version 2.0.4:
+  * Added ParserElement.addCondition, to simplify adding parse actions
+that act primarily as filters. If the given condition evaluates
+False, pyparsing will raise a ParseException. The condition should
+be a method with the same method signature as a parse action, but
+should return a boolean. Suggested by Victor Porton, nice idea
+Victor, thanks!
+  * Slight mod to srange to accept unicode literals for the input
+string, such as "[а-яА-Я]" instead of
+"[\u0430-\u044f\u0410-\u042f]". Thanks to Alexandr Suchkov for the
+patch!
+  * Enhanced implementation of replaceWith.
+  * Fixed enhanced ParseResults.dump() method when the results
+consists only of an unnamed array of sub-structure
+results. Reported by Robin Siebler, thanks for your patience and
+persistence, Robin!
+  * Fixed bug in fourFn.py example code, where pi and e were defined
+using CaselessLiteral instead of CaselessKeyword. This was not a
+problem until adding a new function 'exp', and the leading 'e' of
+'exp' was accidentally parsed as the mathematical constant
+'e'. Nice catch, Tom Grydeland - thanks!
+  * Adopt new-fangled Python features, like decorators and ternary
+expressions, per suggestions from Williamzjc - thanks William! (Oh
+yeah, I'm not supporting Python 2.3 with this code any more...)
+Plus, some additional code fixes/cleanup - thanks again!
+  * Added ParserElement.runTests, a little test bench for quickly
+running an expression against a list of sample input
+strings. Basically, I got tired of writing the same test code over
+and over, and finally added it as a test point method on
+ParserElement.
+  * Added withClass helper method, a simplified version of
+withA

commit python-pyparsing for openSUSE:Factory

2015-05-18 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2015-05-18 22:58:29

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2015-01-15 16:01:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2015-05-18 22:58:29.0 +0200
@@ -1,0 +2,23 @@
+Mon May 11 17:40:24 UTC 2015 - benoit.mo...@gmx.fr
+
+- update to version 2.0.3:
+  * Fixed escaping behavior in QuotedString. Formerly, only
+quotation marks (or characters designated as quotation marks in
+the QuotedString constructor) would be escaped. Now all escaped
+characters will be escaped, and the escaping backslashes will
+be removed.
+  * Fixed regression in ParseResults.pop() - pop() was pretty much
+broken after I added *improvements* in 2.0.2. Reported by Iain
+Shelvington, thanks Iain!
+  * Fixed bug in And class when initializing using a generator.
+  * Enhanced ParseResults.dump() method to list out nested
+ParseResults that are unnamed arrays of sub-structures.
+  * Fixed UnboundLocalError under Python 3.4 in oneOf method,
+reported on Sourceforge by aldanor, thanks!
+  * Fixed bug in ParseResults __init__ method, when returning
+non-ParseResults types from parse actions that implement
+__eq__. Raised during discussion on the pyparsing wiki with
+cyrfer.
+- fix end of line encoding of every file in examples
+
+---

Old:

  pyparsing-2.0.2.tar.gz

New:

  pyparsing-2.0.3.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.0NRM9A/_old  2015-05-18 22:58:30.0 +0200
+++ /var/tmp/diff_new_pack.0NRM9A/_new  2015-05-18 22:58:30.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyparsing
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   python-pyparsing
-Version:2.0.2
+Version:2.0.3
 Release:0
 Url:http://pyparsing.wikispaces.com/
 Summary:Grammar Parser Library for Python
@@ -59,7 +59,7 @@
 %build
 python setup.py build
 # Fix wrong EOL encoding:
-sed -i 's/\r$//' CHANGES LICENSE README examples/*.py
+sed -i 's/\r$//' CHANGES LICENSE README examples/*
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}

++ pyparsing-2.0.2.tar.gz -> pyparsing-2.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyparsing-2.0.2/CHANGES new/pyparsing-2.0.3/CHANGES
--- old/pyparsing-2.0.2/CHANGES 2014-04-13 19:10:42.0 +0200
+++ new/pyparsing-2.0.3/CHANGES 2014-08-16 07:18:53.0 +0200
@@ -2,6 +2,30 @@
 Change Log
 ==
 
+Version 2.0.3 - 
+---
+- Fixed escaping behavior in QuotedString. Formerly, only quotation
+  marks (or characters designated as quotation marks in the QuotedString
+  constructor) would be escaped. Now all escaped characters will be
+  escaped, and the escaping backslashes will be removed.
+
+- Fixed regression in ParseResults.pop() - pop() was pretty much
+  broken after I added *improvements* in 2.0.2. Reported by Iain
+  Shelvington, thanks Iain!
+
+- Fixed bug in And class when initializing using a generator.
+
+- Enhanced ParseResults.dump() method to list out nested ParseResults that
+  are unnamed arrays of sub-structures.
+
+- Fixed UnboundLocalError under Python 3.4 in oneOf method, reported
+  on Sourceforge by aldanor, thanks!
+
+- Fixed bug in ParseResults __init__ method, when returning non-ParseResults
+  types from parse actions that implement __eq__. Raised during discussion 
+  on the pyparsing wiki with cyrfer.
+
+
 Version 2.0.2 - April, 2014
 ---
 - Extended "expr(name)" shortcut (same as "expr.setResultsName(name)")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyparsing-2.0.2/PKG-INFO new/pyparsing-2.0.3/PKG-INFO
--- old/pyparsing-2.0.2/PKG-INFO2014-04-13 19:24:37.0 +0200
+++ new/pyparsing-2.0.3/PKG-INFO2014-10-11 07:19:23.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: pyparsing
-Version: 2.0.2
+Version: 2.0.3
 Summary: Python parsing module
 Home-page: http://pypar

commit python-pyparsing for openSUSE:Factory

2015-01-15 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2015-01-15 16:01:07

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2013-09-24 07:11:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2015-01-15 16:01:10.0 +0100
@@ -1,0 +2,55 @@
+Tue Nov 11 17:34:18 UTC 2014 - greg.freem...@gmail.com
+
+- update to v2.0.2
+   - Extended "expr(name)" shortcut (same as "expr.setResultsName(name)")
+ to accept "expr()" as a shortcut for "expr.copy()".
+
+   - Added "locatedExpr(expr)" helper, to decorate any returned tokens
+ with their location within the input string. Adds the results names
+ locn_start and locn_end to the output parse results.
+
+   - Added "pprint()" method to ParseResults, to simplify troubleshooting
+ and prettified output. Now instead of importing the pprint module
+ and then writing "pprint.pprint(result)", you can just write
+ "result.pprint()".  This method also accepts addtional positional and
+ keyword arguments (such as indent, width, etc.), which get passed 
+ through directly to the pprint method 
+ (see http://docs.python.org/2/library/pprint.html#pprint.pprint).
+
+   - Removed deprecation warnings when using '<<' for Forward expression
+ assignment. '<<=' is still preferred, but '<<' will be retained
+ for cases whre '<<=' operator is not suitable (such as in defining
+ lambda expressions).
+
+   - Expanded argument compatibility for classes and functions that
+ take list arguments, to now accept generators as well.
+
+   - Extended list-like behavior of ParseResults, adding support for
+ append and extend. NOTE: if you have existing applications using
+ these names as results names, you will have to access them using
+ dict-style syntax: res["append"] and res["extend"]
+
+   - ParseResults emulates the change in list vs. iterator semantics for
+ methods like keys(), values(), and items(). Under Python 2.x, these
+ methods will return lists, under Python 3.x, these methods will 
+ return iterators.
+
+   - ParseResults now has a method haskeys() which returns True or False
+ depending on whether any results names have been defined. This 
simplifies
+ testing for the existence of results names under Python 3.x, which 
+ returns keys() as an iterator, not a list.
+
+   - ParseResults now supports both list and dict semantics for pop().
+ If passed no argument or an integer argument, it will use list 
semantics
+ and pop tokens from the list of parsed tokens. If passed a non-integer
+ argument (most likely a string), it will use dict semantics and 
+ pop the corresponding value from any defined results names. A
+ second default return value argument is supported, just as in 
+ dict.pop().
+
+   - Fixed bug in markInputline, thanks for reporting this, Matt Grant!
+
+   - Cleaned up my unit test environment, now runs with Python 2.6 and 
+ 3.3.
+
+---

Old:

  pyparsing-2.0.1.tar.gz

New:

  pyparsing-2.0.2.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.VRIr05/_old  2015-01-15 16:01:10.0 +0100
+++ /var/tmp/diff_new_pack.VRIr05/_new  2015-01-15 16:01:10.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyparsing
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   python-pyparsing
-Version:2.0.1
+Version:2.0.2
 Release:0
 Url:http://pyparsing.wikispaces.com/
 Summary:Grammar Parser Library for Python

++ pyparsing-2.0.1.tar.gz -> pyparsing-2.0.2.tar.gz ++
 14392 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pyparsing for openSUSE:Factory

2013-09-23 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2013-09-24 07:11:38

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2013-09-17 16:25:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2013-09-24 07:11:40.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep 23 08:45:12 UTC 2013 - h...@urpla.net
+
+- include examples in -doc package
+
+---



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.faXadd/_old  2013-09-24 07:11:41.0 +0200
+++ /var/tmp/diff_new_pack.faXadd/_new  2013-09-24 07:11:41.0 +0200
@@ -59,7 +59,7 @@
 %build
 python setup.py build
 # Fix wrong EOL encoding:
-sed -i 's/\r$//' CHANGES LICENSE README
+sed -i 's/\r$//' CHANGES LICENSE README examples/*.py
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
@@ -71,6 +71,6 @@
 
 %files doc
 %defattr(-,root,root,-)
-%doc docs/*
+%doc docs/* examples
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pyparsing for openSUSE:Factory

2013-09-17 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2013-09-17 16:19:02

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2013-03-21 22:12:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2013-09-17 16:25:48.0 +0200
@@ -1,0 +2,29 @@
+Tue Sep 17 13:15:51 UTC 2013 - speili...@suse.com
+
+- Update to version 2.0.1:
+  - Removed use of "nonlocal" that prevented using this version of 
+pyparsing with Python 2.6 and 2.7. This will make it easier to 
+install for packages that depend on pyparsing, under Python 
+versions 2.6 and later. Those using older versions of Python
+will have to manually install pyparsing 1.5.7.
+  - Fixed implementation of <<= operator to return self; reported by
+Luc J. Bourhis, with patch fix by Mathias Mamsch - thanks, Luc
+and Mathias!
+- Changes from version 2.0.0:
+  - Rather than release another combined Python 2.x/3.x release
+I've decided to start a new major version that is only 
+compatible with Python 3.x (and consequently Python 2.7 as
+well due to backporting of key features). This version will
+be the main development path from now on, with little follow-on
+development on the 1.5.x path.
+  - Operator '<<' is now deprecated, in favor of operator '<<=' for
+attaching parsing expressions to Forward() expressions. This is
+being done to address precedence of operations problems with '<<'.
+Operator '<<' will be removed in a future version of pyparsing.
+
+---
+Tue Sep 17 12:45:24 UTC 2013 - dmuel...@suse.com
+
+- remove nonsensical tarball 
+
+---
@@ -10 +38,0 @@
- 
@@ -14 +41,0 @@
- 
@@ -18 +44,0 @@
- 
@@ -21 +46,0 @@
- 
@@ -26 +50,0 @@
- 
@@ -30 +53,0 @@
- 
@@ -34 +56,0 @@
- 
@@ -38 +59,0 @@
- 
@@ -45 +65,0 @@
- 
@@ -52 +71,0 @@
- 
@@ -56 +74,0 @@
- 
@@ -59 +76,0 @@
- 
@@ -61 +77,0 @@
- 
@@ -67 +82,0 @@
- 

Old:

  pyparsing-1.5.7.tar.gz
  pyparsing-2.0.0.tar.gz

New:

  pyparsing-2.0.1.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.MdSIxj/_old  2013-09-17 16:25:49.0 +0200
+++ /var/tmp/diff_new_pack.MdSIxj/_new  2013-09-17 16:25:49.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-pyparsing
-Version:1.5.7
+Version:2.0.1
 Release:0
 Url:http://pyparsing.wikispaces.com/
 Summary:Grammar Parser Library for Python

++ pyparsing-1.5.7.tar.gz -> pyparsing-2.0.1.tar.gz ++
 40879 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pyparsing for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2013-06-19 15:49:23

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing"

Changes:


Old:

  python3-pyparsing.changes
  python3-pyparsing.spec



Other differences:
--
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pyparsing for openSUSE:Factory

2013-04-17 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2013-04-17 09:25:26

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing", Maintainer is "radma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python3-pyparsing.changes   
2013-01-14 14:09:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python3-pyparsing.changes  
2013-04-17 09:25:29.0 +0200
@@ -1,0 +2,79 @@
+Fri Apr 12 14:07:30 UTC 2013 - toddrme2...@gmail.com
+
+- Fix EOL fix
+
+---
+Fri Apr 12 13:17:57 UTC 2013 - toddrme2...@gmail.com
+
+- Update to 2.0.0
+  * Break compatibility with python <= 2.7
+
+---
+Wed Mar 13 09:04:46 UTC 2013 - dmuel...@suse.com
+
+- update to 1.5.7:
+ * NOTE: This is the last release of pyparsing that will try to 
+   maintain compatibility with Python versions < 2.6. The next
+   release of pyparsing will be version 2.0.0, using new Python
+   syntax that will not be compatible for Python version 2.5 or
+   older.
+ 
+ * An awesome new example is included in this release, submitted
+   by Luca DellOlio, for parsing ANTLR grammar definitions, nice
+   work Luca!
+ 
+ * Fixed implementation of ParseResults.__str__ to use Pythonic
+   ''.join() instead of repeated string concatenation. This
+   purportedly has been a performance issue under PyPy.
+ 
+ * Fixed bug in ParseResults.__dir__ under Python 3, reported by
+   Thomas Kluyver, thank you Thomas!
+ 
+ * Added ParserElement.inlineLiteralsUsing static method, to 
+   override pyparsing's default behavior of converting string
+   literals to Literal instances, to use other classes (such
+   as Suppress or CaselessLiteral).
+ 
+ * Added new operator '<<=', which will eventually replace '<<' for 
+   storing the contents of a Forward(). '<<=' does not have the same
+   operator precedence problems that '<<' does.
+ 
+ * 'operatorPrecedence' is being renamed 'infixNotation' as a better
+   description of what this helper function creates. 'operatorPrecedence'
+   is deprecated, and will be dropped entirely in a future release.
+ 
+ * Added optional arguments lpar and rpar to operatorPrecedence, so that 
+   expressions that use it can override the default suppression of the
+   grouping characters.
+ 
+ * Added support for using single argument builtin functions as parse 
+   actions.  Now you can write 'expr.setParseAction(len)' and get back
+   the length of the list of matched tokens.  Supported builtins are:
+   sum, len, sorted, reversed, list, tuple, set, any, all, min, and max.
+   A script demonstrating this feature is included in the examples
+   directory.
+ 
+ * Fixed a bug in the definition of 'alphas', which was based on the 
+   string.uppercase and string.lowercase "constants", which in fact 
+   *aren't* constant, but vary with locale settings. This could make 
+   parsers locale-sensitive in a subtle way. Thanks to Kef Schecter for
+   his diligence in following through on reporting and monitoring 
+   this bugfix!
+ 
+ * Fixed a bug in the Py3 version of pyparsing, during exception
+   handling with packrat parsing enabled, reported by Catherine 
+   Devlin - thanks Catherine!
+ 
+ * Fixed typo in ParseBaseException.__dir__, reported anonymously on 
+   the SourceForge bug tracker, thank you Pyparsing User With No Name.
+ 
+ * Fixed bug in srange when using '\x###' hex character codes.
+ 
+ * Addeed optional 'intExpr' argument to countedArray, so that you 
+   can define your own expression that will evaluate to an integer,
+   to be used as the count for the following elements. Allows you 
+   to define a countedArray with the count given in hex, for example,
+   by defining intExpr as "Word(hexnums).setParseAction(int(t[0],16))".
+ 
+
+---

New:

  pyparsing-2.0.0.tar.gz



Other differences:
--
++ python3-pyparsing.spec ++
--- /var/tmp/diff_new_pack.DGVJon/_old  2013-04-17 09:25:30.0 +0200
+++ /var/tmp/diff_new_pack.DGVJon/_new  2013-04-17 09:25:30.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python3-pyparsing
-Version:1.5.7
+Version:2.0.0
 Release:0
 Url:http://pyparsing.wikispaces.com/
 Summary:Grammar Parser Library for Python
@@ -57,7 +57,7 @@
 %build
 python3 setup.py build
 # Fix wrong EOL encoding:
-sed -i 's/\r$//' CHANGES LICENSE README docs/examples/* 
docs/htmldoc/epydoc.{js,css}
+sed -i 's/\r$//' CHANGES LICENSE README
 
 %inst

commit python-pyparsing for openSUSE:Factory

2013-03-21 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2013-03-21 22:12:12

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing", Maintainer is "radma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2013-01-14 14:09:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2013-03-21 22:12:13.0 +0100
@@ -1,0 +2,68 @@
+Wed Mar 13 09:04:46 UTC 2013 - dmuel...@suse.com
+
+- update to 1.5.7:
+ * NOTE: This is the last release of pyparsing that will try to 
+   maintain compatibility with Python versions < 2.6. The next
+   release of pyparsing will be version 2.0.0, using new Python
+   syntax that will not be compatible for Python version 2.5 or
+   older.
+ 
+ * An awesome new example is included in this release, submitted
+   by Luca DellOlio, for parsing ANTLR grammar definitions, nice
+   work Luca!
+ 
+ * Fixed implementation of ParseResults.__str__ to use Pythonic
+   ''.join() instead of repeated string concatenation. This
+   purportedly has been a performance issue under PyPy.
+ 
+ * Fixed bug in ParseResults.__dir__ under Python 3, reported by
+   Thomas Kluyver, thank you Thomas!
+ 
+ * Added ParserElement.inlineLiteralsUsing static method, to 
+   override pyparsing's default behavior of converting string
+   literals to Literal instances, to use other classes (such
+   as Suppress or CaselessLiteral).
+ 
+ * Added new operator '<<=', which will eventually replace '<<' for 
+   storing the contents of a Forward(). '<<=' does not have the same
+   operator precedence problems that '<<' does.
+ 
+ * 'operatorPrecedence' is being renamed 'infixNotation' as a better
+   description of what this helper function creates. 'operatorPrecedence'
+   is deprecated, and will be dropped entirely in a future release.
+ 
+ * Added optional arguments lpar and rpar to operatorPrecedence, so that 
+   expressions that use it can override the default suppression of the
+   grouping characters.
+ 
+ * Added support for using single argument builtin functions as parse 
+   actions.  Now you can write 'expr.setParseAction(len)' and get back
+   the length of the list of matched tokens.  Supported builtins are:
+   sum, len, sorted, reversed, list, tuple, set, any, all, min, and max.
+   A script demonstrating this feature is included in the examples
+   directory.
+ 
+ * Fixed a bug in the definition of 'alphas', which was based on the 
+   string.uppercase and string.lowercase "constants", which in fact 
+   *aren't* constant, but vary with locale settings. This could make 
+   parsers locale-sensitive in a subtle way. Thanks to Kef Schecter for
+   his diligence in following through on reporting and monitoring 
+   this bugfix!
+ 
+ * Fixed a bug in the Py3 version of pyparsing, during exception
+   handling with packrat parsing enabled, reported by Catherine 
+   Devlin - thanks Catherine!
+ 
+ * Fixed typo in ParseBaseException.__dir__, reported anonymously on 
+   the SourceForge bug tracker, thank you Pyparsing User With No Name.
+ 
+ * Fixed bug in srange when using '\x###' hex character codes.
+ 
+ * Addeed optional 'intExpr' argument to countedArray, so that you 
+   can define your own expression that will evaluate to an integer,
+   to be used as the count for the following elements. Allows you 
+   to define a countedArray with the count given in hex, for example,
+   by defining intExpr as "Word(hexnums).setParseAction(int(t[0],16))".
+ 
+
+---

Old:

  pyparsing-1.5.6.tar.gz

New:

  pyparsing-1.5.7.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.T3e78P/_old  2013-03-21 22:12:14.0 +0100
+++ /var/tmp/diff_new_pack.T3e78P/_new  2013-03-21 22:12:14.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-pyparsing
-Version:1.5.6
+Version:1.5.7
 Release:0
 Url:http://pyparsing.wikispaces.com/
 Summary:Grammar Parser Library for Python
@@ -59,7 +59,7 @@
 %build
 python setup.py build
 # Fix wrong EOL encoding:
-sed -i 's/\r$//' CHANGES LICENSE README docs/examples/* 
docs/htmldoc/epydoc.{js,css}
+sed -i 's/\r$//' CHANGES LICENSE README
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}

++ python3-pyparsing.spec ++
--- /var/tmp/diff_new_pack.T3e78P/_old  2013-03-21 22:12:14.0 +0100
+++ /var/tmp/diff_new_pack.T3e78P/_new  2013-03-21 22:12:14.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   p

commit python-pyparsing for openSUSE:Factory

2013-01-14 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2013-01-14 14:09:51

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing", Maintainer is "cth...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2012-11-25 13:53:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2013-01-14 14:09:53.0 +0100
@@ -1,0 +2,15 @@
+Mon Jan 14 11:56:55 UTC 2013 - sasc...@suse.de
+
+- Fix license (MIT and GPL-2.0+ and GPL-3.0+)
+
+---
+Wed Jan  9 08:27:28 UTC 2013 - sasc...@suse.de
+
+- Don't ship examples twice
+
+---
+Mon Jan  7 20:03:30 UTC 2013 - p.drou...@gmail.com
+
+- Initial support of python3
+
+---
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python3-pyparsing.changes  
2013-01-14 14:09:53.0 +0100
@@ -0,0 +1,15 @@
+---
+Mon Jan 14 11:57:04 UTC 2013 - sasc...@suse.de
+
+- Fix license (MIT and GPL-2.0+ and GPL-3.0+)
+
+---
+Wed Jan  9 08:27:37 UTC 2013 - sasc...@suse.de
+
+- Don't ship examples twice
+
+---
+Mon Jan  7 20:04:03 UTC 2013 - p.drou...@gmail.com
+
+- Initial support of python3
+

New:

  python3-pyparsing.changes
  python3-pyparsing.spec



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.ilaPPm/_old  2013-01-14 14:09:54.0 +0100
+++ /var/tmp/diff_new_pack.ilaPPm/_new  2013-01-14 14:09:54.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyparsing
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 Release:0
 Url:http://pyparsing.wikispaces.com/
 Summary:Grammar Parser Library for Python
-License:MIT
+License:MIT and GPL-2.0+ and GPL-3.0+
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -71,6 +71,6 @@
 
 %files doc
 %defattr(-,root,root,-)
-%doc docs/* examples
+%doc docs/*
 
 %changelog

++ python3-pyparsing.spec ++
#
# spec file for package python3-pyparsing
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   python3-pyparsing
Version:1.5.6
Release:0
Url:http://pyparsing.wikispaces.com/
Summary:Grammar Parser Library for Python
License:MIT and GPL-2.0+ and GPL-3.0+
Group:  Development/Languages/Python
Source: 
http://pypi.python.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3
BuildRequires:  python3-2to3
BuildRequires:  python3-devel
BuildRequires:  python3-distribute
BuildArch:  noarch
Requires:   python3 >= %{py3_ver}

%description
The pyparsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of regular
expressions. The pyparsing module provides a library of classes that client
code uses to construct the grammar directly in Python code.

%package doc
Summary:Grammar Parser Library for Python - Documentation
Group:  Development/Libraries/Python
Requires:   %{name} = %{version}

%description doc
The pyparsing module is an alt

commit python-pyparsing for openSUSE:Factory

2012-11-25 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2012-11-25 13:53:27

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing", Maintainer is "cth...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2011-09-23 12:43:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyparsing.new/python-pyparsing.changes   
2012-11-25 13:53:29.0 +0100
@@ -1,0 +2,6 @@
+Fri Nov 23 14:06:29 UTC 2012 - sasc...@suse.de
+
+- Package examples
+- Spec file cleanup
+
+---



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.XPVKND/_old  2012-11-25 13:53:29.0 +0100
+++ /var/tmp/diff_new_pack.XPVKND/_new  2012-11-25 13:53:29.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyparsing
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,9 @@
 #
 
 
-
 Name:   python-pyparsing
 Version:1.5.6
-Release:3
+Release:0
 Url:http://pyparsing.wikispaces.com/
 Summary:Grammar Parser Library for Python
 License:MIT
@@ -27,15 +26,13 @@
 Source: 
http://pypi.python.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
-BuildArch:  noarch
-%endif
-%endif
 Provides:   python-parsing = %{version}
 Obsoletes:  python-parsing < %{version}
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%else
+BuildArch:  noarch
+%endif
 
 %description
 The pyparsing module is an alternative approach to creating and executing
@@ -44,8 +41,6 @@
 code uses to construct the grammar directly in Python code.
 
 %package doc
-
-
 Summary:Grammar Parser Library for Python - Documentation
 Group:  Development/Libraries/Python
 Requires:   %{name} = %{version}
@@ -56,8 +51,7 @@
 expressions. The pyparsing module provides a library of classes that client
 code uses to construct the grammar directly in Python code.
 
-This package contains the documentation of %{name}, under the directory
-  %{_docdir}/%{name}/
+This package contains the documentation of %{name}
 
 %prep
 %setup -q -n pyparsing-%{version}
@@ -70,9 +64,6 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc CHANGES LICENSE README
@@ -80,6 +71,6 @@
 
 %files doc
 %defattr(-,root,root,-)
-%doc docs/*
+%doc docs/* examples
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pyparsing for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package python-pyparsing for 
openSUSE:Factory checked in at 2011-12-06 18:57:19

Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyparsing.new (New)


Package is "python-pyparsing", Maintainer is ""

Changes:




Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.LCAajT/_old  2011-12-06 19:29:58.0 +0100
+++ /var/tmp/diff_new_pack.LCAajT/_new  2011-12-06 19:29:58.0 +0100
@@ -22,7 +22,7 @@
 Release:3
 Url:http://pyparsing.wikispaces.com/
 Summary:Grammar Parser Library for Python
-License:MIT License
+License:MIT
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pyparsing for openSUSE:Factory

2011-07-04 Thread h_root

Hello community,

here is the log from the commit of package python-pyparsing for openSUSE:Factory
checked in at Mon Jul 4 10:24:36 CEST 2011.




--- python-pyparsing/python-pyparsing.changes   2011-06-30 10:57:51.0 
+0200
+++ /mounts/work_src_done/STABLE/python-pyparsing/python-pyparsing.changes  
2011-07-03 11:41:12.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul  3 09:40:58 UTC 2011 - sasc...@gmx.de
+
+- Add Provides/Obsoletes for python-parsing
+
+---

calling whatdependson for head-i586




Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.uAa6g6/_old  2011-07-04 10:23:07.0 +0200
+++ /var/tmp/diff_new_pack.uAa6g6/_new  2011-07-04 10:23:07.0 +0200
@@ -19,7 +19,7 @@
 
 Name:   python-pyparsing
 Version:1.5.6
-Release:1
+Release:3
 Url:http://pyparsing.wikispaces.com/
 Summary:Grammar Parser Library for Python
 License:MIT License
@@ -33,6 +33,8 @@
 BuildArch:  noarch
 %endif
 %endif
+Provides:   python-parsing = %{version}
+Obsoletes:  python-parsing < %{version}
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 %description
@@ -43,6 +45,7 @@
 
 %package doc
 
+
 Summary:Grammar Parser Library for Python - Documentation
 Group:  Development/Libraries/Python
 Requires:   %{name} = %{version}






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pyparsing for openSUSE:Factory

2011-06-30 Thread h_root

Hello community,

here is the log from the commit of package python-pyparsing for openSUSE:Factory
checked in at Thu Jun 30 12:57:24 CEST 2011.




--- python-pyparsing/python-pyparsing.changes   2010-07-07 02:40:11.0 
+0200
+++ python-pyparsing/python-pyparsing.changes   2011-06-30 10:57:51.0 
+0200
@@ -1,0 +2,40 @@
+Thu Jun 30 08:33:22 UTC 2011 - sasc...@suse.de
+
+- Update to version 1.5.6:
+  * Cleanup of parse action normalizing code, to be more version-tolerant,
+and robust in the face of future Python versions
+  * Removal of exception cacheing, addressing a memory leak condition
+in Python 3.
+  * Fixed bug when using packrat parsing, where a previously parsed
+expression would duplicate subsequent tokens
+  * Fixed bug in srange, which accepted escaped hex characters of the 
+form '\0x##', but should be '\x##'.  Both forms will be supported
+for backwards compatibility.
+  * Added the Verilog parser to the provided set of examples, under the
+MIT license.
+  * Added the excludeChars argument to the Word class, to simplify defining
+a word composed of all characters in a large range except for one or two.
+  * Added optional overlap parameter to scanString, to return overlapping
+matches found in the source text.
+  * Updated oneOf internal regular expression generation, with improved
+parse time performance.
+  * Slight performance improvement in transformString, removing empty
+strings from the list of string fragments built while scanning the
+source text, before calling ''.join. Especially useful when using 
+transformString to strip out selected text.
+  * Enhanced form of using the "expr('name')" style of results naming,
+in lieu of calling setResultsName.  If name ends with an '*', then
+this is equivalent to expr.setResultsName('name',listAllMatches=True).
+  * Fixed up internal list flattener to use iteration instead of recursion,
+to avoid stack overflow when transforming large files.
+- Changes from version 1.5.5:
+  * Typo in Python3 version of pyparsing, "builtin" should be "builtins".
+- Changes from version 1.5.4:
+  * Fixed __builtins__ and file references in Python 3 code, thanks to 
+Greg Watson, saulspatz, sminos, and Mark Summerfield for reporting 
+their Python 3 experiences.
+- Spec file cleanup:
+  * Regenerated with py2pack, much simpler spec file
+  * Fixed license to MIT, it's not GPLv2+
+
+---
@@ -4 +44 @@
-- initial package (1.5.3)
+- Initial package (1.5.3)

calling whatdependson for head-i586


Old:

  pyparsing-1.5.3.tar.bz2

New:

  pyparsing-1.5.6.tar.gz



Other differences:
--
++ python-pyparsing.spec ++
--- /var/tmp/diff_new_pack.6H9h8z/_old  2011-06-30 12:55:59.0 +0200
+++ /var/tmp/diff_new_pack.6H9h8z/_new  2011-06-30 12:55:59.0 +0200
@@ -15,26 +15,25 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
-%{!?python_sitelib:  %global python_sitelib  %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 
 Name:   python-pyparsing
-Version:1.5.3
+Version:1.5.6
 Release:1
-Summary:Grammar Parser Library for Python
-# http://prdownloads.sourceforge.net/pyparsing/pyparsing-%{version}.zip
-Source: pyparsing-%{version}.tar.bz2
 Url:http://pyparsing.wikispaces.com/
-Group:  Development/Libraries/Python
-License:GNU General Public License version 2 or later (GPL v2 or later)
+Summary:Grammar Parser Library for Python
+License:MIT License
+Group:  Development/Languages/Python
+Source: 
http://pypi.python.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python python-devel
-%if 0%{?suse_version} >= 1120
+BuildRequires:  python-devel
+%if 0%{?suse_version}
+%py_requires
+%if 0%{?suse_version} > 1110
 BuildArch:  noarch
 %endif
-%py_requires
+%endif
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 %description
 The pyparsing module is an alternative approach to creating and executing
@@ -58,48 +57,26 @@
   %{_docdir}/%{name}/
 
 %prep
-%setup -q -n "pyparsing-%{version}"
-%__sed -i 's/\r$//' CHANGES LICENSE
-find docs/ -type f -a \
-! \( -iname '*.png' -o -iname '*.jpg' -o -iname '*.gif' \) \
--exec %__sed -i 's/\r$//' {} \;
+%setup -q -n pyparsing-%{version}
 
 %build
-%__python ./setup.py build
+python setup.py build
+# Fix wrong EOL encoding:
+sed -i 's/\r$//' CHANGES LICENSE README d

commit python-pyparsing for openSUSE:Factory

2011-06-28 Thread h_root

Hello community,

here is the log from the commit of package python-pyparsing for openSUSE:Factory
checked in at Tue Jun 28 15:20:20 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ /mounts/work_src_done/STABLE/python-pyparsing/python-pyparsing.changes  
2010-07-07 02:40:11.0 +0200
@@ -0,0 +1,5 @@
+---
+Wed Jul  7 00:32:17 UTC 2010 - pascal.ble...@opensuse.org
+
+- initial package (1.5.3)
+

calling whatdependson for head-i586


New:

  pyparsing-1.5.3.tar.bz2
  python-pyparsing.changes
  python-pyparsing.spec



Other differences:
--
++ python-pyparsing.spec ++
#
# spec file for package python-pyparsing
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

%{!?python_sitelib:  %global python_sitelib  %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}

Name:   python-pyparsing
Version:1.5.3
Release:1
Summary:Grammar Parser Library for Python
# http://prdownloads.sourceforge.net/pyparsing/pyparsing-%{version}.zip
Source: pyparsing-%{version}.tar.bz2
Url:http://pyparsing.wikispaces.com/
Group:  Development/Libraries/Python
License:GNU General Public License version 2 or later (GPL v2 or later)
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python python-devel
%if 0%{?suse_version} >= 1120
BuildArch:  noarch
%endif
%py_requires

%description
The pyparsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of regular
expressions. The pyparsing module provides a library of classes that client
code uses to construct the grammar directly in Python code.

%package doc

Summary:Grammar Parser Library for Python - Documentation
Group:  Development/Libraries/Python
Requires:   %{name} = %{version}

%description doc
The pyparsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of regular
expressions. The pyparsing module provides a library of classes that client
code uses to construct the grammar directly in Python code.

This package contains the documentation of %{name}, under the directory
  %{_docdir}/%{name}/

%prep
%setup -q -n "pyparsing-%{version}"
%__sed -i 's/\r$//' CHANGES LICENSE
find docs/ -type f -a \
 ! \( -iname '*.png' -o -iname '*.jpg' -o -iname '*.gif' \) \
 -exec %__sed -i 's/\r$//' {} \;

%build
%__python ./setup.py build

%install
%__python ./setup.py install \
--prefix="%{_prefix}" \
--root="%{buildroot}" \
--record-rpm=files.lst

%__install -d "%{buildroot}%{_docdir}/%{name}"
for f in CHANGES LICENSE README; do
 %__install -m0644 "$f" "%{buildroot}%{_docdir}/%{name}/"
 echo "%doc %{_docdir}/%{name}/$f" >> files.lst
done

echo -n >docfiles.lst
for f in docs/*; do
 ff=$(basename "$f")
 %__cp -a "$f" "%{buildroot}%{_docdir}/%{name}/$ff"
 echo "%doc %{_docdir}/%{name}/$ff" >>docfiles.lst
done

%clean
%__rm -rf "%{buildroot}"

%files -f files.lst
%defattr(-,root,root)
%dir %doc %{_docdir}/%{name}

%files doc -f docfiles.lst
%defattr(-,root,root)
%dir %doc %{_docdir}/%{name}

# vim: set sw=3 ts=3 noet:
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
%changelog





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org