This recipe is blacklisted by the meta-python2 layer. The reason provided is:

python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"

Name python
Version 2.7.18
Summary The Python Programming Language
Description
Section devel/python
License PSFv2
Homepage http://www.python.org
Recipe file recipes-devtools/python/python_2.7.18.bb
recipes-devtools/python/python.inc
Layer meta-python2 (honister branch)
Inherits
  • autotools
  • multilib_header
  • pkgconfig
  • ptest
  • python-dir
  • pythonnative
  • siteconfig
  • siteinfo
Dependencies
  • autoconf-native
  • automake-native
  • bzip2
  • db
  • gdbm
  • libffi
  • libtool-cross
  • libtool-native
  • openssl
  • pkgconfig-native
  • python-native
  • readline
  • sqlite3
  • virtual/crypt
  • virtual/i686-oe-linux-compilerlibs
  • virtual/i686-oe-linux-gcc
  • virtual/libc
  • zlib
  • db
  • tk
PACKAGECONFIG options
  • bdb
  • tk

Sources

http://www.python.org/ftp/python/2.7.18/Python-2.7.18.tar.xz

Patches

Patch Status
python/CVE-2019-9674.patch Backport [https://github.com/python/cpython/commit/3ba51d587f6897a45301ce9126300c14fcd4eba2]
python/CVE-2019-20907.patch Unknown
python/01-use-proper-tools-for-cross-build.patch Inappropriate [embedded specific]
python/03-fix-tkinter-detection.patch Inappropriate [embedded specific]
python/06-avoid_usr_lib_termcap_path_in_linking.patch Pending
python/multilib.patch Pending
python/cgi_py.patch Inappropriate [distribution]
python/setup_py_skip_cross_import_check.patch Inappropriate [embedded-specific]
python/add-md5module-support.patch Inappropriate [configuration]
python/host_include_contamination.patch Pending
python/fix_for_using_different_libdir.patch Inappropriate [Embedded specific]
python/setuptweaks.patch Inappropriate [OE Specific]
python/check-if-target-is-64b-not-host.patch Pending
python/search_db_h_in_inc_dirs_and_avoid_warning.patch Inappropriate [distribution]
python/avoid_warning_about_tkinter.patch Inappropriate [distribution]
python/avoid_warning_for_sunos_specific_module.patch Inappropriate [distribution]
python/python-2.7.3-remove-bsdb-rpath.patch Inappropriate [embedded specific]
python/parallel-makeinst-create-bindir.patch Pending
python/use_sysroot_ncurses_instead_of_host.patch Pending
python/add-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch Inappropriate [OE-Core integration specific]
python/pass-missing-libraries-to-Extension-for-mul.patch Submitted [https://github.com/python/cpython/pull/2999]
python/support_SOURCE_DATE_EPOCH_in_py_compile_2.7.patch Backport
python/float-endian.patch Backport
python/0001-python2-use-cc_basename-to-replace-CC-for-checking-c.patch Pending

bbappends

This recipe is appended by:

meta-ros-python2 python_%.bbappend

Other branches

This recipe in other branches of meta-python2:

Branch Recipe
master python 2.7.18
kirkstone (Yocto Project 4.0) python 2.7.18
honister (Yocto Project 3.4) python 2.7.18 (this recipe)
hardknott (Yocto Project 3.3) python 2.7.18
gatesgarth (Yocto Project 3.2) python 2.7.18
dunfell (Yocto Project 3.1) python 2.7.18