Skip to contentSkip to conversation

pyrex: new package

PATCH New Matt Weber 2 participants 2 messages Apr 10, 2014 – Apr 11, 2014

lore
Share & tools
lore

Matt Weber

author
#0 lore raw

PATCH v4 1/1 pyrex: new 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.

---
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
package/python-pyrex/python-pyrex.mk new file +15 -0
new file mode 100644
index 0000000..73cb163
@@ -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))
Signature · 1 line
1.9.0
#1 lore raw

PATCH v4 1/1 pyrex: new package

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Matt" == Matt Weber <[email protected]> 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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard