mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 19:53:03 +01:00
python3-hypothesis: upgrade 6.39.5 -> 6.41.0
Changelog: ========= This release changes the implementation of "infer" to be an alias for "Ellipsis". E.g. "@given(a=infer)" is now equivalent to "@given(a=...)". Furthermore, "@given(...)" can now be specified so that "@given" will infer the strategies for all arguments of the decorated function based on its annotations. (From OE-Core rev: 394fa87b68d6b0030a2d706ce70c2d5c28c4304b) Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
38
meta/recipes-devtools/python/python3-hypothesis_6.41.0.bb
Normal file
38
meta/recipes-devtools/python/python3-hypothesis_6.41.0.bb
Normal file
@@ -0,0 +1,38 @@
|
||||
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] = "de48abb676fc76e4397cd002926e5747cef518570d132221244d27e1075c0bec"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-attrs \
|
||||
python3-compression \
|
||||
python3-core \
|
||||
python3-json \
|
||||
python3-sortedcontainers \
|
||||
python3-statistics \
|
||||
python3-unittest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/examples
|
||||
install -m 0755 ${WORKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/
|
||||
install -m 0755 ${WORKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user