summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-python/recipes-devtools/python/python3-tomli-w/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb12
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
3pytest --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"
6SRCREV = "179105660c367874818f2cdd1e06ed98eea668f1" 6SRCREV = "179105660c367874818f2cdd1e06ed98eea668f1"
7PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master" 7PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master"
8 8
9inherit pypi python_flit_core ptest 9inherit pypi python_flit_core ptest-python-pytest
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
12 12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17RDEPENDS:${PN}-ptest += " \ 13RDEPENDS:${PN}-ptest += " \
18 python3-pytest \
19 python3-tomli \ 14 python3-tomli \
20 python3-unittest-automake-output \
21" 15"
22 16
23do_install_ptest() { 17do_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