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

python3-fastjsonschema claims to be fastest Python implementation of JSON schema it however needs additional packages which are also added here, since they are all dependent, its added in single commit so backporting is simpler Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
39 lines
996 B
BlitzBasic
39 lines
996 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 = "1e214911fe83dbaeea3d50dfb3a539118de8a442"
|
|
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 \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|