commit python-pycparser for openSUSE:Factory

2020-03-12 Thread root
Hello community,

here is the log from the commit of package python-pycparser for 
openSUSE:Factory checked in at 2020-03-12 22:57:59

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


Package is "python-pycparser"

Thu Mar 12 22:57:59 2020 rev:11 rq:783100 version:2.20

Changes:

--- /work/SRC/openSUSE:Factory/python-pycparser/python-pycparser.changes
2019-01-15 09:14:43.518327513 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pycparser.new.3160/python-pycparser.changes  
2020-03-12 22:58:14.986989383 +0100
@@ -1,0 +2,16 @@
+Mon Mar  9 20:59:13 UTC 2020 - Dirk Mueller 
+
+- update to 2.20:
+- #61: Fix slow backtracking when parsing strings.
+- #99: Parser for FuncDecl incorrectly sets declname attribute on return 
type.
+- #310: Fix crash when file starts with a semicolon.
+- #313: Fix array type generation.
+- #314: Fix failed parsing of unnamed function parameters with array dim
+  qualifiers.
+- #315: Fix pointer type generation.
+- #324: Fixes for u/l constant integer suffix.
+- #346: Fix error transforming an empty switch.
+- #350: Recognize integer multicharacter constants like 'ABCD'.
+- #363: Fix incorrect AST when parsing offsetof.
+
+---

Old:

  pycparser-2.19.tar.gz

New:

  pycparser-2.20.tar.gz



Other differences:
--
++ python-pycparser.spec ++
--- /var/tmp/diff_new_pack.xpP5SN/_old  2020-03-12 22:58:15.502989589 +0100
+++ /var/tmp/diff_new_pack.xpP5SN/_new  2020-03-12 22:58:15.506989590 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycparser
 #
-# Copyright (c) 2018 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
@@ -18,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pycparser
-Version:2.19
+Version:2.20
 Release:0
 Summary:C parser in Python
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/eliben/pycparser
+URL:https://github.com/eliben/pycparser
 Source0:
https://files.pythonhosted.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
 Source99:   %{name}-rpmlintrc
 Patch1: fix-lexer-build.patch

++ pycparser-2.19.tar.gz -> pycparser-2.20.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycparser-2.19/CHANGES new/pycparser-2.20/CHANGES
--- old/pycparser-2.19/CHANGES  2018-09-19 14:20:30.0 +0200
+++ new/pycparser-2.20/CHANGES  2020-03-04 15:07:38.0 +0100
@@ -1,9 +1,26 @@
++ Version 2.20 (2020.03.04)
+
+  - #61: Fix slow backtracking when parsing strings.
+  - #99: Parser for FuncDecl incorrectly sets declname attribute on return 
type.
+  - #310: Fix crash when file starts with a semicolon.
+  - #313: Fix array type generation.
+  - #314: Fix failed parsing of unnamed function parameters with array dim
+qualifiers.
+  - #315: Fix pointer type generation.
+  - #324: Fixes for u/l constant integer suffix.
+  - #346: Fix error transforming an empty switch.
+  - #350: Recognize integer multicharacter constants like 'ABCD'.
+  - #363: Fix incorrect AST when parsing offsetof.
+
 + Version 2.19 (2018.09.19)
 
   - PR #277: Fix parsing of floating point literals
   - PR #254: Add support for parsing empty structs
   - PR #240: Fix enum formatting in generated C code (also #216)
   - PR #222: Add support for #pragma in struct declarations
+  - There are reports that this release doesn't work with Python 2.6 (#281).
+Please note that the minimal supported version is 2.7; the required 
versions
+are listed in the README file.
 
 + Version 2.18 (2017.07.04)
 
@@ -149,11 +166,11 @@
 + Version 2.05 (2011.10.16)
 
   - Added support for the C99 ``_Bool`` type and ``stdbool.h`` header file
-  - Expanded ``examples/explore_ast.py`` with more details on working with the 
+  - Expanded ``examples/explore_ast.py`` with more details on working with the
 AST
   - Relaxed the rules on parsing unnamed struct members (helps parse 
``windows.h``)
   - Bug fixes:
-  
+
 * Fixed spacing issue for some type declarations
 * Issue 47: display empty statements (lone ';') correctly after parsing
 
@@ -161,34 +178,34 @@
 
   - License changed from LGPL to BSD
   - Bug fixes:
-  
+
 * Issue 31: constraining the scope of typedef definitions
 * Issues 33, 35: fixes for the c-to-c.py example
-  

commit python-pycparser for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package python-pycparser for 
openSUSE:Factory checked in at 2019-01-15 09:14:26

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


Package is "python-pycparser"

Tue Jan 15 09:14:26 2019 rev:10 rq:66 version:2.19

Changes:

--- /work/SRC/openSUSE:Factory/python-pycparser/python-pycparser.changes
2018-12-14 20:46:56.093546866 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pycparser.new.28833/python-pycparser.changes 
2019-01-15 09:14:43.518327513 +0100
@@ -1,0 +2,7 @@
+Wed Jan  9 21:51:00 UTC 2019 - Jonathan Brownell 
+
+- Restrict pattern matching to real files (not symlinks) during packaging
+  of fake_libc_include to avoid build errors on Red Hat platforms.
+  * fix-lexer-build.patch
+
+---



Other differences:
--
++ fix-lexer-build.patch ++
--- /var/tmp/diff_new_pack.G6Y3i5/_old  2019-01-15 09:14:44.046327023 +0100
+++ /var/tmp/diff_new_pack.G6Y3i5/_new  2019-01-15 09:14:44.046327023 +0100
@@ -38,6 +38,6 @@
 -package_data={'pycparser': ['*.cfg']},
 -cmdclass={'install': install, 'sdist': sdist},
 +packages=['pycparser', 'pycparser.ply', 'utils.fake_libc_include'],
-+package_data={'pycparser': ['*.cfg'], 'utils.fake_libc_include': ['*']},
++package_data={'pycparser': ['*.cfg'], 'utils.fake_libc_include': ['*.h', 
'xcb/*']},
 +cmdclass={'build': build, 'sdist': sdist},
  )




commit python-pycparser for openSUSE:Factory

2018-12-14 Thread root
Hello community,

here is the log from the commit of package python-pycparser for 
openSUSE:Factory checked in at 2018-12-14 20:46:54

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


Package is "python-pycparser"

Fri Dec 14 20:46:54 2018 rev:9 rq:655858 version:2.19

Changes:

--- /work/SRC/openSUSE:Factory/python-pycparser/python-pycparser.changes
2018-10-02 19:43:14.686087191 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pycparser.new.28833/python-pycparser.changes 
2018-12-14 20:46:56.093546866 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:51:59 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-pycparser.spec ++
--- /var/tmp/diff_new_pack.DMybk7/_old  2018-12-14 20:46:57.089545493 +0100
+++ /var/tmp/diff_new_pack.DMybk7/_new  2018-12-14 20:46:57.093545488 +0100
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -27,7 +27,7 @@
 Source0:
https://files.pythonhosted.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
 Source99:   %{name}-rpmlintrc
 Patch1: fix-lexer-build.patch
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch




commit python-pycparser for openSUSE:Factory

2018-10-02 Thread root
Hello community,

here is the log from the commit of package python-pycparser for 
openSUSE:Factory checked in at 2018-10-02 19:43:12

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


Package is "python-pycparser"

Tue Oct  2 19:43:12 2018 rev:8 rq:637731 version:2.19

Changes:

--- /work/SRC/openSUSE:Factory/python-pycparser/python-pycparser.changes
2018-05-07 14:52:54.98347 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycparser.new/python-pycparser.changes   
2018-10-02 19:43:14.686087191 +0200
@@ -1,0 +2,10 @@
+Mon Sep 24 16:27:58 UTC 2018 - Todd R 
+
+- Update to 2.19
+  - PR #277: Fix parsing of floating point literals
+  - PR #254: Add support for parsing empty structs
+  - PR #240: Fix enum formatting in generated C code (also #216)
+  - PR #222: Add support for #pragma in struct declarations
+- Rebase fix-lexer-build.patch
+
+---

Old:

  pycparser-2.18.tar.gz

New:

  pycparser-2.19.tar.gz



Other differences:
--
++ python-pycparser.spec ++
--- /var/tmp/diff_new_pack.Uqu2Ed/_old  2018-10-02 19:43:15.086086786 +0200
+++ /var/tmp/diff_new_pack.Uqu2Ed/_new  2018-10-02 19:43:15.090086781 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycparser
 #
-# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pycparser
-Version:2.18
+Version:2.19
 Release:0
 Summary:C parser in Python
 License:BSD-3-Clause
@@ -30,7 +30,6 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
 %python_subpackages
@@ -57,8 +56,9 @@
 %python_exec tests/all_tests.py
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst examples
+%doc README.rst
+%doc examples/
+%license LICENSE
 %{python_sitelib}/*
 
 %changelog

++ fix-lexer-build.patch ++
--- /var/tmp/diff_new_pack.Uqu2Ed/_old  2018-10-02 19:43:15.114086757 +0200
+++ /var/tmp/diff_new_pack.Uqu2Ed/_new  2018-10-02 19:43:15.118086754 +0200
@@ -16,8 +16,8 @@
  from distutils.command.sdist import sdist as _sdist
  
  
-@@ -15,10 +15,10 @@ def _run_build_tables(dir):
-  cwd=os.path.join(dir, 'pycparser'))
+@@ -18,10 +18,10 @@ def _run_build_tables(dir):
+cwd=os.path.join(dir, 'pycparser'))
  
  
 -class install(_install):
@@ -30,10 +30,10 @@
   msg="Build the lexing/parsing tables")
  
  
-@@ -49,7 +49,7 @@ setup(
- classifiers = [
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 3',],
+@@ -60,7 +60,7 @@ setup(
+ 'Programming Language :: Python :: 3.6',
+ ],
+ python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
 -packages=['pycparser', 'pycparser.ply'],
 -package_data={'pycparser': ['*.cfg']},
 -cmdclass={'install': install, 'sdist': sdist},

++ pycparser-2.18.tar.gz -> pycparser-2.19.tar.gz ++
 3823 lines of diff (skipped)




commit python-pycparser for openSUSE:Factory

2018-05-07 Thread root
Hello community,

here is the log from the commit of package python-pycparser for 
openSUSE:Factory checked in at 2018-05-07 14:52:52

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


Package is "python-pycparser"

Mon May  7 14:52:52 2018 rev:7 rq:603203 version:2.18

Changes:

--- /work/SRC/openSUSE:Factory/python-pycparser/python-pycparser.changes
2017-04-19 18:03:25.396668823 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycparser.new/python-pycparser.changes   
2018-05-07 14:52:54.98347 +0200
@@ -1,0 +2,9 @@
+Wed Jul 12 05:50:39 UTC 2017 - tbecht...@suse.com
+
+- update to 2.18:
+  - PR #161 & #184: Update bundled PLY version to 3.10
+  - PR #158: Add support for the __int128 type.
+  - PR #169: Handle more tricky TYPEID in declarators.
+  - PR #178: Add columns to the coord of each node
+
+---

Old:

  pycparser-2.17.tar.gz

New:

  pycparser-2.18.tar.gz



Other differences:
--
++ python-pycparser.spec ++
--- /var/tmp/diff_new_pack.sxedQK/_old  2018-05-07 14:52:55.775441950 +0200
+++ /var/tmp/diff_new_pack.sxedQK/_new  2018-05-07 14:52:55.779441825 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pycparser
-Version:2.17
+Version:2.18
 Release:0
 Summary:C parser in Python
 License:BSD-3-Clause

++ pycparser-2.17.tar.gz -> pycparser-2.18.tar.gz ++
 3681 lines of diff (skipped)




commit python-pycparser for openSUSE:Factory

2017-04-19 Thread root
Hello community,

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

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


Package is "python-pycparser"

Wed Apr 19 18:03:19 2017 rev:6 rq:482557 version:2.17

Changes:

--- /work/SRC/openSUSE:Factory/python-pycparser/python-pycparser.changes
2016-01-23 01:15:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycparser.new/python-pycparser.changes   
2017-04-19 18:03:25.396668823 +0200
@@ -1,0 +2,31 @@
+Fri Mar 24 17:09:01 UTC 2017 - jmate...@suse.com
+
+- sort out duplicate rpmlintrc
+
+---
+Thu Mar 16 16:15:40 UTC 2017 - jmate...@suse.com
+
+- update to 2.17
+  - PR #121: Update bundled PLY version to 3.8
+  - Issue #117: Fix parsing of extra semi-colons inside structure declarations.
+  - PR #109: Update c_generator to add {} around nested named initializers.
+  - PR #101: Added support for parsing pragmas into the AST.
+  - Additional fake headers and typedefs, manifest fixes (#97, #106, #111).
+  - Testing with Python 3.5 instead of 3.3 now (3.4 and 3.5 are the 3.x 
versions
+tested).
+  - PR #145: More complete support for offsetof()
+  - Issue #116: Fix line numbers recorded for empty and compound statements.
+  - Minor performance improvement to the invalid string literal regex.
+- drop upstreamed 0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
+- move source url to pypi
+
+---
+Thu Dec  8 16:40:11 UTC 2016 - jmate...@suse.com
+
+- update for multipython build
+- move fake_libc to site-packages, where it can be found by pkg_resources
+  * this also prevents file conflict between python2 and python3
+- fix-lexer-build.patch: fix build process to better generate parser/lexer
+  files
+
+---

Old:

  0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
  release_v2.14.tar.gz

New:

  fix-lexer-build.patch
  pycparser-2.17.tar.gz



Other differences:
--
++ python-pycparser.spec ++
--- /var/tmp/diff_new_pack.Jp0FNn/_old  2017-04-19 18:03:27.852321461 +0200
+++ /var/tmp/diff_new_pack.Jp0FNn/_new  2017-04-19 18:03:27.852321461 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycparser
 #
-# 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,25 +16,24 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pycparser
-Version:2.14
+Version:2.17
 Release:0
 Summary:C parser in Python
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/eliben/pycparser
-Source0:
https://github.com/eliben/pycparser/archive/release_v%{version}.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
 Source99:   %{name}-rpmlintrc
-#PATCH-FIX-UPSTREAM
-Patch0: 0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
+Patch1: fix-lexer-build.patch
+BuildRequires:  %{python_module devel}
 BuildRequires:  fdupes
-BuildRequires:  python-devel
+BuildRequires:  python-rpm-macros
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%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
+
+%python_subpackages
 
 %description
 pycparser is a complete parser of the C language, written in pure Python using
@@ -42,27 +41,24 @@
 front-end for C compilers or analysis tools.
 
 %prep
-%setup -q -n pycparser-release_v%{version}
-%patch0 -p1
+%setup -q -n pycparser-%{version}
+%patch1 -p1
 # fix end of line
 sed -i 's/\r//' LICENSE
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-mkdir -p %{buildroot}/%{_datadir}/%{name}
-cp -r utils/fake_libc_include/ %{buildroot}/%{_datadir}/%{name}
-%fdupes -s %{buildroot}/%{_datadir}/%{name}/fake_libc_include/
+%python_install
+%{python_expand %fdupes %{buildroot}%{$python_sitelib}}
 
 %check
-python tests/all_tests.py
+%python_exec tests/all_tests.py
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE README.rst examples
 

commit python-pycparser for openSUSE:Factory

2016-01-22 Thread h_root
Hello community,

here is the log from the commit of package python-pycparser for 
openSUSE:Factory checked in at 2016-01-23 01:15:41

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


Package is "python-pycparser"

Changes:

--- /work/SRC/openSUSE:Factory/python-pycparser/python-pycparser.changes
2015-05-18 22:57:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycparser.new/python-pycparser.changes   
2016-01-23 01:15:49.0 +0100
@@ -1,0 +2,31 @@
+Sat Jan 16 14:31:31 UTC 2016 - p.drou...@gmail.com
+
+- Add python-pycparser-rpmlintrc to sources
+
+---
+Thu Jan  7 20:52:41 UTC 2016 - mvysko...@opensuse.org
+
+- Tag added patch better
+
+---
+Mon Nov 30 12:56:14 UTC 2015 - mvysko...@opensuse.org
+
+- 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.
+  2.13:
+  * Added support for offsetof() the way gcc implements it (special builtin
+that takes a type as an argument).
+  * Added faked va_* macros (these are expected to come from stdarg.h)
+  * Added a bunch more fake headers and typedefs to support parsing C projects
+like Git and SQLite without modifications to pycparser.
+  * Added support for empty initializer lists (#79).
+- Package fake_libc_include
+  * switch to github release as pypi tarball don't contains all files
+- Add 0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
+  * upstream patch enhancing the fake_libc_include
+
+---

Old:

  pycparser-2.12.tar.gz

New:

  0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
  python-pycparser-rpmlintrc
  release_v2.14.tar.gz



Other differences:
--
++ python-pycparser.spec ++
--- /var/tmp/diff_new_pack.73wN9V/_old  2016-01-23 01:15:50.0 +0100
+++ /var/tmp/diff_new_pack.73wN9V/_new  2016-01-23 01:15:50.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycparser
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,13 +17,17 @@
 
 
 Name:   python-pycparser
-Version:2.12
+Version:2.14
 Release:0
 Summary:C parser in Python
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/eliben/pycparser
-Source: 
http://pypi.python.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
+Source0:
https://github.com/eliben/pycparser/archive/release_v%{version}.tar.gz
+Source99:   %{name}-rpmlintrc
+#PATCH-FIX-UPSTREAM
+Patch0: 0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
+BuildRequires:  fdupes
 BuildRequires:  python-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -38,7 +42,8 @@
 front-end for C compilers or analysis tools.
 
 %prep
-%setup -q -n pycparser-%{version}
+%setup -q -n pycparser-release_v%{version}
+%patch0 -p1
 # fix end of line
 sed -i 's/\r//' LICENSE
 
@@ -47,6 +52,9 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+mkdir -p %{buildroot}/%{_datadir}/%{name}
+cp -r utils/fake_libc_include/ %{buildroot}/%{_datadir}/%{name}
+%fdupes -s %{buildroot}/%{_datadir}/%{name}/fake_libc_include/
 
 %check
 python tests/all_tests.py
@@ -55,5 +63,6 @@
 %defattr(-,root,root,-)
 %doc LICENSE README.rst examples
 %{python_sitelib}/*
+%{_datadir}/%{name}
 
 %changelog

++ 0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch ++
commit 2acb22c5606cf151ea31859bd5c3810fc0630150
Author: Dubslow 
Date:   Thu Sep 10 18:02:30 2015 -0500

Add missing typedef sa_family_t from sys/socket.h

diff --git a/utils/fake_libc_include/_fake_typedefs.h 
b/utils/fake_libc_include/_fake_typedefs.h
index 6201cf7..8c8d463 100644
--- a/utils/fake_libc_include/_fake_typedefs.h
+++ b/utils/fake_libc_include/_fake_typedefs.h
@@ -95,6 +95,7 @@ typedef int pthread_barrier_t;
 typedef int pthread_barrierattr_t;
 typedef int jmp_buf;
 typedef int rlim_t;
+typedef int sa_family_t;
 typedef int sigjmp_buf;
 typedef int stack_t;
 typedef int siginfo_t;
++ 

commit python-pycparser for openSUSE:Factory

2015-05-18 Thread h_root
Hello community,

here is the log from the commit of package python-pycparser for 
openSUSE:Factory checked in at 2015-05-18 22:57:25

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


Package is python-pycparser

Changes:

--- /work/SRC/openSUSE:Factory/python-pycparser/python-pycparser.changes
2013-08-14 23:02:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycparser.new/python-pycparser.changes   
2015-05-18 22:57:27.0 +0200
@@ -1,0 +2,23 @@
+Mon May 11 14:59:40 UTC 2015 - benoit.mo...@gmx.fr
+
+- update to version 2.12:
+  * This is a fix release for 2.11; the memory optimization with
+__slots__ on Coord and AST nodes didn't take weakrefs into
+account, which broke cffi and its many dependents (issue #76).
+Fixed by adding __weakref__ to __slots__.
+- additional changes from version 2.11:
+  * Add support for C99 6.5.3.7 p7 - qualifiers within array
+dimensions in function declarations. Started with issue #21
+(reported with initial patch by Robin Martinjak).
+  * Issue #27: bug in handling of unified wstring literals.
+  * Issue #28: fix coord reporting for 'for' loops.
+  * Added ``examples/using_gcc_E_libc.py`` to demonstrate how ``gcc
+-E`` can be used instead of ``cpp`` for preprocessing.
+  * Pull request #64: support keywords like const, volatile,
+restrict and static in dimensions in array declarations.
+  * Reduce memory usage of AST nodes (issue #72).
+  * Parsing order of nested pointer declarations fixed (issue #68).
+- update project URL
+- fix end of line encoding of LICENSE
+
+---

Old:

  pycparser-2.10.tar.gz

New:

  pycparser-2.12.tar.gz



Other differences:
--
++ python-pycparser.spec ++
--- /var/tmp/diff_new_pack.WIW6Dr/_old  2015-05-18 22:57:28.0 +0200
+++ /var/tmp/diff_new_pack.WIW6Dr/_new  2015-05-18 22:57:28.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycparser
 #
-# Copyright (c) 2013 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
@@ -13,15 +13,16 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:   python-pycparser
-Version:2.10
+Version:2.12
 Release:0
-License:BSD-3-Clause
 Summary:C parser in Python
-Url:https://bitbucket.org/eliben/pycparser
+License:BSD-3-Clause
 Group:  Development/Languages/Python
+Url:https://github.com/eliben/pycparser
 Source: 
http://pypi.python.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -38,6 +39,8 @@
 
 %prep
 %setup -q -n pycparser-%{version}
+# fix end of line
+sed -i 's/\r//' LICENSE
 
 %build
 python setup.py build

++ pycparser-2.10.tar.gz - pycparser-2.12.tar.gz ++
 3701 lines of diff (skipped)




commit python-pycparser for openSUSE:Factory

2013-08-14 Thread h_root
Hello community,

here is the log from the commit of package python-pycparser for 
openSUSE:Factory checked in at 2013-08-14 23:02:44

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


Package is python-pycparser

Changes:

New Changes file:

--- /dev/null   2013-07-23 23:44:04.804033756 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycparser.new/python-pycparser.changes   
2013-08-14 23:02:45.0 +0200
@@ -0,0 +1,32 @@
+---
+Mon Aug 12 08:45:29 UTC 2013 - speili...@suse.com
+
+- Update to version 2.10:
+  - A number of improvements in the handling of typedef-name ambiguities,
+contributed by Sye van der Veen in GitHub issue #1:
+* Allow shadowing of types by identifiers in inner scopes.
+* Allow struct field names to reside in a separate namespace and have
+  the same names as types.
+* Allow duplicate typedefs in some cases to mimic real compiler behavior.
+  - c_generator error for ExprList in expression context.
+  - Assume default int type for functions whose argument or return types were
+not specified.
+  - Relax the lexer a bit w.r.t. some integer suffixes and $ in identifier 
names
+(which is supported by some other compilers).
+- Package LICENSE
+
+---
+Sat Apr 13 10:11:29 UTC 2013 - toddrme2...@gmail.com
+
+- Remove pre_checkin.sh since the two packages are not the same
+
+---
+Wed Feb 27 15:22:33 UTC 2013 - p.drou...@gmail.com
+
+- Initial python3 support
+
+---
+Sun Feb 10 09:48:07 UTC 2013 - sasc...@suse.de
+
+- Initial version
+

New:

  pycparser-2.10.tar.gz
  python-pycparser.changes
  python-pycparser.spec



Other differences:
--
++ python-pycparser.spec ++
#
# spec file for package python-pycparser
#
# 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:   python-pycparser
Version:2.10
Release:0
License:BSD-3-Clause
Summary:C parser in Python
Url:https://bitbucket.org/eliben/pycparser
Group:  Development/Languages/Python
Source: 
http://pypi.python.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
BuildRequires:  python-devel
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%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
pycparser is a complete parser of the C language, written in pure Python using
the PLY parsing library. It parses C code into an AST and can serve as a
front-end for C compilers or analysis tools.

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

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%check
python tests/all_tests.py

%files
%defattr(-,root,root,-)
%doc LICENSE README.rst examples
%{python_sitelib}/*

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