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

git at git.openembedded.org git at git.openembedded.org
Sun Feb 2 22:32:56 UTC 2014


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

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>

---

 meta/classes/python3native.bbclass | 7 +++++++
 1 file changed, 7 insertions(+)

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