diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-tomli-w/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb | 12 |
2 files changed, 2 insertions, 13 deletions
diff --git a/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest b/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb b/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb index dded2cbf42..94ea20049f 100644 --- a/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb | |||
@@ -6,24 +6,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5" | |||
6 | SRCREV = "179105660c367874818f2cdd1e06ed98eea668f1" | 6 | SRCREV = "179105660c367874818f2cdd1e06ed98eea668f1" |
7 | PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master" | 7 | PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master" |
8 | 8 | ||
9 | inherit pypi python_flit_core ptest | 9 | inherit pypi python_flit_core ptest-python-pytest |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | |||
17 | RDEPENDS:${PN}-ptest += " \ | 13 | RDEPENDS:${PN}-ptest += " \ |
18 | python3-pytest \ | ||
19 | python3-tomli \ | 14 | python3-tomli \ |
20 | python3-unittest-automake-output \ | ||
21 | " | 15 | " |
22 | 16 | ||
23 | do_install_ptest() { | 17 | do_install_ptest:append() { |
24 | install -d ${D}${PTEST_PATH}/tests | ||
25 | install -d ${D}${PTEST_PATH}/benchmark | 18 | install -d ${D}${PTEST_PATH}/benchmark |
26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
27 | cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/ | 19 | cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/ |
28 | } | 20 | } |
29 | 21 | ||