meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema_2.16.1.bb
Xu Huan 3bfd00e0fe python3-fastjsonschema: upgrade 2.15.3 -> 2.16.1
Add dependence python3-json

Changelog from 2.15.3 to 2.16.1
================================
* Fix uniqueItems when explicitly set to False
* Fix generating invalid code for some schemas using items
* Preserving full path in combination with $ref
* Improved error messages for oneOf and anyOf

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-24 06:28:56 -07:00

40 lines
1015 B
BlitzBasic

# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "Fastest Python implementation of JSON schema"
HOMEPAGE = "https://github.com/seznam/python-fastjsonschema"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532"
SRCREV = "98399bb4029b2d7020d8abd9770661a5b2c4f9f8"
PYPI_SRC_URI = "git://github.com/horejsek/python-fastjsonschema;protocol=https;branch=master"
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/
}
RDEPENDS:${PN}-ptest += "\
python3-colorama \
python3-jsonschema \
python3-pylint \
python3-pytest \
python3-pytest-benchmark \
python3-pytest-cache \
"
RDEPENDS:${PN} += "\
python3-core \
python3-urllib3 \
python3-numbers \
python3-pickle \
python3-json \
"
BBCLASSEXTEND = "native nativesdk"