diff options
Diffstat (limited to 'meta-python/recipes-devtools/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 | } | ||