Commit Graph

35 Commits

Author SHA256 Message Date
Ana Guerrero
05dfb2842c Accepting request 1169471 from devel:languages:python
- 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/request/show/1169471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=14
2024-04-23 16:54:59 +00:00
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
Dominique Leuenberger
712639c070 Accepting request 1081807 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=13
2023-04-22 19:59:18 +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
Dominique Leuenberger
48ccc19415 Accepting request 934588 from devel:languages:python
- 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/request/show/934588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=12
2021-12-09 18:45:03 +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
Dominique Leuenberger
b57a09fb98 Accepting request 783100 from devel:languages:python
- 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/request/show/783100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=11
2020-03-12 21:57:59 +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
Dominique Leuenberger
11df409b52 Accepting request 664444 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/664444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=10
2019-01-15 08:14:26 +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
Dominique Leuenberger
69e8699df3 Accepting request 655858 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/655858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=9
2018-12-14 19:46:54 +00:00
d96b4a85a1 Restore BR
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=23
2018-12-06 17:30:58 +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
Dominique Leuenberger
3054c334f7 Accepting request 637731 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/637731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=8
2018-10-02 17:43:12 +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
Dominique Leuenberger
9bf870a720 Accepting request 603203 from 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/603203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=7
2018-05-07 12:52:52 +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
Dominique Leuenberger
ae6a16eaa9 Accepting request 482557 from devel:languages:python
- sort out duplicate rpmlintrc

- 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

- 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

OBS-URL: https://build.opensuse.org/request/show/482557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=6
2017-04-19 16:03:19 +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
Dominique Leuenberger
14d1a6b7ab Accepting request 353984 from devel:languages:python
fixed

OBS-URL: https://build.opensuse.org/request/show/353984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=5
2016-01-23 00:15:41 +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
fefbbdc59e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=13 2016-01-16 14:31:26 +00:00
Denisart Benjamin
5b58352d42 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=12 2016-01-16 14:31:15 +00:00
Denisart Benjamin
c9fc469ca9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=11 2016-01-16 14:30:55 +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
Dominique Leuenberger
29be3422d9 Accepting request 307465 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/307465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=4
2015-05-18 20:57:25 +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
Tomáš Chvátal
cf04576845 Accepting request 186704 from devel:languages:python
dep of python-cffi

OBS-URL: https://build.opensuse.org/request/show/186704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=1
2013-08-14 21:02:44 +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
Sascha Peilicke
694f2a84be Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=5
2013-06-17 12:52:52 +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
388e4c486a - Drop some unneded macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=3
2013-03-19 12:48:59 +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