Hello community,

here is the log from the commit of package python3-pycparser for 
openSUSE:Factory checked in at 2015-06-15 17:50:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pycparser (Old)
 and      /work/SRC/openSUSE:Factory/.python3-pycparser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-pycparser"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pycparser/python3-pycparser.changes      
2015-05-25 11:16:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-pycparser.new/python3-pycparser.changes 
2015-06-15 17:50:43.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Jun 15 02:18:09 UTC 2015 - [email protected]
+
+- update to version 2.14:
+  * Added CParser parameter to specify output directory for generated
+    parsing tables (#84).
+  * Removed lcc's cpp and its license from the distribution. Using
+    lcc's cpp is no longer recommended, now that Clang has binary
+    builds available for Windows.
+
+-------------------------------------------------------------------

Old:
----
  pycparser-2.13.tar.gz

New:
----
  pycparser-2.14.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-pycparser.spec ++++++
--- /var/tmp/diff_new_pack.AKSJRr/_old  2015-06-15 17:50:44.000000000 +0200
+++ /var/tmp/diff_new_pack.AKSJRr/_new  2015-06-15 17:50:44.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-pycparser
-Version:        2.13
+Version:        2.14
 Release:        0
 Summary:        C parser in Python
 License:        BSD-3-Clause

++++++ pycparser-2.13.tar.gz -> pycparser-2.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/CHANGES new/pycparser-2.14/CHANGES
--- old/pycparser-2.13/CHANGES  2015-05-12 15:01:17.000000000 +0200
+++ new/pycparser-2.14/CHANGES  2015-06-10 05:00:06.000000000 +0200
@@ -1,3 +1,11 @@
++ Version 2.14 (09.06.2015)
+
+  - Added CParser parameter to specify output directory for generated parsing
+    tables (#84).
+  - Removed lcc's cpp and its license from the distribution. Using lcc's cpp
+    is no longer recommended, now that Clang has binary builds available for
+    Windows.
+
 + Version 2.13 (12.05.2015)
 
   - Added support for offsetof() the way gcc implements it (special builtin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/MANIFEST.in 
new/pycparser-2.14/MANIFEST.in
--- old/pycparser-2.13/MANIFEST.in      2015-05-10 17:20:10.000000000 +0200
+++ new/pycparser-2.14/MANIFEST.in      2015-05-18 15:31:56.000000000 +0200
@@ -1,7 +1,6 @@
 recursive-include examples *.c *.h *.py
 recursive-include tests *.c *.h *.py
 recursive-include pycparser *.py *.cfg
-include utils/*.exe
 include utils/fake_libc_include/*.h
 include README.*
 include LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/PKG-INFO new/pycparser-2.14/PKG-INFO
--- old/pycparser-2.13/PKG-INFO 2015-05-12 15:05:57.000000000 +0200
+++ new/pycparser-2.14/PKG-INFO 2015-06-10 05:02:45.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pycparser
-Version: 2.13
+Version: 2.14
 Summary: C parser in Python
 Home-page: https://github.com/eliben/pycparser
 Author: Eli Bendersky
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/README.rst 
new/pycparser-2.14/README.rst
--- old/pycparser-2.13/README.rst       2015-05-12 15:01:43.000000000 +0200
+++ new/pycparser-2.14/README.rst       2015-06-10 04:59:12.000000000 +0200
@@ -1,5 +1,5 @@
 ===============
-pycparser v2.13
+pycparser v2.14
 ===============
 
 :Author: `Eli Bendersky <http://eli.thegreenplace.net>`_
@@ -128,13 +128,6 @@
 it will interact with ``cpp`` for you, as long as it's in your PATH, or you
 provide a path to it.
 
-On the vast majority of Linux systems, ``cpp`` is installed and is in the PATH.
-If you're on Windows and don't have ``cpp`` anywhere, you can use the one
-provided in the ``utils`` directory in **pycparser**'s distribution. This
-``cpp`` executable was compiled from the `LCC distribution
-<http://www.cs.princeton.edu/software/lcc/>`_, and is provided under LCC's
-license terms.
-
 Note also that you can use ``gcc -E`` or ``clang -E`` instead of ``cpp``. See
 the ``using_gcc_E_libc.py`` example for more details. Windows users can 
download
 and install a binary build of Clang for Windows `from this website
@@ -156,7 +149,9 @@
 the source is a previously defined type. This is essential in order to be able
 to parse C correctly.
 
-See the ``using_cpp_libc.py`` example for more details.
+See `this blog post
+<http://eli.thegreenplace.net/2015/on-parsing-c-type-declarations-and-fake-headers>`_
+for more details.
 
 Basic usage
 -----------
@@ -212,9 +207,6 @@
 tests/:
   Unit tests.
 
-utils/cpp.exe:
-  A Windows executable of the C pre-processor suitable for working with 
pycparser
-
 utils/fake_libc_include:
   Minimal standard C library include files that should allow to parse any C 
code.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/examples/using_cpp_libc.py 
new/pycparser-2.14/examples/using_cpp_libc.py
--- old/pycparser-2.13/examples/using_cpp_libc.py       2015-04-21 
23:42:06.000000000 +0200
+++ new/pycparser-2.14/examples/using_cpp_libc.py       2015-05-18 
15:30:42.000000000 +0200
@@ -15,9 +15,6 @@
 #
 sys.path.extend(['.', '..'])
 
-# Portable cpp path for Windows and Linux/Unix
-CPPPATH = 'utils/cpp.exe' if sys.platform == 'win32' else 'cpp'
-
 from pycparser import parse_file
 
 
@@ -28,7 +25,7 @@
         filename = 'examples/c_files/year.c'
 
     ast = parse_file(filename, use_cpp=True,
-            cpp_path=CPPPATH, 
+            cpp_path='cpp', 
             cpp_args=r'-Iutils/fake_libc_include')
     
     ast.show()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/pycparser/__init__.py 
new/pycparser-2.14/pycparser/__init__.py
--- old/pycparser-2.13/pycparser/__init__.py    2015-05-12 15:01:36.000000000 
+0200
+++ new/pycparser-2.14/pycparser/__init__.py    2015-06-10 04:59:06.000000000 
+0200
@@ -8,7 +8,7 @@
 # License: BSD
 #-----------------------------------------------------------------
 __all__ = ['c_lexer', 'c_parser', 'c_ast']
-__version__ = '2.13'
+__version__ = '2.14'
 
 from subprocess import Popen, PIPE
 from .c_parser import CParser
Files old/pycparser-2.13/pycparser/__init__.pyc and 
new/pycparser-2.14/pycparser/__init__.pyc differ
Files old/pycparser-2.13/pycparser/_ast_gen.pyc and 
new/pycparser-2.14/pycparser/_ast_gen.pyc differ
Files old/pycparser-2.13/pycparser/c_ast.pyc and 
new/pycparser-2.14/pycparser/c_ast.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/pycparser/c_parser.py 
new/pycparser-2.14/pycparser/c_parser.py
--- old/pycparser-2.13/pycparser/c_parser.py    2015-05-10 17:19:35.000000000 
+0200
+++ new/pycparser-2.14/pycparser/c_parser.py    2015-06-10 04:56:52.000000000 
+0200
@@ -23,7 +23,8 @@
             lextab='pycparser.lextab',
             yacc_optimize=True,
             yacctab='pycparser.yacctab',
-            yacc_debug=False):
+            yacc_debug=False,
+            taboutputdir=''):
         """ Create a new CParser.
 
             Some arguments for controlling the debug/optimization
@@ -64,6 +65,10 @@
             yacc_debug:
                 Generate a parser.out file that explains how yacc
                 built the parsing table from the grammar.
+
+            taboutputdir:
+                Set this parameter to control the location of generated
+                lextab and yacctab files.
         """
         self.clex = CLexer(
             error_func=self._lex_error_func,
@@ -73,7 +78,8 @@
 
         self.clex.build(
             optimize=lex_optimize,
-            lextab=lextab)
+            lextab=lextab,
+            outputdir=taboutputdir)
         self.tokens = self.clex.tokens
 
         rules_with_opt = [
@@ -101,7 +107,8 @@
             start='translation_unit_or_empty',
             debug=yacc_debug,
             optimize=yacc_optimize,
-            tabmodule=yacctab)
+            tabmodule=yacctab,
+            outputdir=taboutputdir)
 
         # Stack of scopes for keeping track of symbols. _scope_stack[-1] is
         # the current (topmost) scope. Each scope is a dictionary that
Files old/pycparser-2.13/pycparser/c_parser.pyc and 
new/pycparser-2.14/pycparser/c_parser.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/pycparser.egg-info/PKG-INFO 
new/pycparser-2.14/pycparser.egg-info/PKG-INFO
--- old/pycparser-2.13/pycparser.egg-info/PKG-INFO      2015-05-12 
15:05:57.000000000 +0200
+++ new/pycparser-2.14/pycparser.egg-info/PKG-INFO      2015-06-10 
05:02:45.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pycparser
-Version: 2.13
+Version: 2.14
 Summary: C parser in Python
 Home-page: https://github.com/eliben/pycparser
 Author: Eli Bendersky
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/pycparser.egg-info/SOURCES.txt 
new/pycparser-2.14/pycparser.egg-info/SOURCES.txt
--- old/pycparser-2.13/pycparser.egg-info/SOURCES.txt   2015-05-12 
15:05:57.000000000 +0200
+++ new/pycparser-2.14/pycparser.egg-info/SOURCES.txt   2015-06-10 
05:02:45.000000000 +0200
@@ -52,7 +52,6 @@
 tests/c_files/simplemain.c
 tests/c_files/year.c
 tests/c_files/hdir/9/inc.h
-utils/cpp.exe
 utils/fake_libc_include/_ansi.h
 utils/fake_libc_include/_fake_defines.h
 utils/fake_libc_include/_fake_typedefs.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/setup.py new/pycparser-2.14/setup.py
--- old/pycparser-2.13/setup.py 2015-05-12 15:01:29.000000000 +0200
+++ new/pycparser-2.14/setup.py 2015-06-10 04:58:57.000000000 +0200
@@ -40,7 +40,7 @@
         C compilers or analysis tools.
     """,
     license='BSD',
-    version='2.13',
+    version='2.14',
     author='Eli Bendersky',
     maintainer='Eli Bendersky',
     author_email='[email protected]',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.13/tests/test_general.py 
new/pycparser-2.14/tests/test_general.py
--- old/pycparser-2.13/tests/test_general.py    2013-12-28 17:53:36.000000000 
+0100
+++ new/pycparser-2.14/tests/test_general.py    2015-05-18 15:32:42.000000000 
+0200
@@ -4,8 +4,7 @@
 sys.path.insert(0, '..')
 from pycparser import parse_file, c_ast
 
-# Portable cpp path for Windows and Linux/Unix
-CPPPATH = 'utils/cpp.exe' if sys.platform == 'win32' else 'cpp'
+CPPPATH = 'cpp'
 
 
 # Test successful parsing
Files old/pycparser-2.13/utils/cpp.exe and new/pycparser-2.14/utils/cpp.exe 
differ


Reply via email to