diff options
| author | Tim Orling <ticotimo@gmail.com> | 2023-03-01 10:10:40 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-03 18:03:56 +0000 |
| commit | bfb412e848ff23ebf1e0ac96d650362da601a244 (patch) | |
| tree | 10942c552a28f391def30709662d89f80feb270c /meta/recipes-devtools/python/python3-hypothesis_6.68.2.bb | |
| parent | b3c9b6033aec736c4e831fd99fd5da594e77be92 (diff) | |
| download | poky-bfb412e848ff23ebf1e0ac96d650362da601a244.tar.gz | |
python3-hypothesis: upgrade 6.68.1 -> 6.68.2
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-68-2
6.68.2 - 2023-02-17
This patch fixes missing imports of the re module, when ghostwriting tests
which include compiled patterns or regex flags. Thanks to Jens Heinrich for
reporting and promptly fixing this bug!
(From OE-Core rev: 9fdfc5dfa09fc97409ee9ff6fafae3fd1bb523cf)
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.68.2.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-hypothesis_6.68.2.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.68.2.bb b/meta/recipes-devtools/python/python3-hypothesis_6.68.2.bb new file mode 100644 index 0000000000..23e842f2e2 --- /dev/null +++ b/meta/recipes-devtools/python/python3-hypothesis_6.68.2.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 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] = "a7eb2b0c9a18560d8197fe35047ceb58e7e8ab7623a3e5a82613f6a2cd71cffa" | ||
| 17 | |||
| 18 | RDEPENDS:${PN} += " \ | ||
| 19 | python3-attrs \ | ||
| 20 | python3-compression \ | ||
| 21 | python3-core \ | ||
| 22 | python3-json \ | ||
| 23 | python3-sortedcontainers \ | ||
| 24 | python3-statistics \ | ||
| 25 | python3-unittest \ | ||
| 26 | " | ||
| 27 | |||
| 28 | RDEPENDS:${PN}-ptest += " \ | ||
| 29 | ${PYTHON_PN}-pytest \ | ||
| 30 | " | ||
| 31 | |||
| 32 | do_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 | |||
| 38 | BBCLASSEXTEND = "native nativesdk" | ||
