diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-30 21:57:32 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-30 14:15:36 -0800 |
| commit | c43e6a0dbac32f66a2b9d4f45faa077d4ac97417 (patch) | |
| tree | d334e184c8e0ccaee9331d380f201c9c09a81500 /meta-python | |
| parent | 8aae0a1ec5a57b3c667d6467d727aa68c4d88226 (diff) | |
| download | meta-openembedded-c43e6a0dbac32f66a2b9d4f45faa077d4ac97417.tar.gz | |
python3-flexparser: 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')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-flexparser/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-flexparser_0.4.bb | 16 |
2 files changed, 2 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python3-flexparser/run-ptest b/meta-python/recipes-devtools/python/python3-flexparser/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-flexparser/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb b/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb index ef8cbe5a54..c3d8fe28ac 100644 --- a/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb +++ b/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb | |||
| @@ -6,23 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144" | |||
| 6 | DEPENDS += "python3-setuptools-scm-native" | 6 | DEPENDS += "python3-setuptools-scm-native" |
| 7 | SRC_URI[sha256sum] = "266d98905595be2ccc5da964fe0a2c3526fbbffdc45b65b3146d75db992ef6b2" | 7 | SRC_URI[sha256sum] = "266d98905595be2ccc5da964fe0a2c3526fbbffdc45b65b3146d75db992ef6b2" |
| 8 | 8 | ||
| 9 | inherit pypi python_setuptools_build_meta ptest | 9 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
| 10 | 10 | ||
| 11 | PYPI_PACKAGE = "flexparser" | 11 | PYPI_PACKAGE = "flexparser" |
| 12 | 12 | ||
| 13 | SRC_URI += " \ | 13 | PTEST_PYTEST_DIR = "flexparser/testsuite" |
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | |||
| 17 | RDEPENDS:${PN}-ptest += " \ | ||
| 18 | python3-pytest \ | ||
| 19 | python3-unittest-automake-output \ | ||
| 20 | " | ||
| 21 | |||
| 22 | do_install_ptest() { | ||
| 23 | install -d ${D}${PTEST_PATH}/testsuite | ||
| 24 | cp -rf ${S}/flexparser/testsuite/* ${D}${PTEST_PATH}/testsuite/ | ||
| 25 | } | ||
| 26 | 14 | ||
| 27 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
| 28 | python3-compression \ | 16 | python3-compression \ |
