diff options
-rw-r--r-- | meta-python/recipes-devtools/python/python3-intervals/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb | 13 |
2 files changed, 2 insertions, 14 deletions
diff --git a/meta-python/recipes-devtools/python/python3-intervals/run-ptest b/meta-python/recipes-devtools/python/python3-intervals/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-intervals/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb index 3c5be47806..dd9f88748b 100644 --- a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb | |||
@@ -7,18 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab" | |||
7 | 7 | ||
8 | PYPI_PACKAGE := "python-intervals" | 8 | PYPI_PACKAGE := "python-intervals" |
9 | 9 | ||
10 | SRC_URI += " \ | 10 | inherit pypi setuptools3 ptest-python-pytest |
11 | file://run-ptest \ | ||
12 | " | ||
13 | 11 | ||
14 | inherit pypi setuptools3 ptest | 12 | do_install_ptest:append () { |
15 | |||
16 | RDEPENDS:${PN}-ptest += " \ | ||
17 | python3-pytest \ | ||
18 | python3-unittest-automake-output \ | ||
19 | " | ||
20 | |||
21 | do_install_ptest() { | ||
22 | cp -f ${S}/test_intervals.py ${D}${PTEST_PATH} | 13 | cp -f ${S}/test_intervals.py ${D}${PTEST_PATH} |
23 | cp -f ${S}/README.md ${D}${PTEST_PATH} | 14 | cp -f ${S}/README.md ${D}${PTEST_PATH} |
24 | } | 15 | } |