mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
python3-jsonschema: Consolidate in a single file
Consolidate inc and bb files into a single bb file. 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>
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
SUMMARY = "An implementation of JSON Schema validation for Python"
|
||||
HOMEPAGE = "https://github.com/Julian/jsonschema"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
|
||||
file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
|
||||
DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
|
||||
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/python-jsonschema:"
|
||||
|
||||
SRC_URI[md5sum] = "f1a0b5011f05a02a8dee1070cd10a26d"
|
||||
SRC_URI[sha256sum] = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"
|
||||
|
||||
PACKAGECONFIG ??= "format"
|
||||
PACKAGECONFIG[format] = ",,,\
|
||||
${PYTHON_PN}-idna \
|
||||
${PYTHON_PN}-jsonpointer \
|
||||
${PYTHON_PN}-webcolors \
|
||||
${PYTHON_PN}-rfc3987 \
|
||||
${PYTHON_PN}-strict-rfc3339 \
|
||||
"
|
||||
PACKAGECONFIG[nongpl] = ",,,\
|
||||
${PYTHON_PN}-idna \
|
||||
${PYTHON_PN}-jsonpointer \
|
||||
${PYTHON_PN}-webcolors \
|
||||
${PYTHON_PN}-rfc3986-validator \
|
||||
${PYTHON_PN}-rfc3339-validator \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
${PYTHON_PN}-attrs \
|
||||
${PYTHON_PN}-core \
|
||||
${PYTHON_PN}-datetime \
|
||||
${PYTHON_PN}-importlib-metadata \
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-json \
|
||||
${PYTHON_PN}-netclient \
|
||||
${PYTHON_PN}-numbers \
|
||||
${PYTHON_PN}-pkgutil \
|
||||
${PYTHON_PN}-pprint \
|
||||
${PYTHON_PN}-pyrsistent \
|
||||
${PYTHON_PN}-shell \
|
||||
${PYTHON_PN}-six \
|
||||
${PYTHON_PN}-unittest \
|
||||
${PYTHON_PN}-setuptools-scm \
|
||||
${PYTHON_PN}-zipp \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -1,2 +1,48 @@
|
||||
SUMMARY = "An implementation of JSON Schema validation for Python"
|
||||
HOMEPAGE = "https://github.com/Julian/jsonschema"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
|
||||
file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
|
||||
DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
|
||||
|
||||
SRC_URI[md5sum] = "f1a0b5011f05a02a8dee1070cd10a26d"
|
||||
SRC_URI[sha256sum] = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"
|
||||
|
||||
inherit pypi setuptools3
|
||||
require python-jsonschema.inc
|
||||
|
||||
PACKAGECONFIG ??= "format"
|
||||
PACKAGECONFIG[format] = ",,,\
|
||||
${PYTHON_PN}-idna \
|
||||
${PYTHON_PN}-jsonpointer \
|
||||
${PYTHON_PN}-webcolors \
|
||||
${PYTHON_PN}-rfc3987 \
|
||||
${PYTHON_PN}-strict-rfc3339 \
|
||||
"
|
||||
PACKAGECONFIG[nongpl] = ",,,\
|
||||
${PYTHON_PN}-idna \
|
||||
${PYTHON_PN}-jsonpointer \
|
||||
${PYTHON_PN}-webcolors \
|
||||
${PYTHON_PN}-rfc3986-validator \
|
||||
${PYTHON_PN}-rfc3339-validator \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
${PYTHON_PN}-attrs \
|
||||
${PYTHON_PN}-core \
|
||||
${PYTHON_PN}-datetime \
|
||||
${PYTHON_PN}-importlib-metadata \
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-json \
|
||||
${PYTHON_PN}-netclient \
|
||||
${PYTHON_PN}-numbers \
|
||||
${PYTHON_PN}-pkgutil \
|
||||
${PYTHON_PN}-pprint \
|
||||
${PYTHON_PN}-pyrsistent \
|
||||
${PYTHON_PN}-shell \
|
||||
${PYTHON_PN}-six \
|
||||
${PYTHON_PN}-unittest \
|
||||
${PYTHON_PN}-setuptools-scm \
|
||||
${PYTHON_PN}-zipp \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user