diff options
| author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-07-01 17:53:10 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-07-06 10:19:23 -0700 |
| commit | 49051c7d4ca2db31771d629f85a0a2e130dd3aad (patch) | |
| tree | e31514c51c6df7a11a494b0f97552e7da6c59ea4 /meta-python/recipes-devtools/python/python3-wcwidth_0.2.5.bb | |
| parent | 38c91f632d8d82965ef1cf5d65cf2d04baa410d0 (diff) | |
| download | meta-openembedded-49051c7d4ca2db31771d629f85a0a2e130dd3aad.tar.gz | |
python3-wcwidth: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-wcwidth_0.2.5.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-wcwidth_0.2.5.bb | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-wcwidth_0.2.5.bb b/meta-python/recipes-devtools/python/python3-wcwidth_0.2.5.bb index 710b35913e..bb4aae2e86 100644 --- a/meta-python/recipes-devtools/python/python3-wcwidth_0.2.5.bb +++ b/meta-python/recipes-devtools/python/python3-wcwidth_0.2.5.bb | |||
| @@ -7,6 +7,19 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b15979c39a2543892fca8cd86b4b52cb" | |||
| 7 | SRC_URI[md5sum] = "a07a75f99d316e14838ac760c831ea37" | 7 | SRC_URI[md5sum] = "a07a75f99d316e14838ac760c831ea37" |
| 8 | SRC_URI[sha256sum] = "c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83" | 8 | SRC_URI[sha256sum] = "c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83" |
| 9 | 9 | ||
| 10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 ptest |
| 11 | |||
| 12 | SRC_URI += " \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS_${PN}-ptest += " \ | ||
| 17 | ${PYTHON_PN}-pytest \ | ||
| 18 | " | ||
| 19 | |||
| 20 | do_install_ptest() { | ||
| 21 | install -d ${D}${PTEST_PATH}/tests | ||
| 22 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 23 | } | ||
| 11 | 24 | ||
| 12 | BBCLASSEXTEND = "native nativesdk" | 25 | BBCLASSEXTEND = "native nativesdk" |
