summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2021-01-22 16:15:38 +1030
committerKhem Raj <raj.khem@gmail.com>2021-01-25 14:34:06 -0800
commit9d8ad862fbf0d0246b191ce3b76a1f7d83fd98c0 (patch)
treeeb91bd1e8978f12ca14ade2ff60bf05e3ee848ea /meta-python
parent1ac1e523cccb74f5f443922be0b6a7c2933f5f7e (diff)
downloadmeta-openembedded-9d8ad862fbf0d0246b191ce3b76a1f7d83fd98c0.tar.gz
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] https://github.com/linjackson78/jstyleson/blob/8c47cc9e665b3b1744cccfaa7a650de5f3c575dd/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>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-jstyleson/LICENSE8
-rw-r--r--meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb15
3 files changed, 24 insertions, 0 deletions
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 41f376b39b..5f81fd35b7 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 = "\
417 python3-cvxopt \ 417 python3-cvxopt \
418 python3-jsonpath-rw \ 418 python3-jsonpath-rw \
419 python3-hexdump \ 419 python3-hexdump \
420 python3-jstyleson \
420" 421"
421 422
422RDEPENDS_packagegroup-meta-python3-extended = "\ 423RDEPENDS_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 0000000000..807babd62b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jstyleson/LICENSE
@@ -0,0 +1,8 @@
1The MIT License (MIT)
2Copyright (c) 2016 linjackson
3
4Permission 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:
5
6The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
8THE 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 0000000000..e70ce33efc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb
@@ -0,0 +1,15 @@
1SUMMARY = "Library to parse JSON with js-style comments."
2HOMEPAGE = "https://github.com/linjackson78/jstyleson"
3
4SRC_URI += " file://LICENSE "
5
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=d97b96c7337934ee448ffd4392f32079"
8
9PYPI_PACKAGE_EXT = "tar.gz"
10
11inherit pypi setuptools3
12
13SRC_URI[sha256sum] = "680003f3b15a2959e4e6a351f3b858e3c07dd3e073a0d54954e34d8ea5e1308e"
14
15BBCLASSEXTEND = "native nativesdk"