diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb new file mode 100644 index 0000000000..41ead5c051 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb @@ -0,0 +1,34 @@ +SUMMARY = "Python Data Validation for Humans" +HOMEPAGE = "https://python-validators.github.io/validators" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3fb4b9e6db86c69a33d5e3ee013ab59" +SRC_URI[sha256sum] = "647fe407b45af9a74d245b943b18e6a816acf4926974278f6dd617778e1e781f" + +inherit pypi python_setuptools_build_meta ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-decorator \ + python3-eth-hash \ + python3-isort \ + python3-pycryptodome \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += " \ + python3-crypt \ + python3-datetime \ + python3-netclient \ +" + +BBCLASSEXTEND = "native nativesdk" |