mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
Changelog: (https://hypothesis.readthedocs.io/en/latest/changelog.html#changelog): 6.139.2: - Internal refactoring for new lint rules. 6.139.1: - Fixed another typo in error message around function-scoped fixtures. 6.139.0: - Add get_current_profile_name(), which returns the name of the current settings profile. 6.138.17: - Fixed typo in error message around function-scoped fixtures. 6.138.16: - Improved error message for DeadlineExceeded. Reproducibility OK. ptests look OK: |============================================================================ |Testsuite summary |# TOTAL: 5 |# PASS: 5 |# SKIP: 0 |# XFAIL: 0 |# FAIL: 0 |# XPASS: 0 |# ERROR: 0 |DURATION: 1 |END: /usr/lib/python3-hypothesis/ptest |2025-09-19T15:53 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 (From OE-Core rev: 4f7daa9268353ee7f00d5d3e90996f069ea798c4) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.0 KiB
BlitzBasic
37 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"
|
|
PTEST_PYTEST_DIR ?= "examples"
|
|
|
|
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
|
|
|
SRC_URI += " \
|
|
file://test_binary_search.py \
|
|
file://test_rle.py \
|
|
"
|
|
|
|
SRC_URI[sha256sum] = "2dc2ff36ea977a9cb7fb68f24a5dbf5d673b88a2e502212676eafe09b699f511"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-attrs \
|
|
python3-compression \
|
|
python3-core \
|
|
python3-json \
|
|
python3-pytest \
|
|
python3-sortedcontainers \
|
|
python3-statistics \
|
|
python3-unittest \
|
|
python3-zoneinfo \
|
|
"
|
|
|
|
do_install_ptest:append() {
|
|
install -d ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR}
|
|
install -m 0755 ${UNPACKDIR}/test_binary_search.py ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR}/
|
|
install -m 0755 ${UNPACKDIR}/test_rle.py ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR}/
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|