diff options
3 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index acfe28039c..584fa463ea 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
| @@ -24,6 +24,7 @@ PTESTS_FAST_META_PYTHON = "\ | |||
| 24 | python3-gpiod \ | 24 | python3-gpiod \ |
| 25 | python3-gunicorn \ | 25 | python3-gunicorn \ |
| 26 | python3-html2text \ | 26 | python3-html2text \ |
| 27 | python3-httptools \ | ||
| 27 | python3-inflection \ | 28 | python3-inflection \ |
| 28 | python3-inotify \ | 29 | python3-inotify \ |
| 29 | python3-intervals \ | 30 | python3-intervals \ |
diff --git a/meta-python/recipes-devtools/python/python3-httptools/run-ptest b/meta-python/recipes-devtools/python/python3-httptools/run-ptest new file mode 100644 index 0000000000..8d2017d39c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-httptools/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-httptools_0.6.1.bb b/meta-python/recipes-devtools/python/python3-httptools_0.6.1.bb new file mode 100644 index 0000000000..4192697df2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-httptools_0.6.1.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | SUMMARY = "A collection of framework independent HTTP protocol utils." | ||
| 2 | HOMEPAGE = "https://github.com/MagicStack/httptools" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e" | ||
| 5 | |||
| 6 | inherit pypi setuptools3 ptest | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "c6e26c30455600b95d94b1b836085138e82f177351454ee841c148f93a9bad5a" | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | |||
| 14 | RDEPENDS:${PN}-ptest += " \ | ||
| 15 | python3-pytest \ | ||
| 16 | python3-unittest-automake-output \ | ||
| 17 | " | ||
| 18 | |||
| 19 | do_install_ptest() { | ||
| 20 | install -d ${D}${PTEST_PATH}/tests | ||
| 21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 22 | } | ||
