[Buildroot] [PATCH v4] pyrex: new package

Matt Weber mlweber1 at rockwellcollins.com
Thu Apr 10 15:54:55 UTC 2014


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 at 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

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))
-- 
1.9.0



More information about the buildroot mailing list