summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvirt/libvirt-python.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/libvirt/libvirt-python.inc')
-rw-r--r--recipes-extended/libvirt/libvirt-python.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc
index 0c661af8..a48aaea5 100644
--- a/recipes-extended/libvirt/libvirt-python.inc
+++ b/recipes-extended/libvirt/libvirt-python.inc
@@ -5,15 +5,15 @@ export STAGING_LIBDIR
5export BUILD_SYS 5export BUILD_SYS
6export HOST_SYS 6export HOST_SYS
7 7
8RDEPENDS_${PN}-python += "python3" 8RDEPENDS:${PN}-python += "python3"
9PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python" 9PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python"
10 10
11PACKAGES += "${PN}-python-staticdev ${PN}-python-dev ${PN}-python-dbg ${PN}-python" 11PACKAGES += "${PN}-python-staticdev ${PN}-python-dev ${PN}-python-dbg ${PN}-python"
12 12
13FILES_${PN}-python-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" 13FILES:${PN}-python-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
14FILES_${PN}-python-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la" 14FILES:${PN}-python-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la"
15FILES_${PN}-python-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/" 15FILES:${PN}-python-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/"
16FILES_${PN}-python = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*" 16FILES:${PN}-python = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
17 17
18SRC_URI += "http://libvirt.org/sources/python/libvirt-python-${PV}.tar.gz;name=libvirt_python" 18SRC_URI += "http://libvirt.org/sources/python/libvirt-python-${PV}.tar.gz;name=libvirt_python"
19 19
@@ -38,7 +38,7 @@ python __anonymous () {
38 d.setVar('LIBVIRT_PYTHON_ENABLE', '0') 38 d.setVar('LIBVIRT_PYTHON_ENABLE', '0')
39} 39}
40 40
41do_compile_append() { 41do_compile:append() {
42 if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then 42 if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then
43 # we need the python bindings to look into our source dir, not 43 # we need the python bindings to look into our source dir, not
44 # the syroot staged pkgconfig entries. So we clear the sysroot 44 # the syroot staged pkgconfig entries. So we clear the sysroot
@@ -49,7 +49,7 @@ do_compile_append() {
49 fi 49 fi
50} 50}
51 51
52do_install_append() { 52do_install:append() {
53 if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then 53 if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then
54 # we need the python bindings to look into our source dir, not 54 # we need the python bindings to look into our source dir, not
55 # the syroot staged pkgconfig entries. So we clear the sysroot 55 # the syroot staged pkgconfig entries. So we clear the sysroot