[oe] [meta-python][PATCH] Add python-jsonpatch and python-jsonpointer recipes

Derek Straka derek at asterius.io
Sun Jan 3 21:15:21 UTC 2016


Signed-off-by: Derek Straka <derek at asterius.io>
---
 .../python/python-jsonpatch_1.12.bb                 | 21 +++++++++++++++++++++
 .../python/python-jsonpointer_1.10.bb               | 19 +++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb
 create mode 100644 meta-python/recipes-devtools/python/python-jsonpointer_1.10.bb

diff --git a/meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb b/meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb
new file mode 100644
index 0000000..4dc3bee
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb
@@ -0,0 +1,21 @@
+SUMMARY  = "Appling JSON patches in Python 2.6+ and 3.x"
+HOMEPAGE = "https://github.com/stefankoegl/python-json-patch"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
+
+SRCNAME = "jsonpatch"
+
+SRC_URI = " \
+    https://pypi.python.org/packages/source/j/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+"
+
+inherit setuptools
+
+SRC_URI[md5sum] = "76ae3183db5f2a8f85dd7705e9b6f278"
+SRC_URI[sha256sum] = "2e1eb457f9c8dd5dae837ca93c0fe5bd2522c9d44b9b380fb1aab2ab4dec04b1"
+
+RDEPENDS_${PN} += "python-jsonpointer"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
diff --git a/meta-python/recipes-devtools/python/python-jsonpointer_1.10.bb b/meta-python/recipes-devtools/python/python-jsonpointer_1.10.bb
new file mode 100644
index 0000000..9c69688
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-jsonpointer_1.10.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Resolve JSON Pointers in Python"
+HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
+
+SRCNAME = "jsonpointer"
+
+SRC_URI = " \
+    https://pypi.python.org/packages/source/j/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+"
+
+inherit setuptools
+
+SRC_URI[md5sum] = "d68c0c6ad6889e9c94ec0feba719e45e"
+SRC_URI[sha256sum] = "9fa5dcac35eefd53e25d6cd4c310d963c9f0b897641772cd6e5e7b89df7ee0b1"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
-- 
1.9.1




More information about the Openembedded-devel mailing list