diff options
Diffstat (limited to 'meta-python')
3 files changed, 20 insertions, 1 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 19566e4661..acb09aacad 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
| @@ -19,6 +19,7 @@ PTESTS_FAST_META_PYTHON = "\ | |||
| 19 | python3-click \ | 19 | python3-click \ |
| 20 | python3-dominate \ | 20 | python3-dominate \ |
| 21 | python3-execnet \ | 21 | python3-execnet \ |
| 22 | python3-flexcache \ | ||
| 22 | python3-freezegun \ | 23 | python3-freezegun \ |
| 23 | python3-geojson \ | 24 | python3-geojson \ |
| 24 | python3-google-auth-oauthlib \ | 25 | python3-google-auth-oauthlib \ |
diff --git a/meta-python/recipes-devtools/python/python3-flexcache/run-ptest b/meta-python/recipes-devtools/python/python3-flexcache/run-ptest new file mode 100644 index 0000000000..8d2017d39c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flexcache/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb b/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb index 509a6a42eb..165783c9f5 100644 --- a/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb +++ b/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb | |||
| @@ -5,6 +5,21 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144" | |||
| 5 | DEPENDS += "python3-setuptools-scm-native" | 5 | DEPENDS += "python3-setuptools-scm-native" |
| 6 | SRC_URI[sha256sum] = "18743bd5a0621bfe2cf8d519e4c3bfdf57a269c15d1ced3fb4b64e0ff4600656" | 6 | SRC_URI[sha256sum] = "18743bd5a0621bfe2cf8d519e4c3bfdf57a269c15d1ced3fb4b64e0ff4600656" |
| 7 | 7 | ||
| 8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta ptest |
| 9 | PYPI_PACKAGE = "flexcache" | 9 | PYPI_PACKAGE = "flexcache" |
| 10 | |||
| 11 | SRC_URI += " \ | ||
| 12 | file://run-ptest \ | ||
| 13 | " | ||
| 14 | |||
| 15 | RDEPENDS:${PN}-ptest += " \ | ||
| 16 | python3-pytest \ | ||
| 17 | python3-unittest-automake-output \ | ||
| 18 | " | ||
| 19 | |||
| 20 | do_install_ptest() { | ||
| 21 | install -d ${D}${PTEST_PATH}/testsuite | ||
| 22 | cp -rf ${S}/flexcache/testsuite/* ${D}${PTEST_PATH}/testsuite/ | ||
| 23 | } | ||
| 24 | |||
| 10 | RDEPENDS:${PN} = "python3-typing-extensions" | 25 | RDEPENDS:${PN} = "python3-typing-extensions" |
