diff options
author | Derek Straka <derek@asterius.io> | 2018-01-03 17:39:33 -0500 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-01-16 21:33:05 -0800 |
commit | 11ed42e08f2085b0986dfe38199e9e0c87791a4b (patch) | |
tree | 4f5893d8d6d1dea05de39f51c41ec94768e5065e /meta-python/recipes-devtools/python | |
parent | d619965394cd2f0785c4aaf1539cb5fc13efce29 (diff) | |
download | meta-openembedded-11ed42e08f2085b0986dfe38199e9e0c87791a4b.tar.gz |
python-jsonpatch: add a python3 version of the recipe
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/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 | " | ||