Files
poky/meta/recipes-devtools/python/python3-hypothesis_6.135.16.bb
Wang Mingyu 8297100647 python3-hypothesis: upgrade 6.135.9 -> 6.135.16
(From OE-Core rev: 2fc7c4917c33c84573e842f847d1df725e09d9cd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00

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] = "6131ea0b698e69bad62aae915988b8d00a6ac974351d0830db74c5fffc68c418"
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"