diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-parse_1.20.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-parse_1.20.1.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.20.1.bb b/meta-python/recipes-devtools/python/python3-parse_1.20.1.bb new file mode 100644 index 0000000000..610a966d40 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-parse_1.20.1.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[sha256sum] = "09002ca350ad42e76629995f71f7b518670bcf93548bdde3684fd55d2be51975" | ||
| 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 | " | ||
| 23 | |||
| 24 | do_install_ptest() { | ||
| 25 | cp -f ${S}/tests/test*.py ${D}${PTEST_PATH}/ | ||
| 26 | } | ||
