mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-15 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-14 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-13 6.98.15 - 2024-02-29 * This release adds support for the Array API’s 2023.12 release via the api_version argument in make_strategies_namespace(). The API additions and modifications in the 2023.12 spec do not necessitate any changes in the Hypothesis strategies, hence there is no distinction between a 2022.12 and 2023.12 strategies namespace. 6.98.14 - 2024-02-29 * This patch adjusts the printing of bundle values to correspond with their names when using stateful testing. 6.98.13 - 2024-02-27 * This patch implements filter-rewriting for text() and binary() with the search(), match(), or fullmatch() method of a re.compile()d regex. (From OE-Core rev: 18ac6584ed92c0ff037076c9977b68dae5fddb44) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
40 lines
1.0 KiB
BlitzBasic
40 lines
1.0 KiB
BlitzBasic
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] = "1e31210951511b24ce8b3b6e04d791c466385a30ac3af571bf2223954b025d77"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-attrs \
|
|
python3-compression \
|
|
python3-core \
|
|
python3-json \
|
|
python3-pytest \
|
|
python3-sortedcontainers \
|
|
python3-statistics \
|
|
python3-unittest \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-unittest-automake-output \
|
|
"
|
|
|
|
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"
|