diff options
author | Derek Straka <derek@asterius.io> | 2025-01-31 01:39:33 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-30 18:23:33 -0800 |
commit | dc2c31482664a2ee75923c7dfa5198833a22bb1f (patch) | |
tree | 27ba99f7ac567ef01bfcd319b7565bf4d55d0ef8 /meta-python | |
parent | 217c9d3d1df4dbcc7d97dcb95257076300934a1e (diff) | |
download | meta-openembedded-dc2c31482664a2ee75923c7dfa5198833a22bb1f.tar.gz |
python3-inotify: 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-inotify/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-inotify_git.bb | 13 |
2 files changed, 1 insertions, 15 deletions
diff --git a/meta-python/recipes-devtools/python/python3-inotify/run-ptest b/meta-python/recipes-devtools/python/python3-inotify/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-inotify/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-inotify_git.bb b/meta-python/recipes-devtools/python/python3-inotify_git.bb index 582599bca8..f7df716654 100644 --- a/meta-python/recipes-devtools/python/python3-inotify_git.bb +++ b/meta-python/recipes-devtools/python/python3-inotify_git.bb | |||
@@ -8,26 +8,15 @@ SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6 | |||
8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
9 | git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \ | 9 | git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \ |
10 | file://new-test-inotify.patch \ | 10 | file://new-test-inotify.patch \ |
11 | file://run-ptest \ | ||
12 | " | 11 | " |
13 | 12 | ||
14 | SRCREV = "9be6a51d1660991562eefaaddefa757ca0e0e00f" | 13 | SRCREV = "9be6a51d1660991562eefaaddefa757ca0e0e00f" |
15 | 14 | ||
16 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
17 | 16 | ||
18 | inherit setuptools3 ptest | 17 | inherit setuptools3 ptest-python-pytest |
19 | 18 | ||
20 | RDEPENDS:${PN} += " \ | 19 | RDEPENDS:${PN} += " \ |
21 | python3-ctypes \ | 20 | python3-ctypes \ |
22 | python3-logging \ | 21 | python3-logging \ |
23 | " | 22 | " |
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 | } | ||