summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pykwalify_1.8.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2021-01-21 15:17:08 +0200
committerKhem Raj <raj.khem@gmail.com>2021-01-25 14:34:06 -0800
commit4ee8ea68a571655dc7151a65e16dd4f280a90679 (patch)
tree2df2e2d4d012f4fd4a3de00744894dc1b31e29bf /meta-python/recipes-devtools/python/python3-pykwalify_1.8.0.bb
parent1745dd9993493b959e01d5d4e17f070fea568e1c (diff)
downloadmeta-openembedded-4ee8ea68a571655dc7151a65e16dd4f280a90679.tar.gz
python3-pykwalify: Upgrade 1.7.0 -> 1.8.0
Upgrade to release 1.8.0: - Dropped support for python 3.5 and below, including 2.7 - ruamel.yaml is now the default and preffered yaml parser - Dropped support for pyyaml parser - Update minimum version of ruamel.yaml to 0.16.0 - Update minimum version of python-dateutil to 2.8.0 - Added new cli argument "--encoding ENCODING" that specifies what encoding to open data and schema files with - Enum error strings now output all possible values for easier debugging - Removed deprecated imp module. Dynamic imports imght be affected - Implement new type email that uses a relative simple regex to validate email addresses according to RFC 5322 Official Standard - Implement new type url that uses a relative simple regex to validate url:s according to RFC 1808 - Add new argument "schema_file_obj" to Core class. Allows to pass in StringIO or similar interfaced objects to use for validation. - Add new argument "data_file_obj" to Core class. Allows to pass in StringIO or similar interfaced objects to use for validation. - Fixed a regression from 1.6.1 where ruamel.yaml safe_load would break for all built-in custom python tags. - All normal python tags should now be possible to use again. - Fixed an issue with regex values that was not converted to str() before regex mapping was attempted. - This should validate things like integers and objects that support str() conversion better. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pykwalify_1.8.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pykwalify_1.8.0.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pykwalify_1.8.0.bb b/meta-python/recipes-devtools/python/python3-pykwalify_1.8.0.bb
new file mode 100644
index 0000000000..aa14cdd4b6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pykwalify_1.8.0.bb
@@ -0,0 +1,19 @@
1SUMMARY = "YAML/JSON validation library"
2DESCRIPTION = "pykwalify is a schema validator for YAML and JSON"
3HOMEPAGE = "https://pypi.org/project/pykwalify/"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=4eaf57328ad29ea2e0ed31a57f0914dc"
6
7SRC_URI[sha256sum] = "796b2ad3ed4cb99b88308b533fb2f559c30fa6efb4fa9fda11347f483d245884"
8
9PYPI_PACKAGE = "pykwalify"
10
11inherit setuptools3 pypi
12
13RDEPENDS_${PN} = "\
14 ${PYTHON_PN}-docopt \
15 ${PYTHON_PN}-dateutil \
16 ${PYTHON_PN}-pyyaml \
17"
18
19BBCLASSEXTEND = "native nativesdk"