summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb')
-rw-r--r--poky/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb b/poky/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
new file mode 100644
index 0000000000..0a23dc3100
--- /dev/null
+++ b/poky/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
@@ -0,0 +1,28 @@
+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] = "2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef"
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+do_install_ptest() {
+ cp -f ${S}/tests.py ${D}${PTEST_PATH}/
+}
+
+RDEPENDS:${PN} += " \
+ python3-json \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-doctest \
+ python3-unittest \
+ python3-unittest-automake-output \
+"
+
+BBCLASSEXTEND = "native nativesdk"