diff options
Diffstat (limited to 'external/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc')
-rw-r--r-- | external/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc index fa55a93c..ecfd6717 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc @@ -1,14 +1,26 @@ SUMMARY = "Parse strings using a specification based on the Python format() syntax" HOMEPAGE = "https://github.com/r1chardj0n3s/parse" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://parse.py;beginline=1273;endline=1291;md5=5147afdd9b3615290ad8733f0137a1a1" +LIC_FILES_CHKSUM = "file://parse.py;beginline=1325;endline=1345;md5=3d987b2e73881bbce768a80f9cdd23d9" -SRC_URI[md5sum] = "fa69ab2fe846f9b183411391f7c6897b" -SRC_URI[sha256sum] = "c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939" +SRC_URI[md5sum] = "a5aa82b2b8b4d733d227e3c99d7d01b4" +SRC_URI[sha256sum] = "a6d4e2c2f1fbde6717d28084a191a052950f758c0cbd83805357e6575c2b95c0" -inherit pypi +inherit pypi ptest RDEPENDS_${PN} += "\ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-logging \ " + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/ +} |