micropython-lib: update to 1.24.0
authorGlenn Strauss <gstrauss@gluelogic.com>
Mon, 18 Nov 2024 04:56:46 +0000 (23:56 -0500)
committerRosen Penev <rosenp@gmail.com>
Mon, 18 Nov 2024 05:40:15 +0000 (21:40 -0800)
* update micropython-lib to hash for 1.24.0

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
lang/python/micropython-lib/Makefile
lang/python/micropython-lib/patches/001-build-unix-ffi.patch

index fd9b31594b15721d20919b954ab02cbdbefac8aa..9fe51933bfd781ff9eccc6a74ff84513468b505c 100644 (file)
@@ -12,9 +12,9 @@ PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/micropython/micropython-lib.git
-PKG_SOURCE_VERSION:=50ed36fbeb919753bcc26ce13a8cffd7691d06ef
-PKG_SOURCE_DATE:=20240525
-PKG_MIRROR_HASH:=c03c4226c461079d529b72456569797d3f87f0970e78d1c7c4d6c34d32586af4
+PKG_SOURCE_VERSION:=68e3e07bc7ab63931cead3854b2a114e9a084248
+PKG_SOURCE_DATE:=20241017
+PKG_MIRROR_HASH:=7ed2c1b4a5af1b00364e2e017b2b416865713dc82d94737a3ea605f9aeaed54a
 
 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
 PKG_LICENSE:=MIT Python-2.0.1
index c45190c8969b806b873ae25d919537b7234d245b..fa31be625b99804d3b4bc1f76168b8a7c673c6e4 100644 (file)
@@ -1,7 +1,7 @@
 --- a/tools/build.py
 +++ b/tools/build.py
-@@ -284,7 +284,7 @@ def _update_index_package_metadata(index
-                 index_package_json["versions"][v].append(metadata.version)
+@@ -289,7 +289,7 @@ def _update_index_package_metadata(index
+     index_package_json["path"] = package_path
  
  
 -def build(output_path, hash_prefix_len, mpy_cross_path):
@@ -9,7 +9,7 @@
      import manifestfile
      import mpy_cross
  
-@@ -310,7 +310,10 @@ def build(output_path, hash_prefix_len,
+@@ -315,7 +315,10 @@ def build(output_path, hash_prefix_len,
  
      # For now, don't process unix-ffi. In the future this can be extended to
      # allow a way to request unix-ffi packages via mip.
@@ -21,7 +21,7 @@
  
      mpy_version, _mpy_sub_version = mpy_cross.mpy_version(mpy_cross=mpy_cross_path)
      mpy_version = str(mpy_version)
-@@ -438,6 +441,7 @@ def main():
+@@ -446,6 +449,7 @@ def main():
  
      cmd_parser = argparse.ArgumentParser(description="Compile micropython-lib for serving to mip.")
      cmd_parser.add_argument("--output", required=True, help="output directory")
@@ -29,7 +29,7 @@
      cmd_parser.add_argument("--hash-prefix", default=8, type=int, help="hash prefix length")
      cmd_parser.add_argument("--mpy-cross", default=None, help="optional path to mpy-cross binary")
      cmd_parser.add_argument("--micropython", default=None, help="path to micropython repo")
-@@ -447,7 +451,7 @@ def main():
+@@ -455,7 +459,7 @@ def main():
          sys.path.append(os.path.join(args.micropython, "tools"))  # for manifestfile
          sys.path.append(os.path.join(args.micropython, "mpy-cross"))  # for mpy_cross