All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH V4 00/20] Add python 3 support
Date: Tue, 27 Aug 2013 10:11:56 -0700	[thread overview]
Message-ID: <cover.1377623208.git.raj.khem@gmail.com> (raw)

This patchset adds python3 recipes on the same lines as python2
I have hopefully addressed all issues reported and review comments
if not please let me know. One issue that I have not been able to
reproduce is compiling python3 as 32bit package on x86_64 (multilib)
that Saul reported.

We can mark python3 as multilib broken in meantime until the issue
is reproduced and fixed.

The following changes since commit e4582a51a2500ad3b418e53170f5fb6b2cbd98a5:

  gcc-4.8.inc: Allow lto to be configurable (2013-08-27 13:48:44 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib kraj/python3
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/python3

Khem Raj (20):
  generate-manifest-3.3.py: Add script to generate python 3.3 manifests
  python-3.3-manifest: Add python3 manifest file
  python3native.bbclass: Add python3 abstraction class
  package_rpm.bbclass:Make the regexp less greedy
  classes/distutils: Introduce PYTHON_PN
  classes: Add distutils for python3
  distutils: Introduce PYTHON_ABI variable
  distutils3: Do build_ext as separate step during compile
  python3: Add recipes
  python3: Add native recipe
  python_2.7.3.bb: Inherit python-dir
  python-distribute: Add recipes for python2 and python3
  python3: Upgrade to 3.3.2
  distutils3.bbclass: Fix typo and use proper values for target sysroot
  python3, python3-native: Consider OE staging installation
  python3: Fix host include contamination issue
  distutils3.bbclass: Use MACHINE for sysroot when not building for
    build host
  python3: Fix the compiler invocation and linker flags when cross
    compiling
  python: Add Patch description and status information
  python3_3.3.2.bb: Add liblzma to RDEPENDS for python3-misc

 meta/classes/distutils-base.bbclass                |   5 +-
 meta/classes/distutils-native-base.bbclass         |   4 +-
 meta/classes/distutils-tools.bbclass               |  77 +++++
 meta/classes/distutils.bbclass                     |  23 +-
 meta/classes/distutils3-base.bbclass               |   8 +
 meta/classes/distutils3-native-base.bbclass        |   4 +
 meta/classes/distutils3.bbclass                    |  98 ++++++
 meta/classes/package_rpm.bbclass                   |   2 +-
 meta/classes/python-dir.bbclass                    |   2 +
 meta/classes/python3native.bbclass                 |   7 +
 meta/classes/pythonnative.bbclass                  |   9 +-
 meta/classes/setuptools.bbclass                    |   3 +-
 meta/classes/setuptools3.bbclass                   |   8 +
 .../python/python-3.3-manifest.inc                 | 260 ++++++++++++++
 .../python/python-distribute_0.6.32.bb             |  47 +++
 .../python/python3-distribute_0.6.32.bb            |  47 +++
 .../python/python3-native_3.3.2.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_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.2.bb      | 206 +++++++++++
 meta/recipes-devtools/python/python_2.7.3.bb       |   2 +-
 scripts/contrib/python/generate-manifest-3.3.py    | 376 +++++++++++++++++++++
 45 files changed, 2561 insertions(+), 23 deletions(-)
 create mode 100644 meta/classes/distutils-tools.bbclass
 create mode 100644 meta/classes/distutils3-base.bbclass
 create mode 100644 meta/classes/distutils3-native-base.bbclass
 create mode 100644 meta/classes/distutils3.bbclass
 create mode 100644 meta/classes/python3native.bbclass
 create mode 100644 meta/classes/setuptools3.bbclass
 create mode 100644 meta/recipes-devtools/python/python-3.3-manifest.inc
 create mode 100644 meta/recipes-devtools/python/python-distribute_0.6.32.bb
 create mode 100644 meta/recipes-devtools/python/python3-distribute_0.6.32.bb
 create mode 100644 meta/recipes-devtools/python/python3-native_3.3.2.bb
 create mode 100644 meta/recipes-devtools/python/python3/000-cross-compile.patch
 create mode 100644 meta/recipes-devtools/python/python3/0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch
 create mode 100644 meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch
 create mode 100644 meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch
 create mode 100644 meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
 create mode 100644 meta/recipes-devtools/python/python3/04-default-is-optimized.patch
 create mode 100644 meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
 create mode 100644 meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
 create mode 100644 meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch
 create mode 100644 meta/recipes-devtools/python/python3/110-enable-zlib.patch
 create mode 100644 meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch
 create mode 100644 meta/recipes-devtools/python/python3/130-readline-setup.patch
 create mode 100644 meta/recipes-devtools/python/python3/150-fix-setupterm.patch
 create mode 100644 meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
 create mode 100644 meta/recipes-devtools/python/python3/cgi_py.patch
 create mode 100644 meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch
 create mode 100644 meta/recipes-devtools/python/python3/host_include_contamination.patch
 create mode 100644 meta/recipes-devtools/python/python3/python-3.3-multilib.patch
 create mode 100644 meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
 create mode 100644 meta/recipes-devtools/python/python3/setuptweaks.patch
 create mode 100644 meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch
 create mode 100644 meta/recipes-devtools/python/python3/sitecustomize.py
 create mode 100644 meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch
 create mode 100644 meta/recipes-devtools/python/python3/sysroot-include-headers.patch
 create mode 100644 meta/recipes-devtools/python/python3/unixccompiler.patch
 create mode 100644 meta/recipes-devtools/python/python3_3.3.2.bb
 create mode 100755 scripts/contrib/python/generate-manifest-3.3.py

-- 
1.8.3.4



             reply	other threads:[~2013-08-27 17:12 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-27 17:11 Khem Raj [this message]
2013-08-27 17:15 ` [PATCH 01/20] generate-manifest-3.3.py: Add script to generate python 3.3 manifests Khem Raj
2013-08-27 17:15 ` [PATCH 02/20] python-3.3-manifest: Add python3 manifest file Khem Raj
2013-08-27 17:15 ` [PATCH 03/20] python3native.bbclass: Add python3 abstraction class Khem Raj
2013-08-27 17:15 ` [PATCH 04/20] package_rpm.bbclass:Make the regexp less greedy Khem Raj
2013-08-27 18:47   ` Phil Blundell
2013-08-28  6:15     ` Khem Raj
2013-08-27 17:15 ` [PATCH 05/20] classes/distutils: Introduce PYTHON_PN Khem Raj
2013-08-27 17:15 ` [PATCH 06/20] classes: Add distutils for python3 Khem Raj
2013-08-27 17:15 ` [PATCH 07/20] distutils: Introduce PYTHON_ABI variable Khem Raj
2013-08-27 17:15 ` [PATCH 08/20] distutils3: Do build_ext as separate step during compile Khem Raj
2013-08-27 17:15 ` [PATCH 09/20] python3: Add recipes Khem Raj
2013-08-27 17:15 ` [PATCH 10/20] python3: Add native recipe Khem Raj
2013-08-27 17:15 ` [PATCH 11/20] python_2.7.3.bb: Inherit python-dir Khem Raj
2013-08-27 17:15 ` [PATCH 12/20] python-distribute: Add recipes for python2 and python3 Khem Raj
2013-08-27 17:15 ` [PATCH 13/20] python3: Upgrade to 3.3.2 Khem Raj
2013-08-27 17:15 ` [PATCH 14/20] distutils3.bbclass: Fix typo and use proper values for target sysroot Khem Raj
2013-08-27 17:15 ` [PATCH 15/20] python3, python3-native: Consider OE staging installation Khem Raj
2013-08-27 17:15 ` [PATCH 16/20] python3: Fix host include contamination issue Khem Raj
2013-08-27 17:15 ` [PATCH 17/20] distutils3.bbclass: Use MACHINE for sysroot when not building for build host Khem Raj
2013-08-27 17:15 ` [PATCH 18/20] python3: Fix the compiler invocation and linker flags when cross compiling Khem Raj
2013-08-27 17:15 ` [PATCH 19/20] python: Add Patch description and status information Khem Raj
2013-08-27 17:15 ` [PATCH 20/20] python3_3.3.2.bb: Add liblzma to RDEPENDS for python3-misc Khem Raj
2013-08-27 17:49   ` Martin Jansa
2013-09-03 16:59 ` [PATCH V4 00/20] Add python 3 support Burton, Ross
2013-09-03 17:04   ` Khem Raj
2013-09-05  4:18   ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1377623208.git.raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.