[oe-commits] Martin Jansa : python-cython: upgrade to 0.13, drop legacy staging, use BBCLASSEXTEND for native

git version control git at git.openembedded.org
Thu Sep 23 09:02:33 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 6caf7a47277016fa8ed52bad90911b46c7af0be8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6caf7a47277016fa8ed52bad90911b46c7af0be8

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Tue Sep 21 14:41:05 2010 +0200

python-cython: upgrade to 0.13, drop legacy staging, use BBCLASSEXTEND for native

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/python/python-cython-native_0.12.1.bb      |   10 ----------
 ...thon-cython_0.12.1.bb => python-cython_0.13.bb} |    9 +++++----
 2 files changed, 5 insertions(+), 14 deletions(-)

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 d42d1fd..0000000
--- 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.13.bb
similarity index 68%
rename from recipes/python/python-cython_0.12.1.bb
rename to recipes/python/python-cython_0.13.bb
index b3e9d8b..61ad718 100644
--- a/recipes/python/python-cython_0.12.1.bb
+++ b/recipes/python/python-cython_0.13.bb
@@ -5,12 +5,13 @@ SECTION = "devel/python"
 PRIORITY = "optional"
 LICENSE = "GPL"
 SRCNAME = "Cython"
-PR = "ml0"
+BBCLASSEXTEND = "native"
+NATIVE_INSTALL_WORKS = "1"
 
-SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz;name=archive"
+SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-SRC_URI[archive.md5sum] = "cf9f98e982258f8516620277975016f3"
-SRC_URI[archive.sha256sum] = "0f384ec20c579b80d1960a5795d6517a6885305efa9964bcbf6a7b8da88b9c77"
+SRC_URI[md5sum] = "ed2ec5e0df60a6b8e500bedf93bb1feb"
+SRC_URI[sha256sum] = "a30d5e26c82ec65d65703c7cf312161a21b30339addc1a42d3b2965dea254ca6"
 
 inherit distutils





More information about the Openembedded-commits mailing list