diff options
| -rw-r--r-- | meta/recipes-devtools/python/python3-jsonpointer/run-ptest | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-jsonpointer_2.1.bb | 26 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-jsonpointer/run-ptest b/meta/recipes-devtools/python/python3-jsonpointer/run-ptest new file mode 100644 index 0000000000..51e609f4ba --- /dev/null +++ b/meta/recipes-devtools/python/python3-jsonpointer/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | python3 tests.py | ||
diff --git a/meta/recipes-devtools/python/python3-jsonpointer_2.1.bb b/meta/recipes-devtools/python/python3-jsonpointer_2.1.bb new file mode 100644 index 0000000000..fb3d9e0da9 --- /dev/null +++ b/meta/recipes-devtools/python/python3-jsonpointer_2.1.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "Resolve JSON Pointers in Python" | ||
| 2 | HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" | ||
| 5 | |||
| 6 | inherit pypi ptest setuptools3 | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "5a34b698db1eb79ceac454159d3f7c12a451a91f6334a4f638454327b7a89962" | ||
| 9 | |||
| 10 | RDEPENDS:${PN} += " \ | ||
| 11 | ${PYTHON_PN}-json \ | ||
| 12 | " | ||
| 13 | |||
| 14 | BBCLASSEXTEND = "native nativesdk" | ||
| 15 | |||
| 16 | SRC_URI += " \ | ||
| 17 | file://run-ptest \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS:${PN}-ptest += " \ | ||
| 21 | ${PYTHON_PN}-pytest \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_install_ptest() { | ||
| 25 | cp -f ${S}/tests.py ${D}${PTEST_PATH}/ | ||
| 26 | } | ||
