Message ID | 1397145295-35472-1-git-send-email-mlweber1@rockwellcollins.com |
---|---|
State | Accepted |
Commit | d26482762ca75f04cf4cde3f5e7195d810bac9f5 |
Headers | show |
>>>>> "Matt" == Matt Weber <mlweber1@rockwellcollins.com> writes: > Pyrex is a language that allows you to mix python and C code in a > single .pyx description file. This file is then rendered into C > code by the pyrexc host tool. That C file then can be used within > an application build or as part of the normal distutils build > process used to build a Python extension module. > Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com> Committed, thanks.
diff --git a/package/python-pyrex/python-pyrex.mk b/package/python-pyrex/python-pyrex.mk new file mode 100644 index 0000000..73cb163 --- /dev/null +++ b/package/python-pyrex/python-pyrex.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pyrex +# +################################################################################ + +PYTHON_PYREX_VERSION = 0.9.9 +PYTHON_PYREX_SOURCE = Pyrex-$(PYTHON_PYREX_VERSION).tar.gz +PYTHON_PYREX_SITE = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ +PYTHON_PYREX_DEPENDENCIES = host-python +PYTHON_PYREX_LICENSE = Apache-v2 +PYTHON_PYREX_LICENSE_FILES = LICENSE.txt +PYTHON_PYREX_SETUP_TYPE = distutils + +$(eval $(host-python-package))
Pyrex is a language that allows you to mix python and C code in a single .pyx description file. This file is then rendered into C code by the pyrexc host tool. That C file then can be used within an application build or as part of the normal distutils build process used to build a Python extension module. Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com> --- Changes v3 -> v4: - Removed ability to menu select pyrex since it's a tool to generate code and would be solely a dependency. (Suggested by Thomas P) Changes v2 -> v3: - Moved menu entry under host utilities menu (Suggested by Yann) - Updated description and included a description above (Suggested by Yann) Changes v1 -> v2: - Converted to a host only pkg as this pkg provides generated C code that an application would use from a sysroot (not on target). (Suggested by Thomas) package/python-pyrex/python-pyrex.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package/python-pyrex/python-pyrex.mk