Patchwork [03/15] python3native.bbclass: Add python3 abstraction class

login
register
mail settings
Submitter Khem Raj
Date Jan. 30, 2014, 4:12 a.m.
Message ID <bb8a069d215f2ff378a621616465be95a26d0f08.1391054829.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/66061/
State New
Headers show

Comments

Khem Raj - Jan. 30, 2014, 4:12 a.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 "