meta-virtualization/recipes-extended/libvirt/libvirt-python.inc
Mihai Prica 93a8aadc0d libvirt: updated to work for other hypervisors
* the package can now be customized using PACKAGECONFIG
* fixed to use target include files for python

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
2012-11-26 16:21:16 -07:00

15 lines
502 B
PHP

inherit python-dir
# Enable the Python tool support
EXTRA_OECONF += "--with-python=yes --with-python-inc-dir=-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}"
SRC_URI += " file://python_incdir.patch"
DEPENDS += "python python-native"
RDEPENDS_${PN}-python += "python"
PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python"
PACKAGES += "${PN}-python-dbg ${PN}-python"
FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/dist-packages/.debug/"
FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/dist-packages"