diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-yarl.inc | 15 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-yarl/run-ptest | 3 |
2 files changed, 17 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-yarl.inc b/meta-python/recipes-devtools/python/python-yarl.inc index 98066d73b9..911c79d66f 100644 --- a/meta-python/recipes-devtools/python/python-yarl.inc +++ b/meta-python/recipes-devtools/python/python-yarl.inc | |||
| @@ -6,9 +6,22 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b334fc90d45983db318f54fd5bf6c90b" | |||
| 6 | SRC_URI[md5sum] = "08ba0d6e18f460b44d9e5459f3d217ba" | 6 | SRC_URI[md5sum] = "08ba0d6e18f460b44d9e5459f3d217ba" |
| 7 | SRC_URI[sha256sum] = "58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b" | 7 | SRC_URI[sha256sum] = "58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b" |
| 8 | 8 | ||
| 9 | SRC_URI += " \ | ||
| 10 | file://run-ptest \ | ||
| 11 | " | ||
| 12 | |||
| 9 | PYPI_PACKAGE = "yarl" | 13 | PYPI_PACKAGE = "yarl" |
| 10 | inherit pypi | 14 | inherit pypi ptest |
| 11 | RDEPENDS_${PN} = "\ | 15 | RDEPENDS_${PN} = "\ |
| 12 | ${PYTHON_PN}-multidict \ | 16 | ${PYTHON_PN}-multidict \ |
| 13 | ${PYTHON_PN}-idna \ | 17 | ${PYTHON_PN}-idna \ |
| 14 | " | 18 | " |
| 19 | |||
| 20 | RDEPENDS_${PN}-ptest += " \ | ||
| 21 | ${PYTHON_PN}-pytest \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_install_ptest() { | ||
| 25 | install -d ${D}${PTEST_PATH}/tests | ||
| 26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 27 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-yarl/run-ptest b/meta-python/recipes-devtools/python/python3-yarl/run-ptest new file mode 100644 index 0000000000..f82f6ea1b7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-yarl/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest | ||
