[oe-commits] Khem Raj : python3: Add target and native recipes
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: 185fcfc3286b355394ae89300f22b8cb7aaa43c1
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=185fcfc3286b355394ae89300f22b8cb7aaa43c1
Author: Khem Raj <raj.khem at gmail.com>
Date: Tue May 14 15:00:26 2013 -0700
python3: Add target and native recipes
3.3.3 is latest bugfix release in 3.3 series
License text is changed to reflect year and prev releases
+++ ../Python-3.3.2/LICENSE 2013-05-15 09:32:54.000000000 -0700
@@ -74,7 +74,9 @@
3.2.1 3.2 2011 PSF yes
3.2.2 3.2.1 2011 PSF yes
3.2.3 3.2.2 2012 PSF yes
+ 3.2.4 3.2.3 2013 PSF yes
3.3.0 3.2 2012 PSF yes
+ 3.3.1 3.3.0 2013 PSF yes
Footnotes:
@@ -110,8 +112,8 @@
distribute, and otherwise use Python alone or in any derivative
version,
provided, however, that PSF's License Agreement and PSF's notice of
copyright,
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
2009, 2010,
-2011, 2012 Python Software Foundation; All Rights Reserved" are
retained in Python
-alone or in any derivative version prepared by Licensee.
+2011, 2012, 2013 Python Software Foundation; All Rights Reserved" are
retained
+in Python alone or in any derivative version prepared by Licensee.
We use native python in disutils bbclass and this needs
to peek into target sysroot when building plugins in cross
environment. Otherwise anything that inherits distutils3.bbclass
will not build.
Fix host include contamination issue
Let compiler append sysroot to include path if it can
Fix the compiler invocation and linker flags when cross compiling
The details are in patch header. This should fix the QA errors about
host contamination
Add virtual/libintl to dep list
There is use of libintl.h but we dont
express the dependency
Add lzma dependency for python3-misc
Fixes
and from test-dependencies.sh run there is undeterministic lzma
dependency:
WARN: packages/armv5te-oe-linux-gnueabi/python3/python3-misc/latest lost
dependency on liblzma
Fix staging warnings due to duplicate install
WARNING: The recipe python3 is trying to install files into a shared
area when those files already exist. Those files and their manifest
location are:
builds/world/tmp/sysroots/qemux86-64/usr/include/python3.3m/pyconfig.h
builds/world/tmp/sysroots/qemux86-64/usr/lib/libpython3.3m.so.1.0
builds/world/tmp/sysroots/qemux86-64/usr/lib/libpython3.3m.so
builds/world/tmp/sysroots/qemux86-64/usr/lib/python3.3/config/Makefile
Let compiler search includes relative to sysroot
This makes it cross compilable and assumption on hardcoded
paths is fixed.
Errors like below would appear if ncursesw is installed on build host
cc1: warning: include location "/usr/include/ncursesw" is unsafe for
cross-compilation [-Wpoison-system-directories]
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Fix linking not happening issue in modules
We need to tweak CONFIGURE_LDFLAGS for python3 instead of LDFLAGS
directly
Add second compile stage which uses original makefile
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
.../python/python3-native_3.3.3.bb | 70 +++++
.../python/python3/000-cross-compile.patch | 83 +++++
...sue-13032-where-it-fails-with-UnicodeDeco.patch | 37 +++
.../python3/020-dont-compile-python-files.patch | 37 +++
.../python/python3/03-fix-tkinter-detection.patch | 42 +++
.../python/python3/030-fixup-include-dirs.patch | 33 ++
.../python/python3/04-default-is-optimized.patch | 58 ++++
.../python3/06-ctypes-libffi-fix-configure.patch | 44 +++
.../python3/070-dont-clean-ipkg-install.patch | 36 +++
.../python3/080-distutils-dont_adjust_files.patch | 92 ++++++
.../python/python3/110-enable-zlib.patch | 21 ++
...2-distutils-prefix-is-inside-staging-area.patch | 78 +++++
.../python/python3/130-readline-setup.patch | 55 ++++
.../python/python3/150-fix-setupterm.patch | 17 ++
.../python3/avoid-ncursesw-include-path.patch | 29 ++
.../python3/avoid_warning_about_tkinter.patch | 25 ++
meta/recipes-devtools/python/python3/cgi_py.patch | 23 ++
.../python3/fix_for_using_different_libdir.patch | 54 ++++
.../python3/host_include_contamination.patch | 28 ++
.../python/python3/python-3.3-multilib.patch | 336 +++++++++++++++++++++
.../python/python3/remove_sqlite_rpath.patch | 19 ++
.../python/python3/setuptweaks.patch | 57 ++++
.../python/python3/shutil-follow-symlink-fix.patch | 17 ++
.../python/python3/sitecustomize.py | 37 +++
.../sys_platform_is_now_always_linux2.patch | 29 ++
.../python/python3/sysroot-include-headers.patch | 35 +++
.../python/python3/unixccompiler.patch | 33 ++
meta/recipes-devtools/python/python3_3.3.3.bb | 211 +++++++++++++
28 files changed, 1636 insertions(+)
Diff: http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=185fcfc3286b355394ae89300f22b8cb7aaa43c1
More information about the Openembedded-commits
mailing list