From: Glenn Strauss Date: Mon, 18 Nov 2024 04:56:46 +0000 (-0500) Subject: micropython-lib: update to 1.24.0 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8ec794998f4de6468c88808ca3260b70bc791965;p=feed%2Fpackages.git micropython-lib: update to 1.24.0 * update micropython-lib to hash for 1.24.0 Signed-off-by: Glenn Strauss --- diff --git a/lang/python/micropython-lib/Makefile b/lang/python/micropython-lib/Makefile index fd9b31594b..9fe51933bf 100644 --- a/lang/python/micropython-lib/Makefile +++ b/lang/python/micropython-lib/Makefile @@ -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 PKG_LICENSE:=MIT Python-2.0.1 diff --git a/lang/python/micropython-lib/patches/001-build-unix-ffi.patch b/lang/python/micropython-lib/patches/001-build-unix-ffi.patch index c45190c896..fa31be625b 100644 --- a/lang/python/micropython-lib/patches/001-build-unix-ffi.patch +++ b/lang/python/micropython-lib/patches/001-build-unix-ffi.patch @@ -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