summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-path_16.14.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-04-17 09:40:41 +0800
committerKhem Raj <raj.khem@gmail.com>2024-04-17 23:47:26 -0700
commitde060994201ab38103e527d195d41fac07d2ae8d (patch)
tree68001112c29a12495910a6056c286163f4e225cd /meta-python/recipes-devtools/python/python3-path_16.14.0.bb
parent8607271e63642ffac9f09b9dda0af16d1ec0cd8e (diff)
downloadmeta-openembedded-de060994201ab38103e527d195d41fac07d2ae8d.tar.gz
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 <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-path_16.14.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-path_16.14.0.bb34
1 files changed, 34 insertions, 0 deletions
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 @@
1SUMMARY = "A module wrapper for os.path"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f"
4
5SRC_URI[sha256sum] = "dbaaa7efd4602fd6ba8d82890dc7823d69e5de740a6e842d9919b0faaf2b6a8e"
6
7SRC_URI += "\
8 file://run-ptest \
9"
10
11inherit pypi python_setuptools_build_meta ptest
12
13DEPENDS += "python3-setuptools-scm-native"
14
15RDEPENDS:${PN} += " \
16 python3-appdirs \
17 python3-crypt \
18 python3-io \
19 python3-numbers \
20 python3-shell \
21"
22RDEPENDS:${PN}-ptest += " \
23 python3-pytest \
24 python3-unittest-automake-output \
25"
26
27BBCLASSEXTEND = "nativesdk native"
28
29do_install_ptest() {
30 install -d ${D}${PTEST_PATH}/test
31 cp -rf ${S}/test_* ${D}${PTEST_PATH}/test/
32 install -d ${D}${PTEST_PATH}/path
33 cp -rf ${S}/path/* ${D}${PTEST_PATH}/path/
34}