BSD Ports

devel/py-pycparser 2.22_1 MidnightBSD

C parser in Python

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
devel, python

Description

pycparser is a complete parser of the C language, written in pure Python using the PLY parsing library. It parses C code into an AST and can serve as a front-end for C compilers or analysis tools.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-pycparser2.22_1
FreeBSDdevel/py-pycparser3.0
DragonFlydevel/py-pycparser2.22
HardenedBSDdevel/py-pycparser3.0
GhostBSDdevel/py-pycparser2.23
OPNsensedevel/py-pycparser2.23

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pycparser

From mports:

cd /usr/mports/devel/py-pycparser && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycparser>0:devel/py-pycparser

Dependencies

As this port's Makefile names them.

Build 2

Build dependencies 2

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pycparser-2.22.tar.gz172736491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6
Master sites 1
  • PYPI