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

login
register
mail settings
Submitter Khem Raj
Date June 28, 2013, 10:03 p.m.
Message ID <6687ea1de146dbf33e5047f8f91f384eee9783c4.1372456294.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/52641/
State Accepted
Commit 962ea3dfcc0df3740511ae8a693dd26a85c13972
Headers show

Comments

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

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 "