diff options
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-geojson/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb | 14 |
2 files changed, 1 insertions, 16 deletions
diff --git a/meta-python/recipes-devtools/python/python3-geojson/run-ptest b/meta-python/recipes-devtools/python/python3-geojson/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-geojson/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb b/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb index c7bf433d42..9ee6d580b2 100644 --- a/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb | |||
| @@ -5,19 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a" | |||
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903" | 6 | SRC_URI[sha256sum] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903" |
| 7 | 7 | ||
| 8 | inherit pypi setuptools3 ptest | 8 | inherit pypi setuptools3 ptest-python-pytest |
| 9 | |||
| 10 | SRC_URI += "file://run-ptest" | ||
| 11 | |||
| 12 | RDEPENDS:${PN}-ptest += " \ | ||
| 13 | python3-pytest \ | ||
| 14 | python3-unittest-automake-output \ | ||
| 15 | " | ||
| 16 | |||
| 17 | do_install_ptest() { | ||
| 18 | install -d ${D}${PTEST_PATH}/tests | ||
| 19 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 20 | } | ||
| 21 | 9 | ||
| 22 | RDEPENDS:${PN} += "python3-simplejson python3-math" | 10 | RDEPENDS:${PN} += "python3-simplejson python3-math" |
| 23 | 11 | ||
