summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-hypothesis_6.82.0.bb
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2023-07-23 08:44:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-25 15:27:33 +0100
commite82334a9075d16e05d7bc4ca2ffbb6eed657f835 (patch)
tree8842b4367f6ae7569799d4d786d36c1be9fcbd78 /meta/recipes-devtools/python/python3-hypothesis_6.82.0.bb
parentdb4946b66f1ee733b8d106c30bf142e3b7fa0770 (diff)
downloadpoky-e82334a9075d16e05d7bc4ca2ffbb6eed657f835.tar.gz
python3-hypothesis: upgrade 6.81.2 -> 6.82.0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-82-0 6.82.0 - 2023-07-20 * from_regex() now supports the atomic grouping ((?>...)) and possessive quantifier (*+, ++, ?+, {m,n}+) syntax added in Python 3.11. Thanks to Cheuk Ting Ho for implementing this! (From OE-Core rev: 4d41717cf4c0a71d0c220e9f3633d07af0184472) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.82.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.82.0.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.82.0.bb b/meta/recipes-devtools/python/python3-hypothesis_6.82.0.bb
new file mode 100644
index 0000000000..0aeeae1019
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.82.0.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] = "ffece8e40a34329e7112f7408f2c45fe587761978fdbc6f4f91bf0d683a7d4d9"
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 ${PYTHON_PN}-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"