summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb
diff options
context:
space:
mode:
authorwangmy <wangmy@fujitsu.com>2022-03-07 20:20:33 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-07 22:44:55 +0000
commitd1394e77075d5f8215fd075ef6643228d02e496c (patch)
treec9971526d158937b5655193020bbbb0e07a79955 /meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb
parentec9fb2e37a4a687c0f18686eba5f3fa6a969bdb9 (diff)
downloadpoky-d1394e77075d5f8215fd075ef6643228d02e496c.tar.gz
python3-hypothesis: upgrade 6.39.0 -> 6.39.2
Changelog from 6.39.0 to 6.39.2 ============================== - fixes a regression where the bound inner function ("your_test.hypothesis.inner_test") would be invoked with positional arguments rather than passing them by name, which broke pytest-asyncio (issue #3245). - clarifies rare error messages in "builds()" (issue #3225) and "floats()" (issue #3207). (From OE-Core rev: ae25cd186c3e0771ef9a3fe10fe7a75c8bde2f66) 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.39.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb b/meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb
new file mode 100644
index 0000000000..01732d0087
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb
@@ -0,0 +1,38 @@
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] = "7a16ba804baeebdcc5dc4638c32c5fc3fc552c1be30ae21a84c5d9c802b06e31"
17
18RDEPENDS:${PN} += " \
19 python3-attrs \
20 python3-compression \
21 python3-core \
22 python3-json \
23 python3-sortedcontainers \
24 python3-statistics \
25 python3-unittest \
26 "
27
28RDEPENDS:${PN}-ptest += " \
29 ${PYTHON_PN}-pytest \
30 "
31
32do_install_ptest() {
33 install -d ${D}${PTEST_PATH}/examples
34 install -m 0755 ${WORKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/
35 install -m 0755 ${WORKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/
36}
37
38BBCLASSEXTEND = "native nativesdk"