summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils3-base.bbclass
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-04-25 12:57:59 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-01 11:38:41 (GMT)
commit03da683a55582a05154104abf986678f3d578a6c (patch)
treee8563eb32796420bd67fde792bd3e33990c6235f /meta/classes/distutils3-base.bbclass
parent78502a801050b00d303d44d91d9726638ad2d0b3 (diff)
downloadpoky-03da683a55582a05154104abf986678f3d578a6c.tar.gz
python3-dir.bbclass: add a separate class for Python 3
This is much cleaner than sharing python-dir.bbclass between python 2 and 3 classes, and doing confusing overrides in them. (From OE-Core rev: 3891fcec863602a0ae6d0f3d305ea50a79a205d9) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/distutils3-base.bbclass')
-rw-r--r--meta/classes/distutils3-base.bbclass3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/distutils3-base.bbclass b/meta/classes/distutils3-base.bbclass
index 2a093d3..82ab6a3 100644
--- a/meta/classes/distutils3-base.bbclass
+++ b/meta/classes/distutils3-base.bbclass
@@ -1,8 +1,5 @@
1DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES', True) == '')]}" 1DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES', True) == '')]}"
2RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}" 2RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
3 3
4PYTHON_BASEVERSION = "3.5"
5PYTHON_ABI = "m"
6
7inherit distutils-common-base python3native 4inherit distutils-common-base python3native
8 5