[oe-commits] Khem Raj : python3native.bbclass: Add python3 abstraction class

git at git.openembedded.org git at git.openembedded.org
Mon Aug 26 13:08:10 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: f5b334be8c890b7ac3ebb30a3d16982476cb4b06
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f5b334be8c890b7ac3ebb30a3d16982476cb4b06

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue May 14 14:57:25 2013 -0700

python3native.bbclass: Add python3 abstraction class

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/classes/python3native.bbclass |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

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 "



More information about the Openembedded-commits mailing list