summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-parse_1.20.2.bb
diff options
context:
space:
mode:
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.bb27
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 @@
1SUMMARY = "Parse strings using a specification based on the Python format() syntax"
2HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05"
5
6SRC_URI[sha256sum] = "b41d604d16503c79d81af5165155c0b20f6c8d6c559efa66b4b695c3e5a0a0ce"
7
8SRC_URI += " \
9 file://run-ptest \
10"
11
12inherit pypi python_setuptools_build_meta ptest
13
14RDEPENDS:${PN} += "\
15 python3-datetime \
16 python3-logging \
17 python3-numbers \
18"
19
20RDEPENDS:${PN}-ptest += " \
21 python3-pytest \
22 python3-unittest-automake-output \
23"
24
25do_install_ptest() {
26 cp -f ${S}/tests/test*.py ${D}${PTEST_PATH}/
27}