mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
python3-wrapt: 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
|
|
||||||
@@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7"
|
|||||||
|
|
||||||
SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d"
|
SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d"
|
||||||
|
|
||||||
inherit setuptools3 ptest
|
inherit setuptools3 ptest-python-pytest
|
||||||
|
|
||||||
SRCREV = "e663d4910a81d666786ac773ad7c16199b01d31b"
|
SRCREV = "e663d4910a81d666786ac773ad7c16199b01d31b"
|
||||||
SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=develop \
|
SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=develop \
|
||||||
file://run-ptest \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
@@ -18,15 +17,8 @@ S = "${WORKDIR}/git"
|
|||||||
# python3-misc for 'this' module
|
# python3-misc for 'this' module
|
||||||
RDEPENDS:${PN}-ptest += " \
|
RDEPENDS:${PN}-ptest += " \
|
||||||
python3-misc \
|
python3-misc \
|
||||||
python3-pytest \
|
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
|
||||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
||||||
}
|
|
||||||
|
|
||||||
RDEPENDS:${PN}:class-target += "\
|
RDEPENDS:${PN}:class-target += "\
|
||||||
python3-stringold \
|
python3-stringold \
|
||||||
python3-threading \
|
python3-threading \
|
||||||
|
|||||||
Reference in New Issue
Block a user