python3-rapidjson: add recipe
PATCH 1/1 python3-rapidjson: add recipe
Add a recipe for the python bindings of the rapidjson library.
--- .../python/python3-rapidjson_1.9.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-rapidjson_1.9.bb
meta-python/recipes-devtools/python/python3-rapidjson_1.9.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "Python wrapper around rapidjson" +HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd" + +SRC_URI = "gitsm://github.com/python-rapidjson/python-rapidjson.git;protocol=https;branch=master" +SRCREV = "8f4ab8e197ca30c03726b675ae7cce6ac9d6622e" + +S = "${WORKDIR}/git" + +inherit setuptools3 + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-core \ + rapidjson \ +"
Signature · 1 line
2.17.1
Quoted 15 lines · Roger Knecht
Add a recipe for the python bindings of the rapidjson library.
Signed-off-by Roger Knecht <[email protected]>--- .../python/python3-rapidjson_1.9.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-rapidjson_1.9.bbmeta-python/recipes-devtools/python/python3-rapidjson_1.9.bb new file +0
-0
meta-python/recipes-devtools/python/python3-rapidjson_1.9.bb line 5
Quoted 5 lines
meta-python/recipes-devtools/python/python3-rapidjson_1.9.bb new file +5
-0@@ -0,0 +1,17 @@ +SUMMARY = "Python wrapper around rapidjson" +HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd"
It looks like the license information is not complete, this project uses rapidjson as a submodule,
which has the following licensing information:
https://github.com/Tencent/rapidjson/blob/232389d4f1012dddec4ef84861face2d2ba85709/license.txt
Hi Fabio,
Thanks for the review.
That's a good point. I overlooked that the python module is building the rapidjson library from the submodule.
I will remove the submodule and try to make the build work with the rapidjson library from meta-oe.
This way the python3-rapidjson has only an MIT license and the rest of files are handled by the rapidjson recipe.
Roger
Quoted 28 lines · Fabio Estevam
Quoted 15 lines · Roger Knecht
Add a recipe for the python bindings of the rapidjson library.
Signed-off-by Roger Knecht <[email protected]>--- .../python/python3-rapidjson_1.9.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-rapidjson_1.9.bbmeta-python/recipes-devtools/python/python3-rapidjson_1.9.bb new file +0
-0meta-python/recipes-devtools/python/python3-rapidjson_1.9.bb line 5
Quoted 5 lines
meta-python/recipes-devtools/python/python3-rapidjson_1.9.bb new file +5
-0@@ -0,0 +1,17 @@ +SUMMARY = "Python wrapper around rapidjson" +HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd"It looks like the license information is not complete, this project uses rapidjson as a submodule,
which has the following licensing information:https://github.com/Tencent/rapidjson/blob/232389d4f1012dddec4ef84861face2d2ba85709/license.txt