diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
commit | 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch) | |
tree | cd70a267a5ef105ba32f200aa088e281fbd85747 /external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc | |
parent | 4204309872da5cb401cbb2729d9e2d4869a87f42 (diff) |
basesystem-jjsandbox/ToshikazuOhiwa/master-jj
recipes
Diffstat (limited to 'external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc')
-rw-r--r-- | external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc index 4ed01ed6..3e41b70b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc @@ -1,9 +1,9 @@ SUMMARY = "Resolve JSON Pointers in Python" HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" -inherit pypi +inherit pypi ptest SRC_URI[md5sum] = "741b98d0e693b08b5e44e0a9da5a7bb7" SRC_URI[sha256sum] = "c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362" @@ -11,3 +11,17 @@ SRC_URI[sha256sum] = "c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83 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}/ +} |