summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-hypothesis_6.35.0.bb
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-01-16 10:04:11 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-17 11:49:12 +0000
commit8b4d7857452b85ba75ab93dcd04ed68ffe2ab507 (patch)
tree0bf46cb66df7924a3ecc8cef63292a1f08c54400 /meta/recipes-devtools/python/python3-hypothesis_6.35.0.bb
parent310fe1261d273b58eb8bc0f7ab839c78ddfad245 (diff)
downloadpoky-8b4d7857452b85ba75ab93dcd04ed68ffe2ab507.tar.gz
python3-hypothesis: upgrade 6.34.1 -> 6.35.0
6.35.0 - 2022-01-08¶ This release disallows using typing.ClassVar with from_type() and register_type_strategy(). Why? Because ClassVar can only be used during class definition. We don’t generate class attributes. It also does not make sense as a runtime type on its own. 6.34.2 - 2022-01-05¶ This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. (From OE-Core rev: 836cec0b8096f157ae7051d34efbe637ff211617) 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.35.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.35.0.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.35.0.bb b/meta/recipes-devtools/python/python3-hypothesis_6.35.0.bb
new file mode 100644
index 0000000000..246ff84f61
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.35.0.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] = "ce3961fff61e7353d022608788cbc9876c293d2468749eeba27511adc9565131"
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"