From 4e8ac0992c8dee76390da68fe70e43f042e66ddd Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 17 Apr 2024 09:40:50 +0800 Subject: 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 Signed-off-by: Khem Raj --- .../python/python3-validators_0.24.0.bb | 30 ---------------------- .../python/python3-validators_0.28.0.bb | 30 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-validators_0.24.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-validators_0.28.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-validators_0.24.0.bb b/meta-python/recipes-devtools/python/python3-validators_0.24.0.bb deleted file mode 100644 index 78261dd67f..0000000000 --- a/meta-python/recipes-devtools/python/python3-validators_0.24.0.bb +++ /dev/null @@ -1,30 +0,0 @@ -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] = "cd23defb36de42d14e7559cf0757f761bb46b10d9de2998e6ef805f769d859e3" - -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" diff --git a/meta-python/recipes-devtools/python/python3-validators_0.28.0.bb b/meta-python/recipes-devtools/python/python3-validators_0.28.0.bb new file mode 100644 index 0000000000..36444c0bfc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-validators_0.28.0.bb @@ -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] = "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" -- cgit v1.2.3-54-g00ecf