diff options
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-cbor2/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb | 12 |
2 files changed, 1 insertions, 14 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest b/meta-python/recipes-devtools/python/python3-cbor2/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb index 6dd9f0cd15..834bad6865 100644 --- a/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb +++ b/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb | |||
@@ -4,21 +4,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" | |||
4 | DEPENDS += "python3-setuptools-scm-native" | 4 | DEPENDS += "python3-setuptools-scm-native" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09" | 6 | SRC_URI[sha256sum] = "b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09" |
7 | SRC_URI += " \ | ||
8 | file://run-ptest \ | ||
9 | " | ||
10 | |||
11 | inherit pypi python_setuptools_build_meta ptest | ||
12 | 7 | ||
13 | do_install_ptest() { | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
14 | install -d ${D}${PTEST_PATH}/tests | ||
15 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
16 | } | ||
17 | 9 | ||
18 | RDEPENDS:${PN}-ptest += " \ | 10 | RDEPENDS:${PN}-ptest += " \ |
19 | python3-hypothesis \ | 11 | python3-hypothesis \ |
20 | python3-pytest \ | ||
21 | python3-unittest-automake-output \ | ||
22 | python3-unixadmin \ | 12 | python3-unixadmin \ |
23 | " | 13 | " |
24 | RDEPENDS:${PN} += " \ | 14 | RDEPENDS:${PN} += " \ |