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_REVISION
= 1
24 COMPONENT_SUMMARY
= pycparser
- C parser in Python
25 COMPONENT_PROJECT_URL
= https
://github.com
/eliben
/pycparser
26 COMPONENT_ARCHIVE_URL
= \
27 https
://files.pythonhosted.org
/packages
/5e
/0b
/95d387f5f4433cb0f53ff7ad859bd2c6051051cebbb564f139a999ab46de
/pycparser-2.21.
tar.gz
28 COMPONENT_ARCHIVE_HASH
= \
29 sha256
:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206
30 COMPONENT_LICENSE
= BSD-3-Clause
31 COMPONENT_LICENSE_FILE
= LICENSE
35 include $(WS_MAKE_RULES
)/common.mk
37 # Due to a packaging oversight, pycparser modifies c_ast.py after
38 # the compilation is done, resulting in a stale pyc file.
39 COMPONENT_POST_INSTALL_ACTION
+= \
40 $(PYTHON
) -m compileall
$(PROTO_DIR
)$(PYTHON_LIB
)/pycparser
/c_ast.py
42 # Auto-generated dependencies
43 PYTHON_REQUIRED_PACKAGES
+= runtime
/python