diff options
| author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-04-21 09:58:55 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-04-20 21:45:13 -0700 |
| commit | 6ca376e8118bb8f0eae26a3a9fca05b67cdc8143 (patch) | |
| tree | 8d9963a4e46e1fc2c846f295166dc8900d2c92eb /meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb | |
| parent | c96af8320a0c114f3074aaea318f027331397d27 (diff) | |
| download | meta-openembedded-6ca376e8118bb8f0eae26a3a9fca05b67cdc8143.tar.gz | |
python3-msgpack: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb b/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb index 7cfaf1c513..6d7e7a0dcd 100644 --- a/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb +++ b/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb | |||
| @@ -3,7 +3,7 @@ LICENSE = "Apache-2.0" | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" |
| 4 | 4 | ||
| 5 | PYPI_PACKAGE = "msgpack" | 5 | PYPI_PACKAGE = "msgpack" |
| 6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 ptest |
| 7 | 7 | ||
| 8 | SRC_URI[md5sum] = "ba46fdee995565f40e332bd7eea882f1" | 8 | SRC_URI[md5sum] = "ba46fdee995565f40e332bd7eea882f1" |
| 9 | SRC_URI[sha256sum] = "ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830" | 9 | SRC_URI[sha256sum] = "ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830" |
| @@ -13,3 +13,16 @@ RDEPENDS_${PN}_class-target += "\ | |||
| 13 | " | 13 | " |
| 14 | 14 | ||
| 15 | BBCLASSEXTEND = "native nativesdk" | 15 | BBCLASSEXTEND = "native nativesdk" |
| 16 | |||
| 17 | SRC_URI += " \ | ||
| 18 | file://run-ptest \ | ||
| 19 | " | ||
| 20 | |||
| 21 | RDEPENDS_${PN}-ptest += " \ | ||
| 22 | ${PYTHON_PN}-pytest \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_install_ptest() { | ||
| 26 | install -d ${D}${PTEST_PATH}/test | ||
| 27 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
| 28 | } | ||
