micropython-lib: Update to master, split target package
authorJeffery To <jeffery.to@gmail.com>
Mon, 29 May 2023 19:24:54 +0000 (03:24 +0800)
committerJeffery To <jeffery.to@gmail.com>
Fri, 2 Jun 2023 13:39:58 +0000 (21:39 +0800)
commit9390bd0262ad9f0775b76984d1c8f29b9a35584e
tree138b1e3a2e246b38e2d89abfbe209b79735790a9
parenta4ae38494f0c12799b343eb521ca13123c0bb4e3
micropython-lib: Update to master, split target package

The package has been reworked to install the same files that are
available to be downloaded/installed by mip, the package manager new to
MicroPython 1.20.0.

This also splits the original target package into four:

* micropython-lib
  * Includes packages common to all MicroPython ports (python-stdlib,
    python-ecosys, micropython)
  * Contains mpy bytecode files

* micropython-lib-src
  * Includes packages common to all MicroPython ports (python-stdlib,
    python-ecosys, micropython)
  * Contains py source files

* micropython-lib-unix
  * Includes packages specific to the MicroPython Unix port (unix-ffi)
  * Contains mpy bytecode files
  * Installs a specific launcher (micropython-unix) that adds the Unix
    package directory into MicroPython's library path

* micropython-lib-unix-src
  * Includes packages specific to the MicroPython Unix port (unix-ffi)
  * Contains py source files

This also updates the package license, title, and description.

Patches:

* 001-build-unix-ffi.patch

  This enables the repo build script to also build the Unix-specific
  packages. Not sure if upstream is open to accepting this since the
  Unix-specific packages don't fit well into the existing package
  distribution mechanism.

* 002-add-unix-ffi-os-path.patch and 003-add-unix-ffi-uu.patch

  These fix instances where the unix-ffi version of the os package is
  overridden by the python-stdlib version. These have been submitted to
  upstream: https://github.com/micropython/micropython-lib/pull/672

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/micropython-lib/Makefile
lang/python/micropython-lib/files/micropython-unix [new file with mode: 0644]
lang/python/micropython-lib/install.py [new file with mode: 0644]
lang/python/micropython-lib/patches/001-build-unix-ffi.patch [new file with mode: 0644]
lang/python/micropython-lib/patches/002-add-unix-ffi-os-path.patch [new file with mode: 0644]
lang/python/micropython-lib/patches/003-add-unix-ffi-uu.patch [new file with mode: 0644]