summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-msgpack/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb18
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
3pytest --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"
2LICENSE = "Apache-2.0" 2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" 3LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751"
4 4
5inherit pypi python_setuptools_build_meta ptest 5inherit pypi python_setuptools_build_meta ptest-python-pytest
6
7PTEST_PYTEST_DIR = "test"
6 8
7SRC_URI[sha256sum] = "dd432ccc2c72b914e4cb77afce64aab761c1137cc698be3984eee260bcb2896e" 9SRC_URI[sha256sum] = "dd432ccc2c72b914e4cb77afce64aab761c1137cc698be3984eee260bcb2896e"
8 10
@@ -11,17 +13,3 @@ RDEPENDS:${PN}:class-target += "\
11" 13"
12 14
13BBCLASSEXTEND = "native nativesdk" 15BBCLASSEXTEND = "native nativesdk"
14
15SRC_URI += " \
16 file://run-ptest \
17"
18
19RDEPENDS:${PN}-ptest += " \
20 python3-pytest \
21 python3-unittest-automake-output \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/test
26 cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
27}