mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 00:38:45 +01:00
6.57.1 - 2022-11-14 This patch updates some internal type annotations and fixes a formatting bug in the explain phase reporting. 6.57.0 - 2022-11-14 Hypothesis now raises an error if you passed a strategy as the alphabet= argument to text(), and it generated something which was not a length-one string. This has never been supported, we’re just adding explicit validation to catch cases like this StackOverflow question. https://hypothesis.readthedocs.io/en/latest/changes.html#v6-57-1 (From OE-Core rev: 8a4a1fbc7c882a5768d9d5c48edcd92867f7fab4) 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>
39 lines
997 B
BlitzBasic
39 lines
997 B
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] = "1d8ed5136f368e343f39172b06f68aa7fd1312cf643c332ab18a75d56789fa90"
|
|
|
|
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"
|