From 7dacb677c7651b7eebd8408e5f7157cdee4cf738 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 4 Mar 2025 17:09:05 +0800 Subject: python3-hypothesis: upgrade 6.125.3 -> 6.127.4 Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html (From OE-Core rev: 456c1d3b58b73ae97b97235d7b584c8c5d5bbe73) Signed-off-by: Wang Mingyu Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../python/python3-hypothesis_6.127.4.bb | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-hypothesis_6.127.4.bb (limited to 'meta/recipes-devtools/python/python3-hypothesis_6.127.4.bb') diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.127.4.bb b/meta/recipes-devtools/python/python3-hypothesis_6.127.4.bb new file mode 100644 index 0000000000..d5ea706b9a --- /dev/null +++ b/meta/recipes-devtools/python/python3-hypothesis_6.127.4.bb @@ -0,0 +1,40 @@ +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] = "3ab8dd0e2d985ea90169b0b0e5b77ef3a7bcaf3fc6bb038927a4e977e3477908" + +RDEPENDS:${PN} += " \ + python3-attrs \ + python3-compression \ + python3-core \ + python3-json \ + python3-pytest \ + python3-sortedcontainers \ + python3-statistics \ + python3-unittest \ + python3-zoneinfo \ + " + +RDEPENDS:${PN}-ptest += " \ + python3-unittest-automake-output \ + " + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/examples + install -m 0755 ${UNPACKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/ + install -m 0755 ${UNPACKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf