6f31e13e81
When using python recipes imported from OE (e.g. python-cheetah) parsing only succeeds when python has already been built due to the PYTHON_DIR references. This commit syncs the classes with OE to make it work, but keeps the *.pyo removal from yocto. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
22 lines
454 B
Text
22 lines
454 B
Text
inherit python-dir
|
|
|
|
EXTRA_OEMAKE = ""
|
|
|
|
export STAGING_INCDIR
|
|
export STAGING_LIBDIR
|
|
|
|
PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
|
|
|
|
FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
|
|
|
|
FILES_${PN}-dev += "\
|
|
${datadir}/pkgconfig \
|
|
${libdir}/pkgconfig \
|
|
${PYTHON_SITEPACKAGES_DIR}/*.la \
|
|
"
|
|
FILES_${PN}-dbg += "\
|
|
${PYTHON_SITEPACKAGES_DIR}/.debug \
|
|
${PYTHON_SITEPACKAGES_DIR}/*/.debug \
|
|
${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \
|
|
"
|