meta-python: Add jstyleson

jstyleson is a library to parse JSON with js-style comments.

The license isn't shipped in the pypi package, so it was extracted from
the github repo at [1].

[1] 8c47cc9e66/LICENSE

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andrew Jeffery 2021-01-22 16:15:38 +10:30 committed by Khem Raj
parent 1ac1e523cc
commit 9d8ad862fb
3 changed files with 24 additions and 0 deletions

View File

@ -417,6 +417,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
python3-cvxopt \
python3-jsonpath-rw \
python3-hexdump \
python3-jstyleson \
"
RDEPENDS_packagegroup-meta-python3-extended = "\

View File

@ -0,0 +1,8 @@
The MIT License (MIT)
Copyright (c) 2016 linjackson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -0,0 +1,15 @@
SUMMARY = "Library to parse JSON with js-style comments."
HOMEPAGE = "https://github.com/linjackson78/jstyleson"
SRC_URI += " file://LICENSE "
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=d97b96c7337934ee448ffd4392f32079"
PYPI_PACKAGE_EXT = "tar.gz"
inherit pypi setuptools3
SRC_URI[sha256sum] = "680003f3b15a2959e4e6a351f3b858e3c07dd3e073a0d54954e34d8ea5e1308e"
BBCLASSEXTEND = "native nativesdk"