[oe-commits] [meta-openembedded] 12/53: python-jsonpatch: add a python3 version of the recipe

git at git.openembedded.org git at git.openembedded.org
Sun Jan 7 21:51:15 UTC 2018


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master-next
in repository meta-openembedded.

commit b944750af4a1006ec19920a392d97e00ea8f91cf
Author: Derek Straka <derek at asterius.io>
AuthorDate: Wed Jan 3 17:39:33 2018 -0500

    python-jsonpatch: add a python3 version of the recipe
    
    Signed-off-by: Derek Straka <derek at asterius.io>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 .../{python-jsonpatch_1.20.bb => python-jsonpatch.inc}     |  2 +-
 .../recipes-devtools/python/python-jsonpatch_1.20.bb       | 14 ++------------
 .../recipes-devtools/python/python3-jsonpatch_1.20.bb      |  6 ++++++
 3 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-jsonpatch_1.20.bb b/meta-python/recipes-devtools/python/python-jsonpatch.inc
similarity index 95%
copy from meta-python/recipes-devtools/python/python-jsonpatch_1.20.bb
copy to meta-python/recipes-devtools/python/python-jsonpatch.inc
index a28294a..8653de9 100644
--- a/meta-python/recipes-devtools/python/python-jsonpatch_1.20.bb
+++ b/meta-python/recipes-devtools/python/python-jsonpatch.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/stefankoegl/python-json-patch"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
 
-inherit pypi setuptools
+inherit pypi
 
 SRC_URI[md5sum] = "b82b9ecad4cdef86bf0b88cbdbf7a8b9"
 SRC_URI[sha256sum] = "b12594a0cfe634bdd2a5c027250af2dd84932d493568e88ae722871edc3eb02d"
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 a28294a..e45699a 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 @@
-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
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 0000000..eb55934
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jsonpatch_1.20.bb
@@ -0,0 +1,6 @@
+inherit setuptools3
+require python-jsonpatch.inc
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-enum \
+"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list