Files
poky/meta/recipes-devtools/python/python3-hypothesis_6.131.0.bb
Lei Maohui 7929ce986b python3-hypothesis: upgrade 6.129.2 -> 6.131.0
This package change to be built using python_setuptools_build_meta build class now

Changelog:
https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/docs/changelog.rst

ptest result:
|Testsuite summary
|# TOTAL: 5
|# PASS: 5
|# SKIP: 0
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 23
|END: /usr/lib/python3-hypothesis/ptest
|2025-04-15T10:17
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: 320de457c963041819078cf83a8631fcb812dda3)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01: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 python_setuptools_build_meta ptest
SRC_URI += " \
file://run-ptest \
file://test_binary_search.py \
file://test_rle.py \
"
SRC_URI[sha256sum] = "4b807daeeee47852edfd9818ba0e33df14902f1b78a5524f1a3fb71f80c7cec3"
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"