diff options
Diffstat (limited to 'meta-python')
4 files changed, 34 insertions, 10 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index ccb4431822..2f7babe488 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
| @@ -73,6 +73,7 @@ PTESTS_FAST_META_PYTHON = "\ | |||
| 73 | python3-u-msgpack-python \ | 73 | python3-u-msgpack-python \ |
| 74 | python3-unidiff \ | 74 | python3-unidiff \ |
| 75 | python3-uritemplate \ | 75 | python3-uritemplate \ |
| 76 | python3-validators \ | ||
| 76 | python3-wrapt \ | 77 | python3-wrapt \ |
| 77 | python3-wsproto \ | 78 | python3-wsproto \ |
| 78 | python3-xlrd \ | 79 | python3-xlrd \ |
diff --git a/meta-python/recipes-devtools/python/python3-validators/run-ptest b/meta-python/recipes-devtools/python/python3-validators/run-ptest new file mode 100644 index 0000000000..8d2017d39c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-validators/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-validators_0.22.0.bb b/meta-python/recipes-devtools/python/python3-validators_0.22.0.bb deleted file mode 100644 index 1da7ee4a04..0000000000 --- a/meta-python/recipes-devtools/python/python3-validators_0.22.0.bb +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | SUMMARY = "Python Data Validation for Humans" | ||
| 2 | HOMEPAGE = "https://python-validators.github.io/validators" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf28bd09a60e145c3171c531b9e677d" | ||
| 6 | SRC_URI[sha256sum] = "77b2689b172eeeb600d9605ab86194641670cdb73b60afd577142a9397873370" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta | ||
| 9 | |||
| 10 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-validators_0.24.0.bb b/meta-python/recipes-devtools/python/python3-validators_0.24.0.bb new file mode 100644 index 0000000000..78261dd67f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-validators_0.24.0.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | SUMMARY = "Python Data Validation for Humans" | ||
| 2 | HOMEPAGE = "https://python-validators.github.io/validators" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3fb4b9e6db86c69a33d5e3ee013ab59" | ||
| 6 | SRC_URI[sha256sum] = "cd23defb36de42d14e7559cf0757f761bb46b10d9de2998e6ef805f769d859e3" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta ptest | ||
| 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 | } | ||
| 23 | |||
| 24 | RDEPENDS:${PN} += " \ | ||
| 25 | python3-crypt \ | ||
| 26 | python3-datetime \ | ||
| 27 | python3-netclient \ | ||
| 28 | " | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native nativesdk" | ||
