diff options
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.3.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python_2.7.3.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb index 59d189d862..2e35da60c4 100644 --- a/meta/recipes-devtools/python/python_2.7.3.bb +++ b/meta/recipes-devtools/python/python_2.7.3.bb | |||
| @@ -28,6 +28,8 @@ SRC_URI += "\ | |||
| 28 | file://builddir.patch \ | 28 | file://builddir.patch \ |
| 29 | file://python-2.7.3-CVE-2012-2135.patch \ | 29 | file://python-2.7.3-CVE-2012-2135.patch \ |
| 30 | file://gcc-4.8-fix-configure-Wformat.patch \ | 30 | file://gcc-4.8-fix-configure-Wformat.patch \ |
| 31 | file://fix-makefile-for-ptest.patch \ | ||
| 32 | file://run-ptest \ | ||
| 31 | " | 33 | " |
| 32 | 34 | ||
| 33 | S = "${WORKDIR}/Python-${PV}" | 35 | S = "${WORKDIR}/Python-${PV}" |
| @@ -119,6 +121,11 @@ do_install_append_class-nativesdk () { | |||
| 119 | create_wrapper ${D}${bindir}/python2.7 TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' | 121 | create_wrapper ${D}${bindir}/python2.7 TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' |
| 120 | } | 122 | } |
| 121 | 123 | ||
| 124 | do_install_ptest() { | ||
| 125 | cp ${B}/Makefile ${D}${PTEST_PATH} | ||
| 126 | sed -i s:LIBDIR:${libdir}:g ${D}${PTEST_PATH}/run-ptest | ||
| 127 | } | ||
| 128 | |||
| 122 | SSTATE_SCAN_FILES += "Makefile" | 129 | SSTATE_SCAN_FILES += "Makefile" |
| 123 | PACKAGE_PREPROCESS_FUNCS += "py_package_preprocess" | 130 | PACKAGE_PREPROCESS_FUNCS += "py_package_preprocess" |
| 124 | 131 | ||
| @@ -148,6 +155,9 @@ FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug" | |||
| 148 | # catch all the rest (unsorted) | 155 | # catch all the rest (unsorted) |
| 149 | PACKAGES += "${PN}-misc" | 156 | PACKAGES += "${PN}-misc" |
| 150 | FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}" | 157 | FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}" |
| 158 | RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-misc" | ||
| 159 | #inherit ptest after "require python-${PYTHON_MAJMIN}-manifest.inc" so PACKAGES doesn't get overwritten | ||
| 160 | inherit ptest | ||
| 151 | 161 | ||
| 152 | # catch manpage | 162 | # catch manpage |
| 153 | PACKAGES += "${PN}-man" | 163 | PACKAGES += "${PN}-man" |
