diff options
author | Derek Straka <derek@asterius.io> | 2025-01-10 22:31:32 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-10 16:53:47 -0800 |
commit | b30ddc2259a07e1a1d753ed569fced59a09603c5 (patch) | |
tree | 1731852000316df148fe24349fa3b809b9a0d887 /meta-python | |
parent | af70edb33aa1d31afea32231cd7802d83e2f868f (diff) | |
download | meta-openembedded-b30ddc2259a07e1a1d753ed569fced59a09603c5.tar.gz |
python3-smpplib: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-smpplib/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb | 11 |
2 files changed, 2 insertions, 12 deletions
diff --git a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest b/meta-python/recipes-devtools/python/python3-smpplib/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb index 7979f04c5b..2fdd2a4634 100644 --- a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb +++ b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb | |||
@@ -6,11 +6,7 @@ LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852" | |||
6 | PYPI_PACKAGE = "smpplib" | 6 | PYPI_PACKAGE = "smpplib" |
7 | SRC_URI[sha256sum] = "5215a95b0538d26f189600e0982b31da8281f7453cd6e2862c5b21e3e1002331" | 7 | SRC_URI[sha256sum] = "5215a95b0538d26f189600e0982b31da8281f7453cd6e2862c5b21e3e1002331" |
8 | 8 | ||
9 | inherit pypi setuptools3 ptest | 9 | inherit pypi setuptools3 ptest-python-pytest |
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | 10 | ||
15 | RDEPENDS:${PN} += " \ | 11 | RDEPENDS:${PN} += " \ |
16 | python3-logging \ | 12 | python3-logging \ |
@@ -20,12 +16,9 @@ RDEPENDS:${PN} += " \ | |||
20 | RDEPENDS:${PN}-ptest += " \ | 16 | RDEPENDS:${PN}-ptest += " \ |
21 | python3-mock \ | 17 | python3-mock \ |
22 | python3-profile \ | 18 | python3-profile \ |
23 | python3-pytest \ | ||
24 | python3-unittest \ | ||
25 | python3-unittest-automake-output \ | ||
26 | " | 19 | " |
27 | 20 | ||
28 | do_install_ptest() { | 21 | do_install_ptest:append() { |
29 | install -d ${D}${PTEST_PATH}/tests | 22 | install -d ${D}${PTEST_PATH}/tests |
30 | cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/ | 23 | cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/ |
31 | } | 24 | } |