Add python-jsonpatch and python-jsonpointer recipes
PATCH 1/1 Add python-jsonpatch and python-jsonpointer recipes
--- .../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
meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb new file +21 -0
@@ -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}" +
meta-python/recipes-devtools/python/python-jsonpointer_1.10.bb new file +19 -0
@@ -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}" +
Signature · 1 line
1.9.1
python-jsonpointer has unmet dependencies (a quick look at setup.py shows that you will need to add python-re to RDEPENDS).
Also, I would prefer to see two separate patches, one for each new recipe.
Regards,
Tim
Quoted 82 lines · Derek Straka
Signed-off-by Derek Straka <[email protected]>--- .../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
meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb new file +10
-0@@ -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
\
+"meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb new file +5
-0+ +inherit setuptools + +SRC_URI[md5sum] = "76ae3183db5f2a8f85dd7705e9b6f278" +SRC_URI[sha256sum] ="
2e1eb457f9c8dd5dae837ca93c0fe5bd2522c9d44b9b380fb1aab2ab4dec04b1"meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb new file +5
-0+ +RDEPENDS_${PN} += "python-jsonpointer" + +S = "${WORKDIR}/${SRCNAME}-${PV}" +(quoted diff) +0
-0python-jsonpointer_1.10.bb b/meta-python/recipes-devtools/python/ python-jsonpointer_1.10.bb
new file mode 100644
index 0000000..9c69688meta-python/recipes-devtools/python/python-jsonpointer_1.10.bb new file +10
-0@@ -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
\
+"meta-python/recipes-devtools/python/python-jsonpointer_1.10.bb new file +5
-0+ +inherit setuptools + +SRC_URI[md5sum] = "d68c0c6ad6889e9c94ec0feba719e45e" +SRC_URI[sha256sum] ="
9fa5dcac35eefd53e25d6cd4c310d963c9f0b897641772cd6e5e7b89df7ee0b1"meta-python/recipes-devtools/python/python-jsonpointer_1.10.bb new file +3
-1+ +S = "${WORKDIR}/${SRCNAME}-${PV}" + --1.9.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel