diff options
| author | alperak <alperyasinak1@gmail.com> | 2024-03-30 08:30:56 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-03-30 00:48:27 -0700 |
| commit | df763fc1d0789aafb6ca5e00dacf476121af5dee (patch) | |
| tree | 74ef84b3637f94b87d9679b140a545fedc33147c /meta-python/recipes-devtools/python | |
| parent | 1f28cb0baf245cac5209088b29ca7d494f7a3686 (diff) | |
| download | meta-openembedded-df763fc1d0789aafb6ca5e00dacf476121af5dee.tar.gz | |
python3-validators: upgrade 0.22.0 > 0.24.0 and enable ptest
License-Update: Rename LICENSE to LICENSE.txt and update copyright year
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
qemux86-64:
Testsuite summary
TOTAL: 599
PASS: 599
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 19
END: /usr/lib/python3-validators/ptest
2024-03-30T05:07
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 599
PASS: 599
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 18
END: /usr/lib/python3-validators/ptest
2024-03-30T05:10
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Changelog:
0.24.0
===========
Features
feat: conditionally raises ValidationError; bump version by @yozachar in #343
Maintenance
patch: domain & url modules by @yozachar in #339
fix: domain name not confirming to rfc_2782 by @yozachar in #341
maint: update dev dependencies; adds favicon to docs by @yozachar in #342
0.23.2
===========
Maintenance
maint: rectifies changelog by @yozachar in #336
fix: packaging as well as rST & md document generation by @yozachar in #337
0.23.1
===========
Maintenance
maint: fix between & length validators by @yozachar in #334
fix: manual nav reference for mkdocs; bumps version by @yozachar in #335
0.23.0
===========
Features
feat: add french i18n validation by @imperosol in #308
Maintenance
fix: Valid URLs failing validation - query and fragment parts by @danherbriley in #297
fix: bug in between module by @yozachar in #301
chore: update dependencies, improve packaging by @yozachar in #304
Fix fragment check by @darkdragon-001 in #305
build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #310
fix: allow pct-encoded entities in fragments by @conitrade-as in #317
chore: update dev dependencies by @yozachar in #318
build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #321
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #322
chore: monthly updates for Jan'24 by @yozachar in #324
maint: adds versiond docs; update copyright year by @yozachar in #329
chore: update dev dependencies by @yozachar in #330
build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #331
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #332
build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #319
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
3 files changed, 33 insertions, 10 deletions
diff --git a/meta-python/recipes-devtools/python/python3-validators/run-ptest b/meta-python/recipes-devtools/python/python3-validators/run-ptest new file mode 100644 index 0000000000..8d2017d39c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-validators/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-validators_0.22.0.bb b/meta-python/recipes-devtools/python/python3-validators_0.22.0.bb deleted file mode 100644 index 1da7ee4a04..0000000000 --- a/meta-python/recipes-devtools/python/python3-validators_0.22.0.bb +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 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;md5=fcf28bd09a60e145c3171c531b9e677d" | ||
| 6 | SRC_URI[sha256sum] = "77b2689b172eeeb600d9605ab86194641670cdb73b60afd577142a9397873370" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta | ||
| 9 | |||
| 10 | BBCLASSEXTEND = "native nativesdk" | ||
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 new file mode 100644 index 0000000000..78261dd67f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-validators_0.24.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] = "cd23defb36de42d14e7559cf0757f761bb46b10d9de2998e6ef805f769d859e3" | ||
| 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" | ||
