diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-validators_0.28.3.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-validators_0.28.3.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-validators_0.28.3.bb b/meta-python/recipes-devtools/python/python3-validators_0.28.3.bb new file mode 100644 index 0000000000..a132d74ebd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-validators_0.28.3.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] = "c6c79840bcde9ba77b19f6218f7738188115e27830cbaff43264bc4ed24c429d" | ||
| 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" | ||
