summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-parse_1.21.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-parse_1.21.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-parse_1.21.1.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.21.1.bb b/meta-python/recipes-devtools/python/python3-parse_1.21.1.bb
new file mode 100644
index 0000000000..3af0c0e27e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-parse_1.21.1.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] = "825e1a88e9d9fb481b8d2ca709c6195558b6eaa97c559ad3a9a20aa2d12815a3"
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}