summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb
diff options
context:
space:
mode:
authorTim Orling <tim.orling@konsulko.com>2024-03-03 18:47:19 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-05 12:24:49 +0000
commit4f1c141ceb21ab314933c49d469c9ed77cbb283a (patch)
tree5efbda1a3212f86c4a9386700cd0e9cba88765a8 /meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb
parent7b64530439c5a3ead9ccde80aa826f6dff1a7bbf (diff)
downloadpoky-4f1c141ceb21ab314933c49d469c9ed77cbb283a.tar.gz
python3-hypothesis: upgrade 6.98.12 -> 6.98.15
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-15 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-14 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-13 6.98.15 - 2024-02-29 * This release adds support for the Array API’s 2023.12 release via the api_version argument in make_strategies_namespace(). The API additions and modifications in the 2023.12 spec do not necessitate any changes in the Hypothesis strategies, hence there is no distinction between a 2022.12 and 2023.12 strategies namespace. 6.98.14 - 2024-02-29 * This patch adjusts the printing of bundle values to correspond with their names when using stateful testing. 6.98.13 - 2024-02-27 * This patch implements filter-rewriting for text() and binary() with the search(), match(), or fullmatch() method of a re.compile()d regex. (From OE-Core rev: 18ac6584ed92c0ff037076c9977b68dae5fddb44) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb')
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb b/meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb
new file mode 100644
index 0000000000..a17abe58c0
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.98.15.bb
@@ -0,0 +1,39 @@
1SUMMARY = "A library for property-based testing"
2HOMEPAGE = "https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python"
3LICENSE = "MPL-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c"
5
6PYPI_PACKAGE = "hypothesis"
7
8inherit pypi setuptools3 ptest
9
10SRC_URI += " \
11 file://run-ptest \
12 file://test_binary_search.py \
13 file://test_rle.py \
14 "
15
16SRC_URI[sha256sum] = "1e31210951511b24ce8b3b6e04d791c466385a30ac3af571bf2223954b025d77"
17
18RDEPENDS:${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
29RDEPENDS:${PN}-ptest += " \
30 python3-unittest-automake-output \
31 "
32
33do_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
39BBCLASSEXTEND = "native nativesdk"