Skip to contentSkip to conversation

python3-rapidjson: add recipe

PATCH New Roger Knecht 1 participant 1 message Dec 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python3-rapidjson: add recipe

Add a recipe for the python bindings of the rapidjson library.

---
v2:
- Removed Git submodule fetch
- Use rapidjson library from meta-oe recipe instead of Git submodule

 .../python/python3-rapidjson_1.9.bb           | 22 +++++++++++++++++++
 1 file changed, 22 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 +22 -0
new file mode 100644
index 000000000..8b50aabb7
@@ -0,0 +1,22 @@
+SUMMARY = "Python wrapper around rapidjson"
+HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd"
+
+SRC_URI = "git://github.com/python-rapidjson/python-rapidjson.git;protocol=https;branch=master"
+SRCREV = "8f4ab8e197ca30c03726b675ae7cce6ac9d6622e"
+
+S = "${WORKDIR}/git"
+
+inherit setuptools3
+
+SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}"
+
+DEPENDS += " \
+    rapidjson \
+"
+
+RDEPENDS:${PN} += " \
+    ${PYTHON_PN}-core \
+"
Signature · 1 line
2.17.1