./devel/py-cparser, C parser in Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.22nb1, Package name: py312-cparser-2.22nb1, Maintainer: pkgsrc-users

pycparser is a parser for the C language, written in pure Python.
It is a module designed to be easily integrated into applications
that need to parse C source code.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 168.688 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-05 12:34:02 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-cparser: update to 2.22.

What's Changed

    Add missing SCHAR limit defines by @matamegger in #449
    Use proper SPDX identifier by @Shortfinga in #474
    Add Python 3.11 as a supported version by @erlend-aasland in #469
    Fix multi-pragma/single statement blocks (#479) by @ldore in #480
    Add an encoding parameter to parse_file by @jordr in #486
    Feature/add pragma support by @jordr in #487
    Set up permissions to ci.yml by @joycebrum in #492
    _build_tables: Invalidate cache before importing generated modules by \ 
@mgorny in #494
    Upgrade GitHub Actions by @cclauss in #500
    Create a Security Policy by @joycebrum in #499
    New example to generate AST from scratch by @Andree37 in #507
    Add support for Python 3.12 by @hugovk in #515
    ply: Make generated lextab.py deterministic by @jackrosenthal in #531
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-12-14 09:56:07 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cparser: updated to 2.21

Version 2.21
- Much improved support for C11 (multiple PRs)
- Support for parehthesized compount statements
- Support for modern Python versions (3.9 and 3.10)
- Fix support for structs with nested enums
- Multiple small bug fixes
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-03-04 19:24:55 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cparser: updated to 2.20

Version 2.20:
- Fix slow backtracking when parsing strings.
- Parser for FuncDecl incorrectly sets declname attribute on return type.
- Fix crash when file starts with a semicolon.
- Fix array type generation.
- Fix failed parsing of unnamed function parameters with array dim
  qualifiers.
- Fix pointer type generation.
- Fixes for u/l constant integer suffix.
- Fix error transforming an empty switch.
- Recognize integer multicharacter constants like 'ABCD'.
- Fix incorrect AST when parsing offsetof.
   2018-09-24 13:20:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cparser: updated to 2.19

Version 2.19:
- Fix parsing of floating point literals
- Add support for parsing empty structs
- Fix enum formatting in generated C code
- Add support for #pragma in struct declarations
   2017-10-08 11:13:01 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
Added python to CATEGORIES