diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-07-15 17:02:23 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-07-15 16:36:15 -0700 |
| commit | bc10395c87e868d939385219840ab259c3adc24b (patch) | |
| tree | b38ff549c08e7171a23fcace6f41b667ef300c42 /meta-python/recipes-devtools/python/python3-validators_0.32.0.bb | |
| parent | 4092284b93b6f418343adb0a359d46e6c4c60664 (diff) | |
| download | meta-openembedded-bc10395c87e868d939385219840ab259c3adc24b.tar.gz | |
python3-validators: upgrade 0.28.3 -> 0.32.0
Changelog:
===========
- feat: add validator for sha384 hash
- feat: add validators for base16 and base32 encodings
- feat: add validator for trx addresses
- patch: moves btc_address to crypto_addresses
- feat: add validator for eth addresses
- chore: update dev deps; adds python EOL info
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-validators_0.32.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-validators_0.32.0.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-validators_0.32.0.bb b/meta-python/recipes-devtools/python/python3-validators_0.32.0.bb new file mode 100644 index 0000000000..606143197b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-validators_0.32.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] = "9ee6e6d7ac9292b9b755a3155d7c361d76bb2dce23def4f0627662da1e300676" | ||
| 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" | ||
