python-jsonpointer: add a python3 version of the recipe
PATCH 1/3 python-jsonpointer: add a python3 version of the recipe
Signed-off-by Derek Straka <[email protected]>
--- meta-python/recipes-devtools/python/python-jsonpointer.inc | 14 ++++++++++++++ .../recipes-devtools/python/python-jsonpointer_1.14.bb | 13 ++----------- .../recipes-devtools/python/python3-jsonpointer_1.14.bb | 2 ++ 3 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-jsonpointer.inc create mode 100644 meta-python/recipes-devtools/python/python3-jsonpointer_1.14.bb
meta-python/recipes-devtools/python/python-jsonpointer.inc new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "Resolve JSON Pointers in Python" +HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" + +inherit pypi + +SRC_URI[md5sum] = "190aeb8afcb0efddfe831a4e533e163b" +SRC_URI[sha256sum] = "c681af823545c731b7b38aedd5d4eee4c5eff87bc0f25e0ff25444a4189eac4d" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-re \ +"
meta-python/recipes-devtools/python/python-jsonpointer_1.14.bb +2 -11
@@ -1,11 +1,2 @@ -SUMMARY = "Resolve JSON Pointers in Python" -HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" - -inherit pypi setuptools - -SRC_URI[md5sum] = "190aeb8afcb0efddfe831a4e533e163b" -SRC_URI[sha256sum] = "c681af823545c731b7b38aedd5d4eee4c5eff87bc0f25e0ff25444a4189eac4d" - -RDEPENDS_${PN} += "python-re python-json" +inherit setuptools +require python-jsonpointer.inc
meta-python/recipes-devtools/python/python3-jsonpointer_1.14.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-jsonpointer.inc
Signature · 1 line
2.7.4
PATCH 2/3 python-jsonpatch: add a python3 version of the recipe
Signed-off-by Derek Straka <[email protected]>
--- meta-python/recipes-devtools/python/python-jsonpatch.inc | 12 ++++++++++++ .../recipes-devtools/python/python-jsonpatch_1.20.bb | 14 ++------------ .../recipes-devtools/python/python3-jsonpatch_1.20.bb | 6 ++++++ 3 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-jsonpatch.inc create mode 100644 meta-python/recipes-devtools/python/python3-jsonpatch_1.20.bb
meta-python/recipes-devtools/python/python-jsonpatch.inc new file +12 -0
@@ -0,0 +1,12 @@ +SUMMARY = "Appling JSON patches in Python 2.6+ and 3.x" +HOMEPAGE = "https://github.com/stefankoegl/python-json-patch" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3" + +inherit pypi + +SRC_URI[md5sum] = "b82b9ecad4cdef86bf0b88cbdbf7a8b9" +SRC_URI[sha256sum] = "b12594a0cfe634bdd2a5c027250af2dd84932d493568e88ae722871edc3eb02d" + +RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-re ${PYTHON_PN}-stringold" +
meta-python/recipes-devtools/python/python-jsonpatch_1.20.bb +2 -12
@@ -1,12 +1,2 @@ -SUMMARY = "Appling JSON patches in Python 2.6+ and 3.x" -HOMEPAGE = "https://github.com/stefankoegl/python-json-patch" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3" - -inherit pypi setuptools - -SRC_URI[md5sum] = "b82b9ecad4cdef86bf0b88cbdbf7a8b9" -SRC_URI[sha256sum] = "b12594a0cfe634bdd2a5c027250af2dd84932d493568e88ae722871edc3eb02d" - -RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-re ${PYTHON_PN}-stringold" - +inherit setuptools +require python-jsonpatch.inc
meta-python/recipes-devtools/python/python3-jsonpatch_1.20.bb new file +6 -0
@@ -0,0 +1,6 @@ +inherit setuptools3 +require python-jsonpatch.inc + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-enum \ +"
Signature · 1 line
2.7.4
PATCH 3/3 python-jsonpatch: update to version 1.21
In reply to Derek StrakaSigned-off-by Derek Straka <[email protected]>
---
meta-python/recipes-devtools/python/python-jsonpatch.inc | 4 ++--
.../python/{python-jsonpatch_1.20.bb => python-jsonpatch_1.21.bb} | 0
.../python/{python3-jsonpatch_1.20.bb => python3-jsonpatch_1.21.bb} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python-jsonpatch_1.20.bb => python-jsonpatch_1.21.bb} (100%)
rename meta-python/recipes-devtools/python/{python3-jsonpatch_1.20.bb => python3-jsonpatch_1.21.bb} (100%)meta-python/recipes-devtools/python/python-jsonpatch.inc +2 -2
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3" inherit pypi -SRC_URI[md5sum] = "b82b9ecad4cdef86bf0b88cbdbf7a8b9" -SRC_URI[sha256sum] = "b12594a0cfe634bdd2a5c027250af2dd84932d493568e88ae722871edc3eb02d" +SRC_URI[md5sum] = "0b20d819daf120ed3fef3be608f2ce18" +SRC_URI[sha256sum] = "11f5ffdf543a83047a2f54ac28f8caad7f34724cb1ea26b27547fd974f1a2153" RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-re ${PYTHON_PN}-stringold"
meta-python/recipes-devtools/python/python-jsonpatch_1.21.bb renamed from meta-python/recipes-devtools/python/python-jsonpatch_1.20.bb +0 -0
meta-python/recipes-devtools/python/python3-jsonpatch_1.21.bb renamed from meta-python/recipes-devtools/python/python3-jsonpatch_1.20.bb +0 -0
Signature · 1 line
2.7.4