mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
Changelog: ============ - Improves sharing of some internal cache behavior. - Optimize performance (improves speed by ~5%) and clarify the wording in an error message. - Fixes a bug since around version 6.124.4 where we might have generated -0.0 for st.floats(min_value=0.0), which is unsound. - Add 2024.12 to the list of recognized Array API versions in hypothesis.extra.array_api. - Registration of experimental Alternative backends for Hypothesis is now done via hypothesis.internal.conjecture.providers.AVAILABLE_PROVIDERS instead of hypothesis.internal.conjecture.data.AVAILABLE_PROVIDERS. - Refactor some internals for better type hinting. (From OE-Core rev: d5400f3df7167d6b66a03e90fafff8a483e865ed) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
41 lines
1.0 KiB
BlitzBasic
41 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] = "6276d9d8f7f91ebd7ad95081f004bcf5699afb4d680a8321861cbf3a5de45d3b"
|
|
|
|
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"
|