summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils-base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/distutils-base.bbclass')
-rw-r--r--meta/classes/distutils-base.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/distutils-base.bbclass b/meta/classes/distutils-base.bbclass
new file mode 100644
index 0000000..aa18e8b
--- /dev/null
+++ b/meta/classes/distutils-base.bbclass
@@ -0,0 +1,4 @@
1DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES', True) == '')]}"
2RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
3
4inherit distutils-common-base pythonnative