From 6caf7a47277016fa8ed52bad90911b46c7af0be8 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 21 Sep 2010 14:41:05 +0200 Subject: python-cython: upgrade to 0.13, drop legacy staging, use BBCLASSEXTEND for native Signed-off-by: Martin Jansa --- recipes/python/python-cython-native_0.12.1.bb | 10 ---------- recipes/python/python-cython_0.12.1.bb | 16 ---------------- recipes/python/python-cython_0.13.bb | 17 +++++++++++++++++ 3 files changed, 17 insertions(+), 26 deletions(-) delete mode 100644 recipes/python/python-cython-native_0.12.1.bb delete mode 100644 recipes/python/python-cython_0.12.1.bb create mode 100644 recipes/python/python-cython_0.13.bb (limited to 'recipes/python') diff --git a/recipes/python/python-cython-native_0.12.1.bb b/recipes/python/python-cython-native_0.12.1.bb deleted file mode 100644 index d42d1fdd7b..0000000000 --- a/recipes/python/python-cython-native_0.12.1.bb +++ /dev/null @@ -1,10 +0,0 @@ -require python-cython_${PV}.bb -inherit native -DEPENDS = "python-native" -RDEPENDS_${PN} = "" - -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.1.bb b/recipes/python/python-cython_0.12.1.bb deleted file mode 100644 index b3e9d8b811..0000000000 --- a/recipes/python/python-cython_0.12.1.bb +++ /dev/null @@ -1,16 +0,0 @@ -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] = "cf9f98e982258f8516620277975016f3" -SRC_URI[archive.sha256sum] = "0f384ec20c579b80d1960a5795d6517a6885305efa9964bcbf6a7b8da88b9c77" - -inherit distutils diff --git a/recipes/python/python-cython_0.13.bb b/recipes/python/python-cython_0.13.bb new file mode 100644 index 0000000000..61ad71887d --- /dev/null +++ b/recipes/python/python-cython_0.13.bb @@ -0,0 +1,17 @@ +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" +BBCLASSEXTEND = "native" +NATIVE_INSTALL_WORKS = "1" + +SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +SRC_URI[md5sum] = "ed2ec5e0df60a6b8e500bedf93bb1feb" +SRC_URI[sha256sum] = "a30d5e26c82ec65d65703c7cf312161a21b30339addc1a42d3b2965dea254ca6" + +inherit distutils -- cgit v1.2.3