Upgrade to release 2.20.0. Added validations at compile time:

- required must have unique items
- checking if schema is not allowing required items (item is
  required, but is not listed in properties)

Signed-off-by: Leon Anavi <[email protected]>
---
 ...jsonschema_2.18.0.bb => python3-fastjsonschema_2.20.0.bb} | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-fastjsonschema_2.18.0.bb 
=> python3-fastjsonschema_2.20.0.bb} (84%)

diff --git 
a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb 
b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
rename to meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb
index b2e969c5c..0524a73b6 100644
--- a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
+++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb
@@ -6,15 +6,12 @@ HOMEPAGE = "https://github.com/seznam/python-fastjsonschema";
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532"
 
-SRCREV = "756540088687cda351390f687b92e602feaa7dc6"
-PYPI_SRC_URI = 
"git://github.com/horejsek/python-fastjsonschema;protocol=https;branch=master"
+SRC_URI[sha256sum] = 
"3d48fc5300ee96f5d116f10fe6f28d938e6008f59a6a025c2649475b87f76a23"
 
 SRC_URI += "file://run-ptest"
 
 inherit ptest pypi setuptools3
 
-S = "${WORKDIR}/git"
-
 do_install_ptest() {
        install -d ${D}${PTEST_PATH}/tests
        cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111803): 
https://lists.openembedded.org/g/openembedded-devel/message/111803
Mute This Topic: https://lists.openembedded.org/mt/107893158/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to