summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvirt/libvirt-python.inc
blob: 49d15fb323cfab3cebbdbe6bc73a02d0cd7a1405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"