Skip to contentSkip to conversation

json-schema-validator: Add recipe

PATCH In review Khem Raj 2 participants 3 messages Aug 16, 2020 – Aug 18, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 json-schema-validator: Add recipe

From: Shlomi Vaknin <[email protected]>

---
 .../json-schema-validator_2.1.0.bb                 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.1.0.bb
meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.1.0.bb new file +14 -0
new file mode 100644
index 0000000000..7f6c34eb3d
@@ -0,0 +1,14 @@
+SUMMARY = "JSON schema validator for JSON for Modern C++"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c441d022da1b1663c70181a32225d006"
+
+SRC_URI = "git://github.com/pboettch/json-schema-validator"
+SRCREV = "27fc1d094503623dfe39365ba82581507524545c"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += "nlohmann-json"
+
+inherit cmake
+EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF"
+
Signature · 1 line
2.28.0
author
#1 lore raw

PATCH 2/2 python3-pybind11-json: Add recipe

From: Shlomi Vaknin <[email protected]>

---
 .../python/python3-pybind11-json_0.2.6.bb            | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pybind11-json_0.2.6.bb
meta-python/recipes-devtools/python/python3-pybind11-json_0.2.6.bb new file +12 -0
new file mode 100644
index 0000000000..c56c70ad37
@@ -0,0 +1,12 @@
+SUMMARY = "Using nlohmann::json with pybind11"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98"
+
+SRCREV = "d1d00888bc0eb7c50dde6cff1a5eb4586e620b65"
+SRC_URI = "git://github.com/pybind/pybind11_json"
+
+DEPENDS += "nlohmann-json python3-pybind11"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
Signature · 1 line
2.28.0
Acked-by on v1 2/2
#2 lore raw

Re: [oe] [meta-python][PATCH 2/2] python3-pybind11-json: Add recipe

Quoted 4 lines · Khem Raj

From: Shlomi Vaknin <[email protected]>

Quoted 25 lines
---
  .../python/python3-pybind11-json_0.2.6.bb            | 12 ++++++++++++
  1 file changed, 12 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-pybind11-json_0.2.6.bb

meta-python/recipes-devtools/python/python3-pybind11-json_0.2.6.bb new file +12 -0
new file mode 100644
index 0000000000..c56c70ad37
@@ -0,0 +1,12 @@
+SUMMARY = "Using nlohmann::json with pybind11"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98"
+
+SRCREV = "d1d00888bc0eb7c50dde6cff1a5eb4586e620b65"
+SRC_URI = "git://github.com/pybind/pybind11_json"
+
+DEPENDS += "nlohmann-json python3-pybind11"
+
+S = "${WORKDIR}/git"
+
+inherit cmake