summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb
diff options
context:
space:
mode:
authorjmbills <jasonm.bills@yahoo.com>2021-06-02 20:10:10 +0300
committerGitHub <noreply@github.com>2021-06-02 20:10:10 +0300
commite7436234669703196c5ed56f33050d2dc19127cd (patch)
tree704eb802dc7b987411a0e44d128bdd8978745d8c /meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb
parent2ac88c6ae92b615338771db8a4fcbef91bee0947 (diff)
parent2a64b8ae9b952b18b4aef38cb7c41ce6dba16c50 (diff)
downloadopenbmc-e7436234669703196c5ed56f33050d2dc19127cd.tar.xz
Merge pull request #67 from Intel-BMC/update2021-0.521-0.52
Update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb
new file mode 100644
index 000000000..a4cc05c94
--- /dev/null
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Resolve JSON Pointers in Python"
+HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
+
+inherit pypi ptest setuptools3
+
+SRC_URI[sha256sum] = "5a34b698db1eb79ceac454159d3f7c12a451a91f6334a4f638454327b7a89962"
+
+RDEPENDS_${PN} += " \
+ ${PYTHON_PN}-json \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+ ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+ cp -f ${S}/tests.py ${D}${PTEST_PATH}/
+}