Skip to contentSkip to conversation

python3-rapidjson: add recipe

PATCH Superseded Roger Knecht 2 participants 3 messages Dec 12, 2022 – Dec 13, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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
new file mode 100644
index 000000000..ebf053396
@@ -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
#1 lore raw
Quoted 15 lines · Roger Knecht

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 +0 -0
new file mode 100644
index 000000000..ebf053396

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

#2 lore raw

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.

---
 .../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 +0 -0
new file mode 100644
index 000000000..ebf053396

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