diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.135.29.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-hypothesis_6.135.29.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.135.29.bb b/meta/recipes-devtools/python/python3-hypothesis_6.135.29.bb new file mode 100644 index 0000000000..0795e8a507 --- /dev/null +++ b/meta/recipes-devtools/python/python3-hypothesis_6.135.29.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | SUMMARY = "A library for property-based testing" | ||
| 2 | HOMEPAGE = "https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python" | ||
| 3 | LICENSE = "MPL-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c" | ||
| 5 | |||
| 6 | PYPI_PACKAGE = "hypothesis" | ||
| 7 | PTEST_PYTEST_DIR ?= "examples" | ||
| 8 | |||
| 9 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
| 10 | |||
| 11 | SRC_URI += " \ | ||
| 12 | file://test_binary_search.py \ | ||
| 13 | file://test_rle.py \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[sha256sum] = "871acb38ff61346a420267f81f4ba05ad9a85d08965211edf9b29bc0c1ad9d7b" | ||
| 17 | |||
| 18 | RDEPENDS:${PN} += " \ | ||
| 19 | python3-attrs \ | ||
| 20 | python3-compression \ | ||
| 21 | python3-core \ | ||
| 22 | python3-json \ | ||
| 23 | python3-pytest \ | ||
| 24 | python3-sortedcontainers \ | ||
| 25 | python3-statistics \ | ||
| 26 | python3-unittest \ | ||
| 27 | python3-zoneinfo \ | ||
| 28 | " | ||
| 29 | |||
| 30 | do_install_ptest:append() { | ||
| 31 | install -d ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR} | ||
| 32 | install -m 0755 ${UNPACKDIR}/test_binary_search.py ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR}/ | ||
| 33 | install -m 0755 ${UNPACKDIR}/test_rle.py ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR}/ | ||
| 34 | } | ||
| 35 | |||
| 36 | BBCLASSEXTEND = "native nativesdk" | ||
