diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-02-02 08:13:43 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-14 13:53:35 +0000 |
| commit | 92d3e56e26b882cd294910339a7ef9fb18cb3936 (patch) | |
| tree | d4c11ca7d31df07145cf3c83616e8f3430421c3c /meta/recipes-devtools/python/python3-hypothesis_6.97.3.bb | |
| parent | c60748947c58f23032dd809c1343765ce06f2383 (diff) | |
| download | poky-92d3e56e26b882cd294910339a7ef9fb18cb3936.tar.gz | |
python3-hypothesis: upgrade 6.92.9 -> 6.97.3
Changelog:
https://hypothesis.readthedocs.io/en/latest/changes.html
(From OE-Core rev: 4fd3ee9e8504af687c966e85c944854c509e4cc7)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.97.3.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-hypothesis_6.97.3.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.97.3.bb b/meta/recipes-devtools/python/python3-hypothesis_6.97.3.bb new file mode 100644 index 0000000000..c93727f36c --- /dev/null +++ b/meta/recipes-devtools/python/python3-hypothesis_6.97.3.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 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 | |||
| 8 | inherit pypi setuptools3 ptest | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | file://test_binary_search.py \ | ||
| 13 | file://test_rle.py \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[sha256sum] = "00216ddadaee17ba73451e262f973970a97d34fd75ec34ef57510147264c34d1" | ||
| 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 | " | ||
| 28 | |||
| 29 | RDEPENDS:${PN}-ptest += " \ | ||
| 30 | ${PYTHON_PN}-unittest-automake-output \ | ||
| 31 | " | ||
| 32 | |||
| 33 | do_install_ptest() { | ||
| 34 | install -d ${D}${PTEST_PATH}/examples | ||
| 35 | install -m 0755 ${WORKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/ | ||
| 36 | install -m 0755 ${WORKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/ | ||
| 37 | } | ||
| 38 | |||
| 39 | BBCLASSEXTEND = "native nativesdk" | ||
