diff options
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-msgpack/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb | 18 |
2 files changed, 3 insertions, 18 deletions
diff --git a/meta-python/recipes-devtools/python/python3-msgpack/run-ptest b/meta-python/recipes-devtools/python/python3-msgpack/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-msgpack/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb b/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb index eb04dc2e0f..cf755517e7 100644 --- a/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb | |||
@@ -2,7 +2,9 @@ SUMMARY = "MessagePack (de)serializer" | |||
2 | LICENSE = "Apache-2.0" | 2 | LICENSE = "Apache-2.0" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" |
4 | 4 | ||
5 | inherit pypi python_setuptools_build_meta ptest | 5 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
6 | |||
7 | PTEST_PYTEST_DIR = "test" | ||
6 | 8 | ||
7 | SRC_URI[sha256sum] = "dd432ccc2c72b914e4cb77afce64aab761c1137cc698be3984eee260bcb2896e" | 9 | SRC_URI[sha256sum] = "dd432ccc2c72b914e4cb77afce64aab761c1137cc698be3984eee260bcb2896e" |
8 | 10 | ||
@@ -11,17 +13,3 @@ RDEPENDS:${PN}:class-target += "\ | |||
11 | " | 13 | " |
12 | 14 | ||
13 | BBCLASSEXTEND = "native nativesdk" | 15 | BBCLASSEXTEND = "native nativesdk" |
14 | |||
15 | SRC_URI += " \ | ||
16 | file://run-ptest \ | ||
17 | " | ||
18 | |||
19 | RDEPENDS:${PN}-ptest += " \ | ||
20 | python3-pytest \ | ||
21 | python3-unittest-automake-output \ | ||
22 | " | ||
23 | |||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/test | ||
26 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
27 | } | ||