diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyserial_3.5.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyserial_3.5.bb | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb index ade137a385..93a81568c2 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb +++ b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb | |||
@@ -4,7 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=520e45e59fc2cf94aa53850f46b86436" | |||
4 | 4 | ||
5 | SRC_URI[sha256sum] = "3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb" | 5 | SRC_URI[sha256sum] = "3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb" |
6 | 6 | ||
7 | inherit pypi setuptools3 ptest | 7 | inherit pypi setuptools3 ptest-python-pytest |
8 | |||
9 | PTEST_PYTEST_DIR = "test" | ||
8 | 10 | ||
9 | do_install:append() { | 11 | do_install:append() { |
10 | rm -f ${D}${bindir}/pyserial-miniterm | 12 | rm -f ${D}${bindir}/pyserial-miniterm |
@@ -49,16 +51,3 @@ RDEPENDS:${PN} = "\ | |||
49 | 51 | ||
50 | BBCLASSEXTEND = "native nativesdk" | 52 | BBCLASSEXTEND = "native nativesdk" |
51 | 53 | ||
52 | SRC_URI += " \ | ||
53 | file://run-ptest \ | ||
54 | " | ||
55 | |||
56 | RDEPENDS:${PN}-ptest += " \ | ||
57 | python3-pytest \ | ||
58 | python3-unittest-automake-output \ | ||
59 | " | ||
60 | |||
61 | do_install_ptest() { | ||
62 | install -d ${D}${PTEST_PATH}/test | ||
63 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
64 | } | ||