diff options
Diffstat (limited to 'meta-python')
3 files changed, 20 insertions, 12 deletions
diff --git a/meta-python/recipes-devtools/python/python-jsonpatch.inc b/meta-python/recipes-devtools/python/python-jsonpatch.inc new file mode 100644 index 0000000000..8653de9be0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-jsonpatch.inc | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "Appling JSON patches in Python 2.6+ and 3.x" | ||
2 | HOMEPAGE = "https://github.com/stefankoegl/python-json-patch" | ||
3 | LICENSE = "BSD" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3" | ||
5 | |||
6 | inherit pypi | ||
7 | |||
8 | SRC_URI[md5sum] = "b82b9ecad4cdef86bf0b88cbdbf7a8b9" | ||
9 | SRC_URI[sha256sum] = "b12594a0cfe634bdd2a5c027250af2dd84932d493568e88ae722871edc3eb02d" | ||
10 | |||
11 | RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-re ${PYTHON_PN}-stringold" | ||
12 | |||
diff --git a/meta-python/recipes-devtools/python/python-jsonpatch_1.20.bb b/meta-python/recipes-devtools/python/python-jsonpatch_1.20.bb index a28294a9dc..e45699a6d6 100644 --- a/meta-python/recipes-devtools/python/python-jsonpatch_1.20.bb +++ b/meta-python/recipes-devtools/python/python-jsonpatch_1.20.bb | |||
@@ -1,12 +1,2 @@ | |||
1 | SUMMARY = "Appling JSON patches in Python 2.6+ and 3.x" | 1 | inherit setuptools |
2 | HOMEPAGE = "https://github.com/stefankoegl/python-json-patch" | 2 | require python-jsonpatch.inc |
3 | LICENSE = "BSD" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3" | ||
5 | |||
6 | inherit pypi setuptools | ||
7 | |||
8 | SRC_URI[md5sum] = "b82b9ecad4cdef86bf0b88cbdbf7a8b9" | ||
9 | SRC_URI[sha256sum] = "b12594a0cfe634bdd2a5c027250af2dd84932d493568e88ae722871edc3eb02d" | ||
10 | |||
11 | RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-re ${PYTHON_PN}-stringold" | ||
12 | |||
diff --git a/meta-python/recipes-devtools/python/python3-jsonpatch_1.20.bb b/meta-python/recipes-devtools/python/python3-jsonpatch_1.20.bb new file mode 100644 index 0000000000..eb55934858 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-jsonpatch_1.20.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | inherit setuptools3 | ||
2 | require python-jsonpatch.inc | ||
3 | |||
4 | RDEPENDS_${PN} += " \ | ||
5 | ${PYTHON_PN}-enum \ | ||
6 | " | ||