summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-path_16.9.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-12-14 16:59:02 +0800
committerKhem Raj <raj.khem@gmail.com>2023-12-14 07:53:24 -0800
commit5958fdd6f51905c8d6431e1994215033ca56ee16 (patch)
treec8ee31f4c6349d1abd13b226b98afaa255d8b2cb /meta-python/recipes-devtools/python/python3-path_16.9.0.bb
parent36df077879a3116ca1fbf9a16fab2b0b4f2c5346 (diff)
downloadmeta-openembedded-5958fdd6f51905c8d6431e1994215033ca56ee16.tar.gz
python3-path: upgrade 16.7.1 -> 16.9.0
Changelog: ========== -Added .iterdir() and deprecated .listdir(). -Use '.' as the default path. 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.9.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-path_16.9.0.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-path_16.9.0.bb b/meta-python/recipes-devtools/python/python3-path_16.9.0.bb
new file mode 100644
index 0000000000..19bf11b6c8
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-path_16.9.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] = "dfd31c2af60e8889a13538bef302ade7adacdb5351836be22638e2349ddd5d7b"
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}