[02/24] python3native.bbclass: Add python3 abstraction class

Submitted by Khem Raj on June 28, 2013, 10:03 p.m.

Details

Message ID 6687ea1de146dbf33e5047f8f91f384eee9783c4.1372456294.git.raj.khem@gmail.com
State Accepted
Commit ead30aa5e3046f450ee688e14f6d5268d9ed0bd8
Headers show

Commit Message

Khem Raj June 28, 2013, 10:03 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/python3native.bbclass |    7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 meta/classes/python3native.bbclass

Patch hide | download patch | download mbox

diff --git a/meta/classes/python3native.bbclass b/meta/classes/python3native.bbclass
new file mode 100644
index 0000000..f86374f
--- /dev/null
+++ b/meta/classes/python3native.bbclass
@@ -0,0 +1,7 @@ 
+PYTHON_BASEVERSION = "3.3"
+
+inherit python-dir
+
+PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
+EXTRANATIVEPATH += "${PYTHON_PN}-native"
+DEPENDS += " ${PYTHON_PN}-native "