* merged native and targer recipes and converted to new style staging * bumped PR * added BBCLASSEXTEND = "native" and NATIVE_INSTALL_WORKS = "1" * note: the ipk file created by building python-twisted-native does not contain easy-install.pth which was being packaged in case of non-legacy staging, this is because its explicitly removed in distutils_do_install function.
Signed-off-by: Fahad Usman <[email protected]> --- recipes/python/python-twisted-native_8.2.0.bb | 12 ------------ recipes/python/python-twisted_8.2.0.bb | 11 ++++++++++- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/recipes/python/python-twisted-native_8.2.0.bb b/recipes/python/python-twisted-native_8.2.0.bb deleted file mode 100644 index 4631fb0..0000000 --- a/recipes/python/python-twisted-native_8.2.0.bb +++ /dev/null @@ -1,12 +0,0 @@ -require python-twisted_${PV}.bb - -RDEPENDS_${PN} = "" - -inherit native - -do_stage() { - distutils_stage_all -} - -SRC_URI[md5sum] = "c85f151999df3ecf04c49a781b4438d2" -SRC_URI[sha256sum] = "e0602bb05e31f6100b6f9ab35cfa93ab9f7a1c50a351a0ddfcd236a923bddfb0" diff --git a/recipes/python/python-twisted_8.2.0.bb b/recipes/python/python-twisted_8.2.0.bb index 7ecbf6c..6eac0b4 100644 --- a/recipes/python/python-twisted_8.2.0.bb +++ b/recipes/python/python-twisted_8.2.0.bb @@ -5,11 +5,15 @@ HOMEPAGE = "http://www.twistedmatrix.com" SECTION = "console/network" PRIORITY = "optional" LICENSE = "LGPL" -PR = "r2" +PR = "r3" SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-${PV}.tar.bz2 " S = "${WORKDIR}/Twisted-${PV}" +do_install_virtclass-native() { + distutils_do_install +} + inherit setuptools PACKAGES += "\ @@ -42,6 +46,7 @@ RDEPENDS_${PN} += "\ ${PN}-web \ ${PN}-words \ " +RDEPENDS_${PN}_virtclass-native = "" ALLOW_EMPTY = "1" FILES_${PN} = "" @@ -213,3 +218,7 @@ ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/.debug \ SRC_URI[md5sum] = "c85f151999df3ecf04c49a781b4438d2" SRC_URI[sha256sum] = "e0602bb05e31f6100b6f9ab35cfa93ab9f7a1c50a351a0ddfcd236a923bddfb0" + +BBCLASSEXTEND = "native" + +NATIVE_INSTALL_WORKS = "1" -- 1.6.3.3 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
