2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # This file was automatically generated using the following command:
14 # $WS_TOOLS/python-integrate-project pycparser
17 BUILD_STYLE
= setup.py
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= pycparser
23 COMPONENT_SUMMARY
= pycparser
- C parser in Python
24 COMPONENT_PROJECT_URL
= https
://github.com
/eliben
/pycparser
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6
27 COMPONENT_LICENSE
= BSD-3-Clause
28 COMPONENT_LICENSE_FILE
= LICENSE
32 include $(WS_MAKE_RULES
)/common.mk
34 # Due to a packaging oversight, pycparser modifies c_ast.py after
35 # the compilation is done, resulting in a stale pyc file.
36 COMPONENT_POST_INSTALL_ACTION
+= \
37 $(PYTHON
) -m compileall
$(PROTO_DIR
)$(PYTHON_LIB
)/pycparser
/c_ast.py
39 # Auto-generated dependencies
40 PYTHON_REQUIRED_PACKAGES
+= runtime
/python