17
0

19 Commits

Author SHA256 Message Date
1fac0a0589 - update to elease_v2.23:
* Allow abstract declarator "static" (GH issue #539)
  * Add support for Python 3.13
  * Add dirent and socket typedefs.
  * Support for labels with no statement
  * Accept empty 'case' or 'default' labels
  * fix: preserve parentheses for statement exprs
  * fix: hex float types
  * Explicit error for comments, with README link
  * showemptyattrs option on Node.show()
  * Add fake typedefs for GNU Extension 128-bit integers.
  * Typedef for __kernel_sa_family_t in linux/socket.h
- update to elease_v2.22:
  * Add missing SCHAR limit defines
  * Use proper SPDX identifier
  * Add Python 3.11 as a supported version
  * Fix multi-pragma/single statement blocks
  * 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=36
2025-09-29 16:40:25 +00:00
1d64bebad2 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=34
2025-06-04 09:30:02 +00:00
9402c63d23 - 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
8ffeaa713f 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
ec26f60eff - 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
3500aeb4c8 - 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
edd21ea2da 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
71e428f463 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
ad6fe5eb35 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
93c9240fa8 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
366cf39cbe - 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
11e66d917b 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
203dfd5852 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
db27afaac1 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
cc2c67c9f6 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
0eb4bac139 - 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
345e48a8b4 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
d2f243bce6 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
24727f211c - 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