From 5f665950be28d127d5c2d3226a003221c51c322c6b56fedb6e5dddda96071119 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Sat, 16 May 2015 12:51:48 +0000
Subject: [PATCH] Accepting request 306384 from
home:benoit_monin:branches:devel:languages:python
- update to version 2.12
- update project URL
- fix end of line encoding of LICENSE
OBS-URL: https://build.opensuse.org/request/show/306384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=8
---
pycparser-2.10.tar.gz | 3 ---
pycparser-2.12.tar.gz | 3 +++
python-pycparser.changes | 23 +++++++++++++++++++++++
python-pycparser.spec | 11 +++++++----
4 files changed, 33 insertions(+), 7 deletions(-)
delete mode 100644 pycparser-2.10.tar.gz
create mode 100644 pycparser-2.12.tar.gz
diff --git a/pycparser-2.10.tar.gz b/pycparser-2.10.tar.gz
deleted file mode 100644
index 6f347c4..0000000
--- a/pycparser-2.10.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:957d98b661c0b64b580ab6f94b125e09b6714154ee51de40bca16d3f0076b86c
-size 206166
diff --git a/pycparser-2.12.tar.gz b/pycparser-2.12.tar.gz
new file mode 100644
index 0000000..bb9212d
--- /dev/null
+++ b/pycparser-2.12.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:da24c80aeb3c794ac64fe5503a01f65f13fece3e02513fd2e0761f93c96597b0
+size 297648
diff --git a/python-pycparser.changes b/python-pycparser.changes
index 3c93594..2503e07 100644
--- a/python-pycparser.changes
+++ b/python-pycparser.changes
@@ -1,3 +1,26 @@
+-------------------------------------------------------------------
+Mon May 11 14:59:40 UTC 2015 - benoit.monin@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
+
-------------------------------------------------------------------
Mon Aug 12 08:45:29 UTC 2013 - speilicke@suse.com
diff --git a/python-pycparser.spec b/python-pycparser.spec
index cc4f8a0..dab35c6 100644
--- a/python-pycparser.spec
+++ b/python-pycparser.spec
@@ -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 @@ front-end for C compilers or analysis tools.
%prep
%setup -q -n pycparser-%{version}
+# fix end of line
+sed -i 's/\r//' LICENSE
%build
python setup.py build