diff options
| author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-06-30 09:17:32 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-07-03 18:07:12 -0700 |
| commit | 82a485c6114464ed2d3b4ff20074b657bf64c380 (patch) | |
| tree | 22f4d085ccc9b7084886a3632f648ff041eb48ae /meta-python/recipes-devtools/python/python3-u-msgpack-python_2.6.0.bb | |
| parent | a77cafb0f7947d014832b43eb20cb9c3d4b00f91 (diff) | |
| download | meta-openembedded-82a485c6114464ed2d3b4ff20074b657bf64c380.tar.gz | |
python3-u-msgpack-python: 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-u-msgpack-python_2.6.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-u-msgpack-python_2.6.0.bb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.6.0.bb b/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.6.0.bb index 6d2e0e0c32..f3f321e184 100644 --- a/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.6.0.bb | |||
| @@ -5,7 +5,19 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb4691bcb66360acee473a8cf75f594" | |||
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "754edb07eaee39a9686a99823892e3a1be4e0948d9cc5c717946750c27643c9c" | 6 | SRC_URI[sha256sum] = "754edb07eaee39a9686a99823892e3a1be4e0948d9cc5c717946750c27643c9c" |
| 7 | 7 | ||
| 8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 ptest |
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | |||
| 14 | RDEPENDS_${PN}-ptest += " \ | ||
| 15 | ${PYTHON_PN}-pytest \ | ||
| 16 | " | ||
| 17 | |||
| 18 | do_install_ptest() { | ||
| 19 | cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/ | ||
| 20 | } | ||
| 9 | 21 | ||
| 10 | RDEPENDS_${PN} += " \ | 22 | RDEPENDS_${PN} += " \ |
| 11 | ${PYTHON_PN}-datetime \ | 23 | ${PYTHON_PN}-datetime \ |
