Commit Graph

17 Commits

Author SHA256 Message Date
4799089a16 - update to 2.22:
* Add missing SCHAR limit defines
  * Use proper SPDX identifier
  * Add Python 3.11 as a supported version
  * Fix multi-pragma/single statement blocks (#479)
  * Add an encoding parameter to parse_file
  * Feature/add pragma support
  * Set up permissions to ci.yml
  * _build_tables: Invalidate cache before importing generated modules
  * Upgrade GitHub Actions
  * Create a Security Policy
  * New example to generate AST from scratch
  * Add support for Python 3.12
  * ply: Make generated lextab.py deterministic
- drop fix-lexer-build.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=32
2024-04-21 08:40:26 +00:00
e12cf4419e Accepting request 1081549 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081549
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=30
2023-04-21 14:05:04 +00:00
5782eb35d2 - update to 2.21:
- Much improved support for C11 (multiple PRs)
  - Support for parehthesized compount statements (#423)
  - Support for modern Python versions (3.9 and 3.10)
  - Fix support for structs with nested enums (#387)
  - Multiple small bug fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=29
2021-11-29 15:48:01 +00:00
30c072d111 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=27
2020-03-09 21:00:34 +00:00
Tomáš Chvátal
a05a5d17db Accepting request 664442 from home:jbrownell:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/664442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=25
2019-01-10 18:56:38 +00:00
54d0739197 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=22
2018-12-04 13:49:36 +00:00
Todd R
f289a00ad2 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
2018-09-24 16:34:31 +00:00
5442a183b9 Accepting request 509613 from home:tbechtold:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/509613
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=18
2017-07-12 09:15:39 +00:00
Jan Matejek
da705d120c - sort out duplicate rpmlintrc
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=16
2017-03-24 17:09:20 +00:00
Jan Matejek
81e2118931 Accepting request 480701 from devel:languages:python:singlespec
singlespec + version update

OBS-URL: https://build.opensuse.org/request/show/480701
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=15
2017-03-16 18:01:40 +00:00
Denisart Benjamin
1b52f3e2ad OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=14 2016-01-16 14:31:38 +00:00
Denisart Benjamin
4519de2636 Accepting request 352497 from home:mvyskocil:branches:devel:languages:python
- Tag added patch better

- 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

OBS-URL: https://build.opensuse.org/request/show/352497
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=10
2016-01-15 09:40:22 +00:00
Denisart Benjamin
5f665950be 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
2015-05-16 12:51:48 +00:00
Sascha Peilicke
ea0f77d809 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=6
2013-08-12 08:43:05 +00:00
Todd R
a432659a04 Accepting request 163860 from devel:languages:python3
- Remove pre_checkin.sh since the two packages are not the same
- Added requires and buildrequires python3.  It will not work properly without them on openSUSE < 12.3

OBS-URL: https://build.opensuse.org/request/show/163860
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=4
2013-04-13 10:19:37 +00:00
Sascha Peilicke
142eedd9a6 Accepting request 156715 from home:posophe:branches:devel:languages:python
Add python3 support

OBS-URL: https://build.opensuse.org/request/show/156715
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=2
2013-02-28 09:00:08 +00:00
Sascha Peilicke
7b12594a09 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=1
2013-02-10 09:51:44 +00:00