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

git at git.openembedded.org git at git.openembedded.org
Sun Jan 7 21:51:14 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 09e50d7e8cba4b339eb646f12615a12d921f8e14
Author: Derek Straka <derek at asterius.io>
AuthorDate: Wed Jan 3 17:39:32 2018 -0500

    python-jsonpointer: 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-jsonpointer_1.14.bb => python-jsonpointer.inc}  |  7 +++++--
 .../recipes-devtools/python/python-jsonpointer_1.14.bb      | 13 ++-----------
 .../recipes-devtools/python/python3-jsonpointer_1.14.bb     |  2 ++
 3 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-jsonpointer_1.14.bb b/meta-python/recipes-devtools/python/python-jsonpointer.inc
similarity index 80%
copy from meta-python/recipes-devtools/python/python-jsonpointer_1.14.bb
copy to meta-python/recipes-devtools/python/python-jsonpointer.inc
index 96b71e3..e678198 100644
--- a/meta-python/recipes-devtools/python/python-jsonpointer_1.14.bb
+++ b/meta-python/recipes-devtools/python/python-jsonpointer.inc
@@ -3,9 +3,12 @@ HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
 
-inherit pypi setuptools
+inherit pypi
 
 SRC_URI[md5sum] = "190aeb8afcb0efddfe831a4e533e163b"
 SRC_URI[sha256sum] = "c681af823545c731b7b38aedd5d4eee4c5eff87bc0f25e0ff25444a4189eac4d"
 
-RDEPENDS_${PN} += "python-re python-json"
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-re \
+"
diff --git a/meta-python/recipes-devtools/python/python-jsonpointer_1.14.bb b/meta-python/recipes-devtools/python/python-jsonpointer_1.14.bb
index 96b71e3..064bd6c 100644
--- a/meta-python/recipes-devtools/python/python-jsonpointer_1.14.bb
+++ b/meta-python/recipes-devtools/python/python-jsonpointer_1.14.bb
@@ -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
diff --git a/meta-python/recipes-devtools/python/python3-jsonpointer_1.14.bb b/meta-python/recipes-devtools/python/python3-jsonpointer_1.14.bb
new file mode 100644
index 0000000..8d0a09b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jsonpointer_1.14.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-jsonpointer.inc

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


More information about the Openembedded-commits mailing list