mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
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>
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest --automake
|
|
||||||
@@ -11,21 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6"
|
|||||||
|
|
||||||
SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a"
|
SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a"
|
||||||
|
|
||||||
inherit pypi setuptools3_legacy ptest
|
inherit pypi setuptools3_legacy ptest-python-pytest
|
||||||
|
|
||||||
SRC_URI += " \
|
PTEST_PYTEST_DIR = "test"
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest += " \
|
|
||||||
python3-pytest \
|
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/test/
|
|
||||||
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test
|
|
||||||
}
|
|
||||||
|
|
||||||
PYPI_PACKAGE = "IPy"
|
PYPI_PACKAGE = "IPy"
|
||||||
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
|
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
|
||||||
|
|||||||
Reference in New Issue
Block a user