mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Changelog: ============ * Updated test suite * Fixed detecting when infinity is reached with multipleOf * Fixed that min/max items/lenght/properties can be float * Fixed that everything with empty `not` is invalid * Fixed missing re import when using regex pattern * Improved regexp for email format to comfort test suite * Improved regexp for date format to comfort test suite * Improved regexp for ipv4 format to comfort test suite * Added partial support of idn-hostname format * Added `detailed_exceptions` flag (default to True to avoid breaking change)i - when used, results are twice as fast Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
41 lines
1.0 KiB
BlitzBasic
41 lines
1.0 KiB
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"
|
|
|
|
SRC_URI[sha256sum] = "a02026bbbedc83729da3bfff215564b71902757f33f60089f1abae193daa4771"
|
|
|
|
SRC_URI += "file://run-ptest"
|
|
|
|
inherit ptest pypi setuptools3
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|
|
|
|
# python3-misc for timeit.py
|
|
RDEPENDS:${PN}-ptest += "\
|
|
python3-colorama \
|
|
python3-jsonschema \
|
|
python3-misc \
|
|
python3-pylint \
|
|
python3-pytest \
|
|
python3-pytest-benchmark \
|
|
python3-pytest-cache \
|
|
python3-statistics \
|
|
python3-unittest-automake-output \
|
|
"
|
|
RDEPENDS:${PN} += "\
|
|
python3-core \
|
|
python3-urllib3 \
|
|
python3-numbers \
|
|
python3-pickle \
|
|
python3-json \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|