diff options
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-requests-file/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb | 16 |
2 files changed, 1 insertions, 18 deletions
diff --git a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest b/meta-python/recipes-devtools/python/python3-requests-file/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb index 670a36a64c..6e20a10f42 100644 --- a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb | |||
| @@ -8,24 +8,10 @@ SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d98673 | |||
| 8 | PYPI_PACKAGE = "requests_file" | 8 | PYPI_PACKAGE = "requests_file" |
| 9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | 9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
| 10 | 10 | ||
| 11 | inherit pypi python_setuptools_build_meta ptest | 11 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
| 12 | |||
| 13 | SRC_URI += " \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | 12 | ||
| 17 | DEPENDS += "python3-setuptools-scm-native" | 13 | DEPENDS += "python3-setuptools-scm-native" |
| 18 | 14 | ||
| 19 | RDEPENDS:${PN}-ptest += " \ | ||
| 20 | python3-pytest \ | ||
| 21 | python3-unittest-automake-output \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_install_ptest() { | ||
| 25 | install -d ${D}${PTEST_PATH}/tests | ||
| 26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 27 | } | ||
| 28 | |||
| 29 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
| 30 | python3-requests \ | 16 | python3-requests \ |
| 31 | " | 17 | " |
