meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.28.0.bb
Wang Mingyu c1fb68c20f
python3-validators: upgrade 0.24.0 -> 0.28.0
Changelog:
==========
-patch: moves country_code module to country module
        moves base58 and base64 into encoding
        adds encoding tests and docs
        supported extended latin in username
-feat:  adds indian aadhar and pan validator
        adds finance validator
        adds consider_tld parameter to domain, hostname and url modules
        lays foundation for URI validation
        adds private parameter to ip_address, hostname & url
        adds base58 and base64 validators
        adds basic cron validator
-fix:   regex ignore-case uses only a-z
        domain validation is now more consistent across rfcs
-maint: adds quick start docs
        updated dev dependencies, doc links; bump version

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-17 23:47:28 -07:00

31 lines
685 B
BlitzBasic

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] = "85bc82511f6ccd0800f4c15d8c0dc546c15e369640c5ea1f24349ba0b3b17815"
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"