diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/distutils3-base.bbclass | 3 | ||||
-rw-r--r-- | meta/classes/distutils3-native-base.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/python-dir.bbclass | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/distutils3-base.bbclass b/meta/classes/distutils3-base.bbclass index 82ab6a3d1c..d4d25dccb9 100644 --- a/meta/classes/distutils3-base.bbclass +++ b/meta/classes/distutils3-base.bbclass | |||
@@ -1,5 +1,8 @@ | |||
1 | DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES', True) == '')]}" | 1 | DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES', True) == '')]}" |
2 | RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}" | 2 | RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}" |
3 | 3 | ||
4 | PYTHON_BASEVERSION = "3.3" | ||
5 | PYTHON_ABI = "m" | ||
6 | |||
4 | inherit distutils-common-base python3native | 7 | inherit distutils-common-base python3native |
5 | 8 | ||
diff --git a/meta/classes/distutils3-native-base.bbclass b/meta/classes/distutils3-native-base.bbclass index b4a333f4d4..ed3fe54587 100644 --- a/meta/classes/distutils3-native-base.bbclass +++ b/meta/classes/distutils3-native-base.bbclass | |||
@@ -1,3 +1,4 @@ | |||
1 | PYTHON_BASEVERSION = "3.3" | 1 | PYTHON_BASEVERSION = "3.3" |
2 | PYTHON_ABI = "m" | ||
2 | 3 | ||
3 | inherit distutils-native-base | 4 | inherit distutils-native-base |
diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass index b4b5ab0eab..ebfa4b30f6 100644 --- a/meta/classes/python-dir.bbclass +++ b/meta/classes/python-dir.bbclass | |||
@@ -1,4 +1,5 @@ | |||
1 | PYTHON_BASEVERSION ?= "2.7" | 1 | PYTHON_BASEVERSION ?= "2.7" |
2 | PYTHON_ABI ?= "" | ||
2 | PYTHON_DIR = "python${PYTHON_BASEVERSION}" | 3 | PYTHON_DIR = "python${PYTHON_BASEVERSION}" |
3 | PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}" | 4 | PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}" |
4 | PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages" | 5 | PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages" |