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