mirror of
https://github.com/openwrt/packages.git
synced 2025-12-13 22:21:20 +00:00
micropython-lib: update to 1.24.0
* update micropython-lib to hash for 1.24.0
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 8ec794998f)
This commit is contained in:
committed by
Tianling Shen
parent
0c20a9e187
commit
cf7048f2b7
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user