diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb index 7c3c23b22..c3fd37c8b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb @@ -6,7 +6,20 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f48972abe5cddee79e301574742ed745" SRC_URI[md5sum] = "14753ed28678828b1de73f68b04e2324" SRC_URI[sha256sum] = "6e4bb7ace4226a45d9c8c8b1348b3fc43540658359f93c3f7e03efa9f15f658a" -inherit pypi setuptools3 +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} RDEPENDS_${PN} += "python3-simplejson python3-math" |