From 4fe7fd3bdb7e46cb7977a8078a68277efc900862 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 28 Jan 2010 12:51:23 +0000 Subject: python-cython: add version 0.12 Signed-off-by: Martin Jansa Acked-by: Michael 'Mickey' Lauer --- recipes/python/python-cython-native_0.12.bb | 10 ++++++++++ recipes/python/python-cython_0.12.bb | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 recipes/python/python-cython-native_0.12.bb create mode 100644 recipes/python/python-cython_0.12.bb (limited to 'recipes') 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 -- cgit 1.2.3-korg