Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

70.8. python3-pycparser-3.0

A C parser in pure python — what cffi reads a header with

3.0-1 · BSD-3-Clause · 0.1 SBU · 466.2 KiB, 23 files · 40_lang, 75 of 186 · ports/core/python/python3-pycparser

Homepage: https://github.com/eliben/pycparser

Depends on: python3, python3-setuptools, python3-pip.

Required by (2): python3-cffi, spyder.

Sources: python3-pycparser-3.0.tar.gz (101.1 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install python3-pycparser'

build.sh:

pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .

Directories: /usr/lib/python3.14/site-packages/pycparser, /usr/lib/python3.14/site-packages/pycparser-3.0.dist-info, /usr/share/licenses/python3-pycparser.