From 145d1f7de0279d9432fde9080d56fc11c3847153 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 17 Apr 2024 09:40:41 +0800 Subject: python3-path: upgrade 16.10.0 -> 16.14.0 Changelog: ============ -Add .symlink_to and .hardlink_to. -Add .cwd method and deprecated .getcwd. -Create 'absolute' method and deprecate 'abspath'. -In readlink, prefer the display path to the substitute path. -Restore functionality in .isdir and .isfile. -Added .is_dir and .is_file for parity with pathlib. Deprecates .isdir and .isfile. -Inlined some types. -Fix iterdir - it also accepts match. -Add type annotation for iterdir. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-path_16.10.0.bb | 34 ---------------------- .../python/python3-path_16.14.0.bb | 34 ++++++++++++++++++++++ 2 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-path_16.10.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-path_16.14.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-path_16.10.0.bb b/meta-python/recipes-devtools/python/python3-path_16.10.0.bb deleted file mode 100644 index f95fce3b08..0000000000 --- a/meta-python/recipes-devtools/python/python3-path_16.10.0.bb +++ /dev/null @@ -1,34 +0,0 @@ -SUMMARY = "A module wrapper for os.path" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f" - -SRC_URI[sha256sum] = "b32b22b76fe810a8ded6d136268cc8b6698ae7c47c29b94a9ea12623f3051e46" - -SRC_URI += "\ - file://run-ptest \ -" - -inherit pypi python_setuptools_build_meta ptest - -DEPENDS += "python3-setuptools-scm-native" - -RDEPENDS:${PN} += " \ - python3-appdirs \ - python3-crypt \ - python3-io \ - python3-numbers \ - python3-shell \ -" -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -BBCLASSEXTEND = "nativesdk native" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test_* ${D}${PTEST_PATH}/test/ - install -d ${D}${PTEST_PATH}/path - cp -rf ${S}/path/* ${D}${PTEST_PATH}/path/ -} diff --git a/meta-python/recipes-devtools/python/python3-path_16.14.0.bb b/meta-python/recipes-devtools/python/python3-path_16.14.0.bb new file mode 100644 index 0000000000..b4d290a230 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-path_16.14.0.bb @@ -0,0 +1,34 @@ +SUMMARY = "A module wrapper for os.path" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f" + +SRC_URI[sha256sum] = "dbaaa7efd4602fd6ba8d82890dc7823d69e5de740a6e842d9919b0faaf2b6a8e" + +SRC_URI += "\ + file://run-ptest \ +" + +inherit pypi python_setuptools_build_meta ptest + +DEPENDS += "python3-setuptools-scm-native" + +RDEPENDS:${PN} += " \ + python3-appdirs \ + python3-crypt \ + python3-io \ + python3-numbers \ + python3-shell \ +" +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" + +BBCLASSEXTEND = "nativesdk native" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test_* ${D}${PTEST_PATH}/test/ + install -d ${D}${PTEST_PATH}/path + cp -rf ${S}/path/* ${D}${PTEST_PATH}/path/ +} -- cgit v1.2.3-54-g00ecf