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>
This commit is contained in:
Wang Mingyu
2024-07-15 17:02:23 +08:00
committed by Khem Raj
parent 4092284b93
commit bc10395c87

View File

@@ -0,0 +1,30 @@
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] = "9ee6e6d7ac9292b9b755a3155d7c361d76bb2dce23def4f0627662da1e300676"
inherit pypi python_setuptools_build_meta ptest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
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"