correction de la recette python3-jsonschema

This commit is contained in:
vincent committed 2022-12-15 17:42:06 +01:00
1 parent 29ede9c790
commit d18edeafec
3 files changed
+122 -18

No files matched your search

@@ -1,32 +1,41 @@
# Copyright (C) 2022 Vincent BENOIT <vincent.benoit@benserv.fr>
# Release under the MIT license (see COPYING.MIT for the terms)
SECTION = "devel/python"
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"
PYPI_PACKAGE = "jsonschema"
SRC_URI[sha256sum] = "5bfcf2bca16a087ade17e02b282d34af7ccd749ef76241e7f9bd7c0cb8a9424d"
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://setup.cfg"
inherit pypi python_setuptools_build_meta
DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
#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 \
#"
do_configure:append() {
install -m 0644 ${WORKDIR}/setup.cfg ${WORKDIR}/jsonschema-${PV}/setup.cfg
}
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 \
@@ -47,4 +56,4 @@ RDEPENDS:${PN} += " \
${PYTHON_PN}-zipp \
"
#BBCLASSEXTEND = "native nativesdk"
BBCLASSEXTEND = "native nativesdk"