diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-waitress/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-waitress/run-ptest b/meta-python/recipes-devtools/python/python3-waitress/run-ptest new file mode 100644 index 0000000000..2e0e96d0b1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-waitress/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | python3 -mputao.unittest | ||
diff --git a/meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb b/meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb index c495132c59..cc705f4efe 100644 --- a/meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb | |||
| @@ -12,6 +12,20 @@ RDEPENDS:${PN} += " \ | |||
| 12 | python3-logging \ | 12 | python3-logging \ |
| 13 | " | 13 | " |
| 14 | 14 | ||
| 15 | RDEPENDS:${PN}-ptest += "\ | ||
| 16 | python3-doctest \ | ||
| 17 | python3-json \ | ||
| 18 | python3-multiprocessing \ | ||
| 19 | python3-pytest \ | ||
| 20 | python3-unittest \ | ||
| 21 | python3-unittest-automake-output \ | ||
| 22 | " | ||
| 23 | |||
| 24 | SRC_URI += "file://run-ptest" | ||
| 15 | SRC_URI[sha256sum] = "682aaaf2af0c44ada4abfb70ded36393f0e307f4ab9456a215ce0020baefc31f" | 25 | SRC_URI[sha256sum] = "682aaaf2af0c44ada4abfb70ded36393f0e307f4ab9456a215ce0020baefc31f" |
| 16 | 26 | ||
| 17 | inherit python_setuptools_build_meta pypi | 27 | inherit python_setuptools_build_meta pypi ptest |
| 28 | |||
| 29 | do_install_ptest(){ | ||
| 30 | cp -r ${S}/tests ${D}${PTEST_PATH} | ||
| 31 | } | ||
