mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html): 6.110.1 - 2024-08-08 - Add better error message for ~python:typing.TypeIs types in from_type(). 6.110.0 - 2024-08-07 - Support LiteralString in from_type(). 6.109.1 - 2024-08-07 - This patch makes progress towards adding type hints to our internal conjecture engine (issue #3074). 6.109.0 - 2024-08-07 - This release allows using Annotated and ReadOnly types for TypedDict value types with from_type(). (From OE-Core rev: 20432c7463ff6daab3ea8fc8ceea9c6e7916209c) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.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] = "a138bfaea11aba6daadf8effd9065251a6fec1549f25b7d72ac9881a413f76b0"
|
|
|
|
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 ${UNPACKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/
|
|
install -m 0755 ${UNPACKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|