summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-path_17.1.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-path_17.1.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-path_17.1.1.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-path_17.1.1.bb b/meta-python/recipes-devtools/python/python3-path_17.1.1.bb
new file mode 100644
index 0000000000..be150f3dbb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-path_17.1.1.bb
@@ -0,0 +1,38 @@
1SUMMARY = "A module wrapper for os.path"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=1aeae65f25a15b1e46d4381f2f094e0a"
4
5SRC_URI[sha256sum] = "2dfcbfec8b4d960f3469c52acf133113c2a8bf12ac7b98d629fa91af87248d42"
6
7SRC_URI += "\
8 file://run-ptest \
9"
10
11inherit pypi python_setuptools_build_meta ptest
12
13DEPENDS += " \
14 python3-setuptools-scm-native \
15 python3-coherent-licensed-native \
16"
17
18RDEPENDS:${PN} += " \
19 python3-appdirs \
20 python3-crypt \
21 python3-io \
22 python3-numbers \
23 python3-shell \
24"
25RDEPENDS:${PN}-ptest += " \
26 python3-pytest \
27 python3-unittest-automake-output \
28 python3-more-itertools \
29"
30
31BBCLASSEXTEND = "nativesdk native"
32
33do_install_ptest() {
34 install -d ${D}${PTEST_PATH}/test
35 cp -rf ${S}/tests/test_* ${D}${PTEST_PATH}/test/
36 install -d ${D}${PTEST_PATH}/path
37 cp -rf ${S}/path/* ${D}${PTEST_PATH}/path/
38}