[oe-commits] Frans Meulenbroeks : python-divmodepsilon: removed legacy staging; moved to BBCLASSEXTEND = "native"

git version control git at git.openembedded.org
Wed Aug 4 20:22:54 UTC 2010


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

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Wed Aug  4 22:21:59 2010 +0200

python-divmodepsilon: removed legacy staging; moved to BBCLASSEXTEND = "native"

and added INC_PR

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 .../python/python-divmodepsilon-native_0.5.11.bb   |   14 --------------
 recipes/python/python-divmodepsilon_0.5.11.bb      |    4 ++++
 2 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/recipes/python/python-divmodepsilon-native_0.5.11.bb b/recipes/python/python-divmodepsilon-native_0.5.11.bb
deleted file mode 100644
index 2b297ad..0000000
--- a/recipes/python/python-divmodepsilon-native_0.5.11.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require python-divmodepsilon_${PV}.bb
-inherit native
-
-DEPENDS = "python-native python-twisted-native zope-native"
-
-do_stage() {
-    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}
-}
-
-
-SRC_URI[md5sum] = "39710dfdeb42e51c953b17b6cded163e"
-SRC_URI[sha256sum] = "a5907a3b7584d63be30b3f79b0422b2b0778e73c053be9ac5a11004f1c9097dc"
diff --git a/recipes/python/python-divmodepsilon_0.5.11.bb b/recipes/python/python-divmodepsilon_0.5.11.bb
index 845b3fc..04a4e8a 100644
--- a/recipes/python/python-divmodepsilon_0.5.11.bb
+++ b/recipes/python/python-divmodepsilon_0.5.11.bb
@@ -5,6 +5,10 @@ REALPN = "Epsilon"
 
 require divmod.inc
 
+PR = "${INC_PR}.1"
+
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"
 
 SRC_URI[md5sum] = "39710dfdeb42e51c953b17b6cded163e"
 SRC_URI[sha256sum] = "a5907a3b7584d63be30b3f79b0422b2b0778e73c053be9ac5a11004f1c9097dc"





More information about the Openembedded-commits mailing list