On 2021-01-22 12:45 a.m., Andrew Jeffery wrote:
[Please note this e-mail is from an EXTERNAL e-mail address]
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]
https://github.com/linjackson78/jstyleson/blob/8c47cc9e665b3b1744cccfaa7a650de5f3c575dd/LICENSE
Change-Id: I1e22ef42e823d172fd52f40e84bd5194c131310a
Signed-off-by: Andrew Jeffery <[email protected]>
Acked-by: Trevor Gamblin <[email protected]>
---
.../packagegroups/packagegroup-meta-python.bb | 1 +
.../python/python3-jstyleson/LICENSE | 8 ++++++++
.../python/python3-jstyleson_0.0.2.bb | 15 +++++++++++++++
3 files changed, 24 insertions(+)
create mode 100644
meta-python/recipes-devtools/python/python3-jstyleson/LICENSE
create mode 100644
meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 41f376b39b55..5f81fd35b75f 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -417,6 +417,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
python3-cvxopt \
python3-jsonpath-rw \
python3-hexdump \
+ python3-jstyleson \
"
RDEPENDS_packagegroup-meta-python3-extended = "\
diff --git a/meta-python/recipes-devtools/python/python3-jstyleson/LICENSE
b/meta-python/recipes-devtools/python/python3-jstyleson/LICENSE
new file mode 100644
index 000000000000..807babd62b64
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jstyleson/LICENSE
@@ -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.
\ No newline at end of file
diff --git a/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb
b/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb
new file mode 100644
index 000000000000..e70ce33efcd2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb
@@ -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"
--
2.27.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#89034):
https://lists.openembedded.org/g/openembedded-devel/message/89034
Mute This Topic: https://lists.openembedded.org/mt/80024465/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-