Accepting request 637730 from home:TheBlackCat:branches:devel:languages:python

- 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

OBS-URL: https://build.opensuse.org/request/show/637730
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=20
This commit is contained in:
Todd R 2018-09-24 16:34:31 +00:00 committed by Git OBS Bridge
parent 5442a183b9
commit f289a00ad2
5 changed files with 24 additions and 14 deletions

View File

@ -16,7 +16,7 @@ Index: pycparser-release_v2.14/setup.py
from distutils.command.sdist import sdist as _sdist
@@ -15,10 +15,10 @@ def _run_build_tables(dir):
@@ -18,10 +18,10 @@ def _run_build_tables(dir):
cwd=os.path.join(dir, 'pycparser'))
@ -30,10 +30,10 @@ Index: pycparser-release_v2.14/setup.py
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},

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99a8ca03e29851d96616ad0404b4aad7d9ee16f25c9f9708a11faf2810f7b226
size 245897

3
pycparser-2.19.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
size 158295

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Sep 24 16:27:58 UTC 2018 - Todd R <toddrme2178@gmail.com>
- 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
-------------------------------------------------------------------
Wed Jul 12 05:50:39 UTC 2017 - tbechtold@suse.com

View File

@ -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 @@ Patch1: fix-lexer-build.patch
BuildRequires: %{python_module devel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@ -57,8 +56,9 @@ sed -i 's/\r//' LICENSE
%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