diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-parse_1.20.2.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-parse_1.20.2.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.20.2.bb b/meta-python/recipes-devtools/python/python3-parse_1.20.2.bb new file mode 100644 index 0000000000..6e7139bfbe --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-parse_1.20.2.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Parse strings using a specification based on the Python format() syntax" | ||
2 | HOMEPAGE = "https://github.com/r1chardj0n3s/parse" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05" | ||
5 | |||
6 | SRC_URI[sha256sum] = "b41d604d16503c79d81af5165155c0b20f6c8d6c559efa66b4b695c3e5a0a0ce" | ||
7 | |||
8 | SRC_URI += " \ | ||
9 | file://run-ptest \ | ||
10 | " | ||
11 | |||
12 | inherit pypi python_setuptools_build_meta ptest | ||
13 | |||
14 | RDEPENDS:${PN} += "\ | ||
15 | python3-datetime \ | ||
16 | python3-logging \ | ||
17 | python3-numbers \ | ||
18 | " | ||
19 | |||
20 | RDEPENDS:${PN}-ptest += " \ | ||
21 | python3-pytest \ | ||
22 | python3-unittest-automake-output \ | ||
23 | " | ||
24 | |||
25 | do_install_ptest() { | ||
26 | cp -f ${S}/tests/test*.py ${D}${PTEST_PATH}/ | ||
27 | } | ||