summaryrefslogtreecommitdiff
path: root/recipes/python
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2010-01-28 12:51:23 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2010-02-01 18:44:28 +0100
commit4fe7fd3bdb7e46cb7977a8078a68277efc900862 (patch)
tree6ed38bad7b9d51b7e42742810de0cb269d6eaa07 /recipes/python
parent4d0023adf6b1f76028b40d9edf313f94c831cc90 (diff)
python-cython: add version 0.12
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Michael 'Mickey' Lauer <mickey@vanille-media.de>
Diffstat (limited to 'recipes/python')
-rw-r--r--recipes/python/python-cython-native_0.12.bb10
-rw-r--r--recipes/python/python-cython_0.12.bb16
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 0000000000..95886aecb0
--- /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 0000000000..846be47366
--- /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