Commit Graph

43 Commits

Author SHA256 Message Date
a099b5dda4 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=57
2019-01-08 20:06:45 +00:00
f75677a570 Fix syntax of $python
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=56
2019-01-08 17:43:44 +00:00
4644063b2e Fix syntax error?
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=55
2019-01-08 14:11:51 +00:00
046202169a - Repackage back to plain 2.3.0 tarball with appropriate patches:
* docs_to_tarball_tests_pass_py2k.patch (gh#pyparsing/pyparsing#47)
    * pass_unitTests.patch (gh#pyparsing/pyparsing#63)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=54
2019-01-08 14:07:22 +00:00
0a12b50e88 - Add nose_to_unittest.patch to avoid nose BR and rewrite tests
to work (gh#pyparsing/pyparsing#64)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=52
2019-01-07 14:16:05 +00:00
02825dedbb Accepting request 661744 from devel:languages:python:avocado
- Drop doc subpackage as it leads to circular dependencies on some
  releases

OBS-URL: https://build.opensuse.org/request/show/661744
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=50
2018-12-28 10:00:36 +00:00
1580bf041c Accepting request 661733 from home:pluskalm:branches:devel:languages:python
- Update build dependendcies to resolve building on SLE-12

OBS-URL: https://build.opensuse.org/request/show/661733
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=49
2018-12-28 09:04:51 +00:00
Tomáš Chvátal
91a81470e0 Accepting request 651196 from home:jengelh:branches:devel:languages:python
- Use more specific RPM group.

OBS-URL: https://build.opensuse.org/request/show/651196
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=47
2018-11-23 07:56:59 +00:00
78908c097d Source tarball is not available upstream ATM
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=46
2018-11-21 18:25:27 +00:00
501b075884 Fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=45
2018-11-21 18:08:02 +00:00
3899205e0e - Upgrade to the current upstrem master with additional patches
to make the test suite pass.

- Add all tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=44
2018-11-21 16:58:27 +00:00
Tomáš Chvátal
a9b2b63dae - Update to 2.3.0, see changelog of the main package
- 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

- Fix URL to point to existing github

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=43
2018-11-15 09:08:10 +00:00
989672fcf6 Accepting request 633190 from home:mcepl:work
- Separate python-pyparsing-doc package so that tests can be run
  without introducing circular dependency.
- Clean up SPEC file.

OBS-URL: https://build.opensuse.org/request/show/633190
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=41
2018-09-04 17:39:25 +00:00
da105ff4b2 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=38
2017-03-14 21:32:04 +00:00
Jan Matejek
170ad64d71 Accepting request 460227 from devel:languages:python:singlespec
OBS-URL: https://build.opensuse.org/request/show/460227
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=37
2017-02-24 14:34:29 +00:00
Jan Matejek
20a122e729 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=36 2017-02-23 13:53:31 +00:00
Jan Matejek
0f739a65f3 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=35
2017-02-23 13:10:56 +00:00
Thomas Bechtold
93393581fd Accepting request 443222 from home:TheBlackCat:branches:devel:languages:python
Fix SLE 11 build

OBS-URL: https://build.opensuse.org/request/show/443222
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=34
2016-12-04 08:34:25 +00:00
Todd R
ce7b66256c Accepting request 438174 from home:TheBlackCat:branches:devel:languages:python
update to version 2.1.10

OBS-URL: https://build.opensuse.org/request/show/438174
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=33
2016-11-01 20:03:25 +00:00
Todd R
0f46391ec5 Accepting request 357100 from home:TheBlackCat:branches:devel:languages:python
update to version 2.0.7

OBS-URL: https://build.opensuse.org/request/show/357100
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=32
2016-02-01 11:15:59 +00:00
Denisart Benjamin
f20a1ebe23 Accepting request 306410 from home:benoit_monin:branches:devel:languages:python
- update to version 2.0.3
- fix end of line encoding of every file in examples

OBS-URL: https://build.opensuse.org/request/show/306410
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=31
2015-05-16 12:53:17 +00:00
Denisart Benjamin
54a411dd3d Accepting request 280937 from security:forensics
update to v2.0.2    Required by latest python-plaso package.

OBS-URL: https://build.opensuse.org/request/show/280937
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=30
2015-01-13 13:23:21 +00:00
Todd R
130a93a6d7 Accepting request 200178 from home:frispete:python
The examples are way too useful to not being included in -doc
but keep them in examples dir

- include examples in -doc package

OBS-URL: https://build.opensuse.org/request/show/200178
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=29
2013-09-23 12:02:05 +00:00
Sascha Peilicke
e37a4cfdf7 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=26
2013-09-17 13:28:37 +00:00
Sascha Peilicke
f8b99d39e8 Accepting request 199397 from Cloud:OpenStack:Master
- remove nonsensical tarball

OBS-URL: https://build.opensuse.org/request/show/199397
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=25
2013-09-17 13:11:36 +00:00
Sascha Peilicke
455cdc8dda Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=23
2013-06-17 12:53:13 +00:00
Todd R
7a1e6eb335 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=21 2013-04-13 10:06:53 +00:00
Todd R
d12f1cc420 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=20 2013-04-13 10:06:40 +00:00
Todd R
e932b18550 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=19 2013-04-13 10:06:00 +00:00
Todd R
f12773510a Accepting request 163759 from devel:languages:python3
Fix EOL fix (forwarded request 163758 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/163759
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=18
2013-04-12 14:08:22 +00:00
Sascha Peilicke
4fddad9452 Accepting request 158799 from home:dirkmueller:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/158799
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=16
2013-03-13 09:44:09 +00:00
Sascha Peilicke
17d35de99c - Minimal cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=14
2013-01-14 11:55:27 +00:00
Sascha Peilicke
a84db6fd14 - Don't ship examples twice
- Don't ship examples twice

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=13
2013-01-09 08:30:35 +00:00
Sascha Peilicke
9a32100a34 Accepting request 147512 from home:posophe:branches:devel:languages:python
initial python3 support.
sed -i 's/\r$//' doesn't work...

OBS-URL: https://build.opensuse.org/request/show/147512
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=12
2013-01-09 08:28:39 +00:00
Sascha Peilicke
d422dd37dd - Package examples
- Spec file cleanup

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=10
2012-11-23 14:08:18 +00:00
Pascal Bleser
89de4680c9 remove %debug_package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=9
2011-12-12 09:05:56 +00:00
Sascha Peilicke
d3552010b7 - Add Provides/Obsoletes for python-parsing
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=7
2011-07-03 09:41:12 +00:00
OBS User buildservice-autocommit
89686fec65 Updating link to change in openSUSE:Factory/python-pyparsing revision 4.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=ad764093ba1c69edee92f8e7a6da78ee
2011-06-30 10:57:50 +00:00
Sascha Peilicke
ea75faf365 - 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:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=5
2011-06-30 08:57:52 +00:00
OBS User buildservice-autocommit
5cb1e91c78 Updating link to change in openSUSE:Factory/python-pyparsing revision 2.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=5961250e49585eb0056d4210bd34523e
2011-06-28 13:20:38 +00:00
Sascha Peilicke
5b72c11078 Autobuild autoformatter for 73459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyparsing?expand=0&rev=2
2011-06-28 13:20:38 +00:00
Sascha Peilicke
fcae087e79 Accepting request 73459 from devel:languages:python
Please add python-pyparsing to Factory, it is a dependency for python-pybtex and useful on its own

OBS-URL: https://build.opensuse.org/request/show/73459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyparsing?expand=0&rev=1
2011-06-28 13:20:12 +00:00
Pascal Bleser
50a6d9e853 1.5.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=1
2010-07-07 00:40:12 +00:00