diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-portion/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-portion_2.6.0.bb | 17 |
2 files changed, 3 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python3-portion/run-ptest b/meta-python/recipes-devtools/python/python3-portion/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-portion/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb index 31c6f07316..8bdbc032cf 100644 --- a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb | |||
| @@ -5,28 +5,17 @@ SECTION = "devel/python" | |||
| 5 | LICENSE = "LGPL-3.0-only" | 5 | LICENSE = "LGPL-3.0-only" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" |
| 7 | 7 | ||
| 8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
| 9 | 9 | ||
| 10 | SRC_URI[sha256sum] = "6fb538b57a92058f0edd360667694448aa3fc028ab97e41e3091359d14ba4dd5" | 10 | SRC_URI[sha256sum] = "6fb538b57a92058f0edd360667694448aa3fc028ab97e41e3091359d14ba4dd5" |
| 11 | 11 | ||
| 12 | SRC_URI += " \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS:${PN} += "\ | 12 | RDEPENDS:${PN} += "\ |
| 17 | python3-sortedcontainers \ | 13 | python3-sortedcontainers \ |
| 18 | " | 14 | " |
| 19 | 15 | ||
| 20 | RDEPENDS:${PN}-ptest += " \ | 16 | do_install_ptest:append () { |
| 21 | python3-pytest \ | ||
| 22 | python3-unittest-automake-output \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_install_ptest() { | ||
| 26 | install -d ${D}${PTEST_PATH}/tests | ||
| 27 | # This file tests README.md and deleted as redundant. | 17 | # This file tests README.md and deleted as redundant. |
| 28 | rm -f ${S}/tests/test_doc.py | 18 | rm -f ${D}/tests/test_doc.py |
| 29 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 30 | } | 19 | } |
| 31 | 20 | ||
| 32 | BBCLASSEXTEND = "native" | 21 | BBCLASSEXTEND = "native" |
