diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-parse_1.16.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-parse_1.16.0.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.16.0.bb b/meta-python/recipes-devtools/python/python3-parse_1.16.0.bb new file mode 100644 index 0000000000..a1e9452767 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-parse_1.16.0.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 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[md5sum] = "ba263b3143e9528ae960bbba4d56bf25" | ||
| 7 | SRC_URI[sha256sum] = "cd89e57aed38dcf3e0ff8253f53121a3b23e6181758993323658bffc048a5c19" | ||
| 8 | |||
| 9 | inherit pypi setuptools3 ptest | ||
| 10 | |||
| 11 | RDEPENDS_${PN} += "\ | ||
| 12 | ${PYTHON_PN}-datetime \ | ||
| 13 | ${PYTHON_PN}-logging \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI += " \ | ||
| 17 | file://run-ptest \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS_${PN}-ptest += " \ | ||
| 21 | ${PYTHON_PN}-pytest \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_install_ptest() { | ||
| 25 | cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/ | ||
| 26 | } | ||
