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

login
register
mail settings
Submitter Khem Raj
Date Sept. 5, 2013, 4:16 a.m.
Message ID <552083d7d1a9e045fbb47ee7668e167bddd3dd19.1378354382.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/57399/
State New
Headers show

Comments

Khem Raj - Sept. 5, 2013, 4:16 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 "