[oe] [PATCH 2/2] python-cython: add version 0.12

Dr. Michael Lauer mickey at vanille-media.de
Mon Feb 1 14:16:48 UTC 2010


Acked-by: Michael 'Mickey' Lauer <mickey at vanille-media.de>

Am 28.01.2010 um 23:51 schrieb Martin Jansa:

> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
> recipes/python/python-cython-native_0.12.bb |   10 ++++++++++
> recipes/python/python-cython_0.12.bb        |   16 ++++++++++++++++
> 2 files changed, 26 insertions(+), 0 deletions(-)
> create mode 100644 recipes/python/python-cython-native_0.12.bb
> create mode 100644 recipes/python/python-cython_0.12.bb
> 
> 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
> -- 
> 1.6.6.1
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





More information about the Openembedded-devel mailing list