[oe-commits] org.oe.dev add python-cython[-native], a C-binding generator. Probably the successor to pyrex

mickeyl commit openembedded-commits at lists.openembedded.org
Thu Dec 6 17:28:36 UTC 2007


add python-cython[-native], a C-binding generator. Probably the successor to pyrex

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 02562fc382d065265e866ec981dc40b4c3802818
ViewMTN: http://monotone.openembedded.org/revision/info/02562fc382d065265e866ec981dc40b4c3802818
Files:
1
packages/python/python-cython-native_0.9.6.9.bb
packages/python/python-cython_0.9.6.9.bb
Diffs:

#
# mt diff -rd76f8fca45ec234896a73fcaafaab9dc72177af9 -r02562fc382d065265e866ec981dc40b4c3802818
#
# 
# 
# add_file "packages/python/python-cython-native_0.9.6.9.bb"
#  content [e1421a5e31559ec41144bbdc77a4c448d493e717]
# 
# add_file "packages/python/python-cython_0.9.6.9.bb"
#  content [0a9a75ec77d6190dc80054f14140c6d397f4f97c]
# 
============================================================
--- packages/python/python-cython-native_0.9.6.9.bb	e1421a5e31559ec41144bbdc77a4c448d493e717
+++ packages/python/python-cython-native_0.9.6.9.bb	e1421a5e31559ec41144bbdc77a4c448d493e717
@@ -0,0 +1,9 @@
+require python-cython_${PV}.bb
+inherit native
+DEPENDS = "python-native"
+RDEPENDS = ""
+
+do_stage() {
+	BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+        ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR}
+}
============================================================
--- packages/python/python-cython_0.9.6.9.bb	0a9a75ec77d6190dc80054f14140c6d397f4f97c
+++ packages/python/python-cython_0.9.6.9.bb	0a9a75ec77d6190dc80054f14140c6d397f4f97c
@@ -0,0 +1,13 @@
+DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \
+It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
+and the messy, low-level world of C."
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "GPL"
+SRCNAME = "cython"
+PR = "ml0"
+
+SRC_URI = "http://www.cython.org/${SRCNAME}-${PV}.zip"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils






More information about the Openembedded-commits mailing list