diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-04-21 09:58:51 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-20 21:45:13 -0700 |
commit | e6fed1c1ed33d54a50a43a1c9ed9abd7b7c61cce (patch) | |
tree | 45393655ffc9c8436ba5c566807aab0b37a6c13e /meta-python/recipes-devtools/python/python-jsonpointer.inc | |
parent | 139b83eec2a52805ee83f8deddfa173c7672fce8 (diff) | |
download | meta-openembedded-e6fed1c1ed33d54a50a43a1c9ed9abd7b7c61cce.tar.gz |
python3-jsonpointer: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-jsonpointer.inc')
-rw-r--r-- | meta-python/recipes-devtools/python/python-jsonpointer.inc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-jsonpointer.inc b/meta-python/recipes-devtools/python/python-jsonpointer.inc index b6e4836ef2..3e41b70b82 100644 --- a/meta-python/recipes-devtools/python/python-jsonpointer.inc +++ b/meta-python/recipes-devtools/python/python-jsonpointer.inc | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" |
5 | 5 | ||
6 | inherit pypi | 6 | inherit pypi ptest |
7 | 7 | ||
8 | SRC_URI[md5sum] = "741b98d0e693b08b5e44e0a9da5a7bb7" | 8 | SRC_URI[md5sum] = "741b98d0e693b08b5e44e0a9da5a7bb7" |
9 | SRC_URI[sha256sum] = "c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362" | 9 | SRC_URI[sha256sum] = "c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362" |
@@ -13,3 +13,15 @@ RDEPENDS_${PN} += " \ | |||
13 | " | 13 | " |
14 | 14 | ||
15 | BBCLASSEXTEND = "native nativesdk" | 15 | BBCLASSEXTEND = "native nativesdk" |
16 | |||
17 | SRC_URI += " \ | ||
18 | file://run-ptest \ | ||
19 | " | ||
20 | |||
21 | RDEPENDS_${PN}-ptest += " \ | ||
22 | ${PYTHON_PN}-pytest \ | ||
23 | " | ||
24 | |||
25 | do_install_ptest() { | ||
26 | cp -f ${S}/tests.py ${D}${PTEST_PATH}/ | ||
27 | } | ||