[oe-commits] Tom Rini : python-native: Switch to non-legacy staging

git version control git at git.openembedded.org
Thu Jul 8 21:08:09 UTC 2010


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

Author: Tom Rini <tom_rini at mentor.com>
Date:   Thu Jul  8 14:07:50 2010 -0700

python-native: Switch to non-legacy staging

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/python/python-native_2.6.1.bb |    6 +++---
 recipes/python/python-native_2.6.4.bb |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/recipes/python/python-native_2.6.1.bb b/recipes/python/python-native_2.6.1.bb
index 44da281..18002df 100644
--- a/recipes/python/python-native_2.6.1.bb
+++ b/recipes/python/python-native_2.6.1.bb
@@ -1,6 +1,6 @@
 require python.inc
 DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native"
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 SRC_URI = "\
   http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
@@ -25,8 +25,8 @@ EXTRA_OEMAKE = '\
   STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \
 '
 
-do_stage_append() {
-	install -m 0755 Parser/pgen ${STAGING_BINDIR_NATIVE}/pgen
+do_install_append() {
+	install -m 0755 Parser/pgen ${D}${bindir}/pgen
 }
 
 SRC_URI[md5sum] = "e81c2f0953aa60f8062c05a4673f2be0"
diff --git a/recipes/python/python-native_2.6.4.bb b/recipes/python/python-native_2.6.4.bb
index 4205312..0f57c4c 100644
--- a/recipes/python/python-native_2.6.4.bb
+++ b/recipes/python/python-native_2.6.4.bb
@@ -1,6 +1,6 @@
 require python.inc
 DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native"
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.4"
 
 SRC_URI = "\
   http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2;name=archive \
@@ -29,6 +29,6 @@ EXTRA_OEMAKE = '\
   STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \
 '
 
-do_stage_append() {
-	install -m 0755 Parser/pgen ${STAGING_BINDIR_NATIVE}/pgen
+do_install_append() {
+	install -m 0755 Parser/pgen ${D}${bindir}/pgen
 }





More information about the Openembedded-commits mailing list