public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-libc Patch 0/1] Add Python 3.6.8
@ 2021-09-02 17:12 Michael D Kinney
  2021-09-02 17:12 ` [edk2-libc Patch 1/1] AppPkg/Applications/Python/Python-3.6.8: Py 3.6.8 UEFI changes Michael D Kinney
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Michael D Kinney @ 2021-09-02 17:12 UTC (permalink / raw)
  To: devel; +Cc: Rebecca Cran, Jayaprakash N

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3588

This patch series contains the modifications required to 
support Python 3.6.8 in the UEFI Shell.  Currently supports
building Py3.6.8 for UEFI with IA32 and X64 architectures using
VS2017, VS2019 with the latest edk2/master.

There is an additional patch that must be applied first that
contains the source code from the Python project that is too
large to send as an email and does not need to be reviewed since
it is unmodified content from the Python project
https://github.com/python/cpython/tree/v3.6.8.

    https://github.com/jpshivakavi/edk2-libc/tree/py36_base_code_from_python_project
    https://github.com/jpshivakavi/edk2-libc/commit/d9f7b2e5748c382ad988a98bd3e5e4bb2d50c5c0

Cc: Rebecca Cran <rebecca@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Jayaprakash N <n.jayaprakash@intel.com>

Jayaprakash Nevara (1):
  AppPkg/Applications/Python/Python-3.6.8: Py 3.6.8 UEFI changes

 AppPkg/AppPkg.dsc                             |     3 +
 .../Python/Python-3.6.8/Py368ReadMe.txt       |   220 +
 .../PyMod-3.6.8/Include/fileutils.h           |   159 +
 .../Python-3.6.8/PyMod-3.6.8/Include/osdefs.h |    51 +
 .../PyMod-3.6.8/Include/pyconfig.h            |  1322 ++
 .../PyMod-3.6.8/Include/pydtrace.h            |    74 +
 .../Python-3.6.8/PyMod-3.6.8/Include/pyport.h |   788 +
 .../PyMod-3.6.8/Lib/ctypes/__init__.py        |   549 +
 .../PyMod-3.6.8/Lib/genericpath.py            |   157 +
 .../Python-3.6.8/PyMod-3.6.8/Lib/glob.py      |   110 +
 .../PyMod-3.6.8/Lib/http/client.py            |  1481 ++
 .../Lib/importlib/_bootstrap_external.py      |  1443 ++
 .../Python/Python-3.6.8/PyMod-3.6.8/Lib/io.py |    99 +
 .../PyMod-3.6.8/Lib/logging/__init__.py       |  2021 ++
 .../Python-3.6.8/PyMod-3.6.8/Lib/ntpath.py    |   568 +
 .../Python/Python-3.6.8/PyMod-3.6.8/Lib/os.py |   792 +
 .../Python-3.6.8/PyMod-3.6.8/Lib/pydoc.py     |  2686 +++
 .../Python-3.6.8/PyMod-3.6.8/Lib/shutil.py    |  1160 ++
 .../Python-3.6.8/PyMod-3.6.8/Lib/site.py      |   529 +
 .../PyMod-3.6.8/Lib/subprocess.py             |  1620 ++
 .../Python-3.6.8/PyMod-3.6.8/Lib/zipfile.py   |  2060 ++
 .../PyMod-3.6.8/Modules/_blake2/impl/blake2.h |   161 +
 .../PyMod-3.6.8/Modules/_ctypes/_ctypes.c     |  5623 ++++++
 .../PyMod-3.6.8/Modules/_ctypes/callproc.c    |  1871 ++
 .../Modules/_ctypes/ctypes_dlfcn.h            |    29 +
 .../Modules/_ctypes/libffi_msvc/ffi.c         |   572 +
 .../Modules/_ctypes/libffi_msvc/ffi.h         |   331 +
 .../Modules/_ctypes/libffi_msvc/ffi_common.h  |    85 +
 .../Modules/_ctypes/malloc_closure.c          |   128 +
 .../Python-3.6.8/PyMod-3.6.8/Modules/config.c |   159 +
 .../PyMod-3.6.8/Modules/edk2module.c          |  4348 +++++
 .../PyMod-3.6.8/Modules/errnomodule.c         |   890 +
 .../PyMod-3.6.8/Modules/faulthandler.c        |  1414 ++
 .../PyMod-3.6.8/Modules/getpath.c             |  1283 ++
 .../Python-3.6.8/PyMod-3.6.8/Modules/main.c   |   878 +
 .../PyMod-3.6.8/Modules/selectmodule.c        |  2638 +++
 .../PyMod-3.6.8/Modules/socketmodule.c        |  7810 ++++++++
 .../PyMod-3.6.8/Modules/socketmodule.h        |   282 +
 .../PyMod-3.6.8/Modules/sre_lib.h             |  1372 ++
 .../PyMod-3.6.8/Modules/timemodule.c          |  1526 ++
 .../PyMod-3.6.8/Modules/zlib/gzguts.h         |   218 +
 .../PyMod-3.6.8/Objects/dictobject.c          |  4472 +++++
 .../PyMod-3.6.8/Objects/memoryobject.c        |  3114 +++
 .../Python-3.6.8/PyMod-3.6.8/Objects/object.c |  2082 ++
 .../Objects/stringlib/transmogrify.h          |   701 +
 .../PyMod-3.6.8/Objects/unicodeobject.c       | 15773 ++++++++++++++++
 .../PyMod-3.6.8/Python/bltinmodule.c          |  2794 +++
 .../PyMod-3.6.8/Python/fileutils.c            |  1767 ++
 .../PyMod-3.6.8/Python/getcopyright.c         |    38 +
 .../PyMod-3.6.8/Python/importlib_external.h   |  2431 +++
 .../Python-3.6.8/PyMod-3.6.8/Python/marshal.c |  1861 ++
 .../Python-3.6.8/PyMod-3.6.8/Python/pyhash.c  |   437 +
 .../PyMod-3.6.8/Python/pylifecycle.c          |  1726 ++
 .../Python-3.6.8/PyMod-3.6.8/Python/pystate.c |   969 +
 .../Python-3.6.8/PyMod-3.6.8/Python/pytime.c  |   749 +
 .../Python-3.6.8/PyMod-3.6.8/Python/random.c  |   636 +
 .../Python/Python-3.6.8/Python368.inf         |   275 +
 .../Python-3.6.8/create_python368_pkg.bat     |    48 +
 .../Python/Python-3.6.8/srcprep.py            |    30 +
 59 files changed, 89413 insertions(+)
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/fileutils.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/osdefs.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/pyconfig.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/pydtrace.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/pyport.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/ctypes/__init__.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/genericpath.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/glob.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/http/client.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/importlib/_bootstrap_external.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/io.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/logging/__init__.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/ntpath.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/os.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/pydoc.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/shutil.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/site.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/subprocess.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Lib/zipfile.py
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/_blake2/impl/blake2.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/_ctypes/_ctypes.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/_ctypes/callproc.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/_ctypes/ctypes_dlfcn.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/_ctypes/libffi_msvc/ffi.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/_ctypes/libffi_msvc/ffi.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/_ctypes/libffi_msvc/ffi_common.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/_ctypes/malloc_closure.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/config.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/edk2module.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/errnomodule.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/faulthandler.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/getpath.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/main.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/selectmodule.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/socketmodule.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/socketmodule.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/sre_lib.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/timemodule.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/zlib/gzguts.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Objects/dictobject.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Objects/memoryobject.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Objects/object.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Objects/stringlib/transmogrify.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Objects/unicodeobject.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Python/bltinmodule.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Python/fileutils.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Python/getcopyright.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Python/importlib_external.h
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Python/marshal.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Python/pyhash.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Python/pylifecycle.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Python/pystate.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Python/pytime.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Python/random.c
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/Python368.inf
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/create_python368_pkg.bat
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/srcprep.py

-- 
2.32.0.windows.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-03  1:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-02 17:12 [edk2-libc Patch 0/1] Add Python 3.6.8 Michael D Kinney
2021-09-02 17:12 ` [edk2-libc Patch 1/1] AppPkg/Applications/Python/Python-3.6.8: Py 3.6.8 UEFI changes Michael D Kinney
2021-09-02 18:41   ` [edk2-devel] " Rebecca Cran
2021-09-02 20:46     ` Michael D Kinney
2021-09-02 20:48       ` Rebecca Cran
2021-09-02 20:48   ` Rebecca Cran
2021-09-02 18:22 ` [edk2-devel] [edk2-libc Patch 0/1] Add Python 3.6.8 Michael D Kinney
2021-09-03  1:35 ` Michael D Kinney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox