[oe-commits] Martin Jansa : python-cython: add version 0.12
git version control
git at git.openembedded.org
Mon Feb 1 17:45:05 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: 4fe7fd3bdb7e46cb7977a8078a68277efc900862
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4fe7fd3bdb7e46cb7977a8078a68277efc900862
Author: Martin Jansa <martin.jansa at gmail.com>
Date: Thu Jan 28 12:51:23 2010 +0000
python-cython: add version 0.12
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Acked-by: Michael 'Mickey' Lauer <mickey at vanille-media.de>
---
recipes/python/python-cython-native_0.12.bb | 10 ++++++++++
recipes/python/python-cython_0.12.bb | 16 ++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/recipes/python/python-cython-native_0.12.bb b/recipes/python/python-cython-native_0.12.bb
new file mode 100644
index 0000000..95886ae
--- /dev/null
+++ b/recipes/python/python-cython-native_0.12.bb
@@ -0,0 +1,10 @@
+require python-cython_${PV}.bb
+inherit native
+DEPENDS = "python-native"
+RDEPENDS = ""
+
+do_stage() {
+ PYTHONPATH=${STAGING_BINDIR} BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+ STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \
+ ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR}
+}
diff --git a/recipes/python/python-cython_0.12.bb b/recipes/python/python-cython_0.12.bb
new file mode 100644
index 0000000..846be47
--- /dev/null
+++ b/recipes/python/python-cython_0.12.bb
@@ -0,0 +1,16 @@
+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/release/${SRCNAME}-${PV}.tar.gz;name=archive"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+SRC_URI[archive.md5sum] = "f73ad2258115c92ce982d34d27580076"
+SRC_URI[archive.sha256sum] = "90d611aeff8d017a5ccca3b1e02ec8d6dd0efc7dfd29806f721bc718d3774ea3"
+
+inherit distutils
More information about the Openembedded-commits
mailing list