diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-31 01:39:28 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-30 18:23:32 -0800 |
| commit | 96c9661005a3bf27a2efb949f2813b86a9461454 (patch) | |
| tree | 28fd549ef5148aa963b547c24ebb3d9f9102dee9 /meta-python/recipes-devtools | |
| parent | ac5c6a157cd0ea8a7464fade1d360d13de64b554 (diff) | |
| download | meta-openembedded-96c9661005a3bf27a2efb949f2813b86a9461454.tar.gz | |
python3-aspectlib: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-aspectlib/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb | 12 |
2 files changed, 1 insertions, 14 deletions
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest b/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb index 1341513289..854a14441c 100644 --- a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb | |||
| @@ -10,21 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76" | |||
| 10 | 10 | ||
| 11 | SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92" | 11 | SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92" |
| 12 | 12 | ||
| 13 | inherit ptest pypi setuptools3 | 13 | inherit ptest-python-pytest pypi setuptools3 |
| 14 | |||
| 15 | SRC_URI += "file://run-ptest \ | ||
| 16 | " | ||
| 17 | |||
| 18 | do_install_ptest() { | ||
| 19 | install -d ${D}${PTEST_PATH}/tests | ||
| 20 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 21 | } | ||
| 22 | 14 | ||
| 23 | RDEPENDS:${PN}-ptest += "\ | 15 | RDEPENDS:${PN}-ptest += "\ |
| 24 | python3-process-tests \ | 16 | python3-process-tests \ |
| 25 | python3-pytest \ | ||
| 26 | python3-tornado \ | 17 | python3-tornado \ |
| 27 | python3-unittest-automake-output \ | ||
| 28 | " | 18 | " |
| 29 | 19 | ||
| 30 | RDEPENDS:${PN} += " \ | 20 | RDEPENDS:${PN} += " \ |
