diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-30 21:57:26 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-30 14:15:35 -0800 |
| commit | 97db0edb4ba6ca9f7a419d23a63b166763b0f07e (patch) | |
| tree | 02b5a5cc29b553220bd49bdc74d910bfc206d85f | |
| parent | 52650f4003128d15742177a4a88f67e229752bf4 (diff) | |
| download | meta-openembedded-97db0edb4ba6ca9f7a419d23a63b166763b0f07e.tar.gz | |
python3-ipy: 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>
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-ipy/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-ipy_1.01.bb | 16 |
2 files changed, 2 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ipy/run-ptest b/meta-python/recipes-devtools/python/python3-ipy/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-ipy/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb index 817d04444e..6a35e12ffe 100644 --- a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb +++ b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb | |||
| @@ -11,21 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6" | |||
| 11 | 11 | ||
| 12 | SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a" | 12 | SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a" |
| 13 | 13 | ||
| 14 | inherit pypi setuptools3_legacy ptest | 14 | inherit pypi setuptools3_legacy ptest-python-pytest |
| 15 | 15 | ||
| 16 | SRC_URI += " \ | 16 | PTEST_PYTEST_DIR = "test" |
| 17 | file://run-ptest \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS:${PN}-ptest += " \ | ||
| 21 | python3-pytest \ | ||
| 22 | python3-unittest-automake-output \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_install_ptest() { | ||
| 26 | install -d ${D}${PTEST_PATH}/test/ | ||
| 27 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test | ||
| 28 | } | ||
| 29 | 17 | ||
| 30 | PYPI_PACKAGE = "IPy" | 18 | PYPI_PACKAGE = "IPy" |
| 31 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | 19 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
