Files
poky/meta/recipes-devtools/python/python3-hypothesis_6.123.2.bb
Richard Purdie 0fe3cdf905 python3-hypothesis: upgrade 6.122.6 -> 6.123.2
(From OE-Core rev: 316ae45adbe150792a1e095bd5b0777937578e8b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 10:51:27 +00:00

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] = "02c25552783764146b191c69eef69d8375827b58a75074055705ab8fdbc95fc5"
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"