[Buildroot] [PATCH 0/3] package/python: allow building without python on the host (branch yem/python)

Arnout Vandecappelle arnout at mind.be
Sat Jul 23 15:24:54 UTC 2022



On 23/07/2022 15:04, Yann E. MORIN wrote:
> Hello All!
> 
> This small series fixes #14911: building python3 requires host-python3,
> which itself requires that the host already has a python interpreter.
> 
> With a little cleanup patch, new runtime tests, and a nice patch from
> Vincent, we can now drop the requirement on python being available on
> the host. It also drop one of our patch and some crazy and fragile hacks
> to regenerate python internals.
> 
> Regards,
> Yann E. MORIN.

  Series applied to master, thanks.

  Regards,
  Arnout

> 
> 
> ----------------------------------------------------------------
> Vincent Fazio (1):
>        package/python3: use the provided pyc compiler
> 
> Yann E. MORIN (2):
>        support/testing: drop legacy python2 code
>        support/testing: introduce py-only and py-pyc tests
> 
>   ...h => 0011-Add-an-option-to-disable-pydoc.patch} |   0
>   ...0011-Add-importlib-fix-for-PEP-3147-issue.patch | 105 ---------------------
>   ...=> 0012-Add-an-option-to-disable-lib2to3.patch} |   0
>   ...Add-option-to-disable-the-sqlite3-module.patch} |   0
>   ...4-Add-an-option-to-disable-the-tk-module.patch} |   0
>   ...d-an-option-to-disable-the-curses-module.patch} |   0
>   ...h => 0016-Add-an-option-to-disable-expat.patch} |   0
>   ...0017-Add-an-option-to-disable-CJK-codecs.patch} |   0
>   ...tch => 0018-Add-an-option-to-disable-NIS.patch} |   0
>   ...019-Add-an-option-to-disable-unicodedata.patch} |   0
>   ...ch => 0020-Add-an-option-to-disable-IDLE.patch} |   0
>   ...=> 0021-Add-an-option-to-disable-decimal.patch} |   0
>   ...option-to-disable-the-ossaudiodev-module.patch} |   0
>   ...Add-an-option-to-disable-openssl-support.patch} |   0
>   ...an-option-to-disable-the-readline-module.patch} |   0
>   ...ons-to-disable-zlib-bzip2-and-xz-modules.patch} |   0
>   ...6-python-config.sh-don-t-reassign-prefix.patch} |   0
>   ...0027-Fix-cross-compiling-the-uuid-module.patch} |   0
>   ...028-Add-an-option-to-disable-uuid-module.patch} |   0
>   ...0029-fix-building-on-older-distributions.patch} |   0
>   ...-fixup-CC-print-multiarch-output-for-mus.patch} |   0
>   ...-option-to-disable-the-berkeleydb-module.patch} |   0
>   ...libc-ng-doesn-t-set-errno-when-encryptio.patch} |   0
>   package/python3/python3.mk                         |  47 +--------
>   support/scripts/pycompile.py                       |  91 ------------------
>   support/testing/tests/package/test_python.py       |  34 ++++++-
>   26 files changed, 35 insertions(+), 242 deletions(-)
>   rename package/python3/{0012-Add-an-option-to-disable-pydoc.patch => 0011-Add-an-option-to-disable-pydoc.patch} (100%)
>   delete mode 100644 package/python3/0011-Add-importlib-fix-for-PEP-3147-issue.patch
>   rename package/python3/{0013-Add-an-option-to-disable-lib2to3.patch => 0012-Add-an-option-to-disable-lib2to3.patch} (100%)
>   rename package/python3/{0014-Add-option-to-disable-the-sqlite3-module.patch => 0013-Add-option-to-disable-the-sqlite3-module.patch} (100%)
>   rename package/python3/{0015-Add-an-option-to-disable-the-tk-module.patch => 0014-Add-an-option-to-disable-the-tk-module.patch} (100%)
>   rename package/python3/{0016-Add-an-option-to-disable-the-curses-module.patch => 0015-Add-an-option-to-disable-the-curses-module.patch} (100%)
>   rename package/python3/{0017-Add-an-option-to-disable-expat.patch => 0016-Add-an-option-to-disable-expat.patch} (100%)
>   rename package/python3/{0018-Add-an-option-to-disable-CJK-codecs.patch => 0017-Add-an-option-to-disable-CJK-codecs.patch} (100%)
>   rename package/python3/{0019-Add-an-option-to-disable-NIS.patch => 0018-Add-an-option-to-disable-NIS.patch} (100%)
>   rename package/python3/{0020-Add-an-option-to-disable-unicodedata.patch => 0019-Add-an-option-to-disable-unicodedata.patch} (100%)
>   rename package/python3/{0021-Add-an-option-to-disable-IDLE.patch => 0020-Add-an-option-to-disable-IDLE.patch} (100%)
>   rename package/python3/{0022-Add-an-option-to-disable-decimal.patch => 0021-Add-an-option-to-disable-decimal.patch} (100%)
>   rename package/python3/{0023-Add-an-option-to-disable-the-ossaudiodev-module.patch => 0022-Add-an-option-to-disable-the-ossaudiodev-module.patch} (100%)
>   rename package/python3/{0024-Add-an-option-to-disable-openssl-support.patch => 0023-Add-an-option-to-disable-openssl-support.patch} (100%)
>   rename package/python3/{0025-Add-an-option-to-disable-the-readline-module.patch => 0024-Add-an-option-to-disable-the-readline-module.patch} (100%)
>   rename package/python3/{0026-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch => 0025-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch} (100%)
>   rename package/python3/{0027-python-config.sh-don-t-reassign-prefix.patch => 0026-python-config.sh-don-t-reassign-prefix.patch} (100%)
>   rename package/python3/{0028-Fix-cross-compiling-the-uuid-module.patch => 0027-Fix-cross-compiling-the-uuid-module.patch} (100%)
>   rename package/python3/{0029-Add-an-option-to-disable-uuid-module.patch => 0028-Add-an-option-to-disable-uuid-module.patch} (100%)
>   rename package/python3/{0030-fix-building-on-older-distributions.patch => 0029-fix-building-on-older-distributions.patch} (100%)
>   rename package/python3/{0031-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch => 0030-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch} (100%)
>   rename package/python3/{0032-Add-an-option-to-disable-the-berkeleydb-module.patch => 0031-Add-an-option-to-disable-the-berkeleydb-module.patch} (100%)
>   rename package/python3/{0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch => 0032-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch} (100%)
>   delete mode 100644 support/scripts/pycompile.py
> 



More information about the buildroot mailing list