mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
Changelog: https://hypothesis.readthedocs.io/en/latest/changelog.html Reproducibility OK. ptests OK: |============================================================================ |Testsuite summary |# TOTAL: 5 |# PASS: 5 |# SKIP: 0 |# XFAIL: 0 |# FAIL: 0 |# XPASS: 0 |# ERROR: 0 |DURATION: 0 |END: /usr/lib/python3-hypothesis/ptest |2025-10-21T17:36 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 (From OE-Core rev: ee5399b45c3c0de52b8bcbbb6cd831d48fe2bbdc) 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] = "c4204a2ce327e45fbaf83a2b58142a285135698dc1d08e368ae9901f06b49e64"
|
|
|
|
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"
|