python-native: Switch to non-legacy staging
authorTom Rini <tom_rini@mentor.com>
Thu, 8 Jul 2010 21:07:50 +0000 (14:07 -0700)
committerTom Rini <tom_rini@mentor.com>
Thu, 8 Jul 2010 21:07:50 +0000 (14:07 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/python/python-native_2.6.1.bb
recipes/python/python-native_2.6.4.bb

index 44da281..18002df 100644 (file)
@@ -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"
index 4205312..0f57c4c 100644 (file)
@@ -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
 }