diff options
Diffstat (limited to 'meta-python/recipes-devtools')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb index b5d9b2057b..4c5efa1853 100644 --- a/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb +++ b/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb | |||
| @@ -4,22 +4,21 @@ LICENSE = "MIT" | |||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2e469278ace89c246d52505acc39c3da" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2e469278ace89c246d52505acc39c3da" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "79b1f2497060d0928bc46016793f1fca1057c4aacdf15ef876aa48d75a73a355" | 6 | SRC_URI[sha256sum] = "79b1f2497060d0928bc46016793f1fca1057c4aacdf15ef876aa48d75a73a355" |
| 7 | SRC_URI += " \ | ||
| 8 | file://run-ptest \ | ||
| 9 | " | ||
| 7 | 10 | ||
| 8 | PYPI_PACKAGE = "parse_type" | 11 | PYPI_PACKAGE = "parse_type" |
| 9 | inherit pypi ptest python_setuptools_build_meta | ||
| 10 | 12 | ||
| 11 | RDEPENDS:${PN} += "python3-parse" | 13 | inherit pypi ptest python_setuptools_build_meta |
| 12 | 14 | ||
| 13 | SRC_URI += " \ | 15 | do_install_ptest() { |
| 14 | file://run-ptest \ | 16 | install -d ${D}${PTEST_PATH}/tests |
| 15 | " | 17 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 18 | } | ||
| 16 | 19 | ||
| 20 | RDEPENDS:${PN} += "python3-parse" | ||
| 17 | RDEPENDS:${PN}-ptest += " \ | 21 | RDEPENDS:${PN}-ptest += " \ |
| 18 | python3-pytest \ | 22 | python3-pytest \ |
| 19 | python3-unittest-automake-output \ | 23 | python3-unittest-automake-output \ |
| 20 | " | 24 | " |
| 21 | |||
| 22 | do_install_ptest() { | ||
| 23 | install -d ${D}${PTEST_PATH}/tests | ||
| 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 25 | } | ||
