diff options
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb | 15 |
2 files changed, 1 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest b/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb index 225da562c4..0ef2eaa1da 100644 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb | |||
@@ -12,22 +12,9 @@ SRC_URI[sha256sum] = "c28e2dbf9c06ad61c71a075c7e0f9fd0f1b0bb2d2ad4377f240d33ac2a | |||
12 | PYPI_PACKAGE = "pyasn1_modules" | 12 | PYPI_PACKAGE = "pyasn1_modules" |
13 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | 13 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
14 | 14 | ||
15 | inherit pypi ptest python_setuptools_build_meta | 15 | inherit pypi ptest-python-pytest python_setuptools_build_meta |
16 | 16 | ||
17 | RDEPENDS:${PN} = "python3-pyasn1" | 17 | RDEPENDS:${PN} = "python3-pyasn1" |
18 | 18 | ||
19 | BBCLASSEXTEND = "native nativesdk" | 19 | BBCLASSEXTEND = "native nativesdk" |
20 | 20 | ||
21 | SRC_URI += " \ | ||
22 | file://run-ptest \ | ||
23 | " | ||
24 | |||
25 | RDEPENDS:${PN}-ptest += " \ | ||
26 | python3-pytest \ | ||
27 | python3-unittest-automake-output \ | ||
28 | " | ||
29 | |||
30 | do_install_ptest() { | ||
31 | install -d ${D}${PTEST_PATH}/tests | ||
32 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
33 | } | ||