From d1394e77075d5f8215fd075ef6643228d02e496c Mon Sep 17 00:00:00 2001 From: wangmy Date: Mon, 7 Mar 2022 20:20:33 +0800 Subject: 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 Signed-off-by: Richard Purdie --- .../python/python3-hypothesis_6.39.2.bb | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.39.2.bb') 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 @@ +SUMMARY = "A library for property-based testing" +HOMEPAGE = "https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python" +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c" + +PYPI_PACKAGE = "hypothesis" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ + file://test_binary_search.py \ + file://test_rle.py \ + " + +SRC_URI[sha256sum] = "7a16ba804baeebdcc5dc4638c32c5fc3fc552c1be30ae21a84c5d9c802b06e31" + +RDEPENDS:${PN} += " \ + python3-attrs \ + python3-compression \ + python3-core \ + python3-json \ + python3-sortedcontainers \ + python3-statistics \ + python3-unittest \ + " + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + " + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/examples + install -m 0755 ${WORKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/ + install -m 0755 ${WORKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf