diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-yappi/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb | 8 |
2 files changed, 3 insertions, 8 deletions
diff --git a/meta-python/recipes-devtools/python/python3-yappi/run-ptest b/meta-python/recipes-devtools/python/python3-yappi/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-yappi/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb b/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb index c87d5aca61..bced340b94 100644 --- a/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb +++ b/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb | |||
| @@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" | |||
| 6 | 6 | ||
| 7 | SRC_URI[sha256sum] = "463b822727658937bd95a7d80ca9758605b8cd0014e004e9e520ec9cb4db0c92" | 7 | SRC_URI[sha256sum] = "463b822727658937bd95a7d80ca9758605b8cd0014e004e9e520ec9cb4db0c92" |
| 8 | 8 | ||
| 9 | SRC_URI += "file://run-ptest \ | 9 | SRC_URI += " \ |
| 10 | file://0001-test_functionality-convert-line-endings-to-Unix.patch \ | 10 | file://0001-test_functionality-convert-line-endings-to-Unix.patch \ |
| 11 | file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \ | 11 | file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | inherit pypi python_setuptools_build_meta ptest | 14 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
| 15 | 15 | ||
| 16 | RDEPENDS:${PN} += "\ | 16 | RDEPENDS:${PN} += "\ |
| 17 | python3-datetime \ | 17 | python3-datetime \ |
| @@ -28,9 +28,7 @@ RDEPENDS:${PN}-ptest += " \ | |||
| 28 | python3-zopeinterface \ | 28 | python3-zopeinterface \ |
| 29 | " | 29 | " |
| 30 | 30 | ||
| 31 | do_install_ptest() { | 31 | do_install_ptest:append() { |
| 32 | install -d ${D}${PTEST_PATH}/tests | ||
| 33 | cp -rf ${S}/tests ${D}${PTEST_PATH} | ||
| 34 | cp -f ${S}/run_tests.py ${D}${PTEST_PATH} | 32 | cp -f ${S}/run_tests.py ${D}${PTEST_PATH} |
| 35 | } | 33 | } |
| 36 | 34 | ||
