]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
pyrex: new package
authorMatt Weber <mlweber1@rockwellcollins.com>
Thu, 10 Apr 2014 15:54:55 +0000 (10:54 -0500)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 11 Apr 2014 19:48:59 +0000 (21:48 +0200)
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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-pyrex/python-pyrex.mk [new file with mode: 0644]

diff --git a/package/python-pyrex/python-pyrex.mk b/package/python-pyrex/python-pyrex.mk
new file mode 100644 (file)
index 0000000..73cb163
--- /dev/null
@@ -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))