Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 00/31] Switch oe-core to Python 3
Date: Thu,  2 Jun 2016 12:25:37 +0300	[thread overview]
Message-ID: <cover.1464859158.git.alexander.kanavin@linux.intel.com> (raw)

This is an updated and rebased patchset that switches oe-core
recipes to Python 3 whenever possible. See here for an overview:
http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121915.html

Changes:
- fixed issues found via autobuilder testing: gdbus-codegen issue and
python3-dbus issue are fixed explicitly; python3-numpy failure has
disappeared somewhere between rebasing and fixing those other items:
http://lists.openembedded.org/pipermail/openembedded-core/2016-May/122257.html

The following changes since commit 3c42280b8a5cac184311a59589849fec4e215a14:

  sanity: Drop setting C locale (2016-06-01 15:05:47 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib akanavin/deprecate-python2
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/deprecate-python2

Alexander Kanavin (31):
  bind: switch Python dependency to Python 3.x
  python-dbus: update to 1.2.4, port to python 3
  python3: drop 110-enable-zlib.patch
  glib: move to Python 3
  dbus-test: remove unneeded pygobject dependency
  python-pygobject: port to Python 3
  neard: do not package python test scripts
  bluez5: switch to Python 3
  connman: do not install Python test scripts
  ofono: drop the custom-made revert to Python 2 from Python 3
  packagegroup-core-full-cmdline: drop python-dbus from the list of
    services
  nfs-utils: switch to Python 3
  systemd: drop python dependency for ptests
  util-linux: move to Python 3
  python-pycairo: move to Python 3
  bootchart2: move to Python 3
  gdb: move to Python 3
  swig: move to Python 3
  python-pyrex: remove unused recipe
  python-imaging: remove unused recipe
  python-docutils: move to Python 3
  libuser: move to Python 3
  libnewt-python: move to Python 3
  gnome-doc-utils: remove recipe
  lttng-tools: move to Python 3
  lttng-ust: move to Python 3
  systemtap: move to Python 3
  libcap-ng: move to Python 3
  hwlatdetect: move to Python 3
  python3-numpy: add a recipe
  automake: drop the Python scriptlets to determine Python's directories

 meta/conf/distro/include/distro_alias.inc          |    2 -
 meta/conf/distro/include/security_flags.inc        |    1 -
 meta/recipes-connectivity/bind/bind_9.10.3-P3.bb   |    4 +-
 meta/recipes-connectivity/bluez5/bluez5.inc        |    6 +-
 meta/recipes-connectivity/connman/connman.inc      |    6 +-
 meta/recipes-connectivity/neard/neard_0.15.bb      |   13 +-
 .../nfs-utils/nfs-utils_1.3.3.bb                   |    6 +-
 meta/recipes-connectivity/ofono/ofono.inc          |    6 +-
 .../ofono/Revert-test-Convert-to-Python-3.patch    | 1270 --------------------
 meta/recipes-connectivity/ofono/ofono_1.17.bb      |    1 -
 meta/recipes-core/dbus/dbus-test_1.10.6.bb         |    2 +-
 meta/recipes-core/glib-2.0/glib.inc                |    8 +-
 meta/recipes-core/systemd/systemd_229.bb           |    2 +-
 meta/recipes-core/util-linux/util-linux.inc        |   11 +-
 .../automake/automake/python-libdir.patch          |   62 +-
 .../bootchart2/bootchart2_0.14.8.bb                |   16 +-
 meta/recipes-devtools/gdb/gdb-common.inc           |    2 +-
 meta/recipes-devtools/gdb/gdb-cross-canadian.inc   |   12 +-
 meta/recipes-devtools/gdb/gdb-cross.inc            |    4 +-
 meta/recipes-devtools/gdb/gdb_7.11.bb              |    6 +-
 .../python-numpy/python3-numpy_1.10.4.bb           |  101 ++
 ...ing-setup.py-force-paths-for-zlib-freetyp.patch |   55 -
 .../allow.to.disable.some.features.patch           |   65 -
 .../python-imaging/fix-freetype-includes.patch     |   30 -
 .../python/python-imaging_1.1.7.bb                 |   45 -
 .../python/python-pycairo_1.10.0.bb                |   41 -
 .../python/python-pyrex-native_0.9.9.bb            |    5 -
 .../python-pyrex/pyrex-fix-optimized-mode.patch    |   15 -
 meta/recipes-devtools/python/python-pyrex_0.9.9.bb |   22 -
 ...{python-dbus_1.2.0.bb => python3-dbus_1.2.4.bb} |   19 +-
 ...n-docutils_0.12.bb => python3-docutils_0.12.bb} |    4 +-
 .../python/python3-native_3.5.1.bb                 |    1 -
 .../python/python3-pycairo_1.10.0.bb               |   40 +
 ...c-add-sysroot-path-to-GI_DATADIR-don-t-se.patch |    0
 ...bject_3.18.2.bb => python3-pygobject_3.18.2.bb} |    8 +-
 .../python/python3/110-enable-zlib.patch           |   21 -
 meta/recipes-devtools/python/python3_3.5.1.bb      |    1 -
 meta/recipes-devtools/swig/swig.inc                |    7 +-
 meta/recipes-extended/libuser/libuser_0.62.bb      |    8 +-
 .../newt/libnewt-python_0.52.18.bb                 |    6 +-
 .../packagegroup-core-full-cmdline.bb              |    1 -
 meta/recipes-gnome/epiphany/epiphany_3.18.4.bb     |    1 -
 .../gnome-desktop/gnome-desktop3_3.18.2.bb         |    2 +-
 meta/recipes-gnome/gnome/gnome-doc-utils.inc       |   29 -
 .../gnome-doc-utils/sysrooted-pkg-config.patch     |   35 -
 .../use-usr-bin-env-for-python-in-xml2po.patch     |   30 -
 .../gnome/gnome-doc-utils/xsltproc_nonet.patch     |   95 --
 .../recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb |   12 -
 ...d-look-for-python-3.0-when-building-pytho.patch |   30 -
 meta/recipes-kernel/lttng/lttng-tools_git.bb       |    7 +-
 meta/recipes-kernel/lttng/lttng-ust_git.bb         |    9 +-
 meta/recipes-kernel/systemtap/systemtap_git.bb     |    5 +-
 meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb       |    6 +-
 meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb  |   12 +-
 54 files changed, 285 insertions(+), 1923 deletions(-)
 delete mode 100644 meta/recipes-connectivity/ofono/ofono/Revert-test-Convert-to-Python-3.patch
 create mode 100644 meta/recipes-devtools/python-numpy/python3-numpy_1.10.4.bb
 delete mode 100644 meta/recipes-devtools/python/python-imaging/0001-python-imaging-setup.py-force-paths-for-zlib-freetyp.patch
 delete mode 100644 meta/recipes-devtools/python/python-imaging/allow.to.disable.some.features.patch
 delete mode 100644 meta/recipes-devtools/python/python-imaging/fix-freetype-includes.patch
 delete mode 100644 meta/recipes-devtools/python/python-imaging_1.1.7.bb
 delete mode 100644 meta/recipes-devtools/python/python-pycairo_1.10.0.bb
 delete mode 100644 meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb
 delete mode 100644 meta/recipes-devtools/python/python-pyrex/pyrex-fix-optimized-mode.patch
 delete mode 100644 meta/recipes-devtools/python/python-pyrex_0.9.9.bb
 rename meta/recipes-devtools/python/{python-dbus_1.2.0.bb => python3-dbus_1.2.4.bb} (55%)
 rename meta/recipes-devtools/python/{python-docutils_0.12.bb => python3-docutils_0.12.bb} (92%)
 create mode 100644 meta/recipes-devtools/python/python3-pycairo_1.10.0.bb
 rename meta/recipes-devtools/python/{python-pygobject => python3-pygobject}/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch (100%)
 rename meta/recipes-devtools/python/{python-pygobject_3.18.2.bb => python3-pygobject_3.18.2.bb} (72%)
 delete mode 100644 meta/recipes-devtools/python/python3/110-enable-zlib.patch
 delete mode 100644 meta/recipes-gnome/gnome/gnome-doc-utils.inc
 delete mode 100644 meta/recipes-gnome/gnome/gnome-doc-utils/sysrooted-pkg-config.patch
 delete mode 100644 meta/recipes-gnome/gnome/gnome-doc-utils/use-usr-bin-env-for-python-in-xml2po.patch
 delete mode 100644 meta/recipes-gnome/gnome/gnome-doc-utils/xsltproc_nonet.patch
 delete mode 100644 meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb
 delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/Revert-Build-look-for-python-3.0-when-building-pytho.patch

-- 
2.8.1



             reply	other threads:[~2016-06-02  9:26 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-02  9:25 Alexander Kanavin [this message]
2016-06-02  9:25 ` [PATCH 01/31] bind: switch Python dependency to Python 3.x Alexander Kanavin
2016-06-02  9:25 ` [PATCH 02/31] python-dbus: update to 1.2.4, port to python 3 Alexander Kanavin
2016-06-02  9:25 ` [PATCH 03/31] python3: drop 110-enable-zlib.patch Alexander Kanavin
2016-06-02  9:25 ` [PATCH 04/31] glib: move to Python 3 Alexander Kanavin
2016-06-02  9:25 ` [PATCH 05/31] dbus-test: remove unneeded pygobject dependency Alexander Kanavin
2016-06-02  9:25 ` [PATCH 06/31] python-pygobject: port to Python 3 Alexander Kanavin
2016-06-02  9:25 ` [PATCH 07/31] neard: do not package python test scripts Alexander Kanavin
2016-06-02  9:25 ` [PATCH 08/31] bluez5: switch to Python 3 Alexander Kanavin
2016-06-02  9:25 ` [PATCH 09/31] connman: do not install Python test scripts Alexander Kanavin
2016-06-02  9:25 ` [PATCH 10/31] ofono: drop the custom-made revert to Python 2 from Python 3 Alexander Kanavin
2016-06-02  9:25 ` [PATCH 11/31] packagegroup-core-full-cmdline: drop python-dbus from the list of services Alexander Kanavin
2016-06-02  9:25 ` [PATCH 12/31] nfs-utils: switch to Python 3 Alexander Kanavin
2016-06-02  9:25 ` [PATCH 13/31] systemd: drop python dependency for ptests Alexander Kanavin
2016-06-02  9:25 ` [PATCH 14/31] util-linux: move to Python 3 Alexander Kanavin
2016-06-02  9:25 ` [PATCH 15/31] python-pycairo: " Alexander Kanavin
2016-06-02  9:25 ` [PATCH 16/31] bootchart2: " Alexander Kanavin
2016-06-02  9:25 ` [PATCH 17/31] gdb: " Alexander Kanavin
2016-06-02  9:25 ` [PATCH 18/31] swig: " Alexander Kanavin
2016-06-02  9:25 ` [PATCH 19/31] python-pyrex: remove unused recipe Alexander Kanavin
2016-06-02  9:25 ` [PATCH 20/31] python-imaging: " Alexander Kanavin
2016-06-02  9:25 ` [PATCH 21/31] python-docutils: move to Python 3 Alexander Kanavin
2016-06-02  9:25 ` [PATCH 22/31] libuser: " Alexander Kanavin
2016-06-02  9:26 ` [PATCH 23/31] libnewt-python: " Alexander Kanavin
2016-06-02  9:26 ` [PATCH 24/31] gnome-doc-utils: remove recipe Alexander Kanavin
2016-06-02  9:26 ` [PATCH 25/31] lttng-tools: move to Python 3 Alexander Kanavin
2016-06-02  9:26 ` [PATCH 26/31] lttng-ust: " Alexander Kanavin
2016-06-02  9:26 ` [PATCH 27/31] systemtap: " Alexander Kanavin
2016-06-02  9:26 ` [PATCH 28/31] libcap-ng: " Alexander Kanavin
2016-06-02  9:26 ` [PATCH 29/31] hwlatdetect: " Alexander Kanavin
2016-06-02  9:26 ` [PATCH 30/31] python3-numpy: add a recipe Alexander Kanavin
2016-06-02  9:26 ` [PATCH 31/31] automake: drop the Python scriptlets to determine Python's directories Alexander Kanavin

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.1464859158.git.alexander.kanavin@linux.intel.com \
    --to=alexander.kanavin@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox