mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
python3-pluggy: upgrade 1.0.0 -> 1.2.0
Changelog: ========== #405: The new-style hook wrappers, added in the yanked 1.1.0 release, now require an explicit wrapper=True designation in the @hookimpl() decorator. #364: Python 3.6 is no longer supported. #260: Added "new-style" hook wrappers, a simpler but equally powerful alternative to the existing hookwrapper=True wrappers. #364: Python 3.11 and 3.12 are now officially supported. #394: Added the :meth:`~pluggy._callers._Result.force_exception` method to _Result. (From OE-Core rev: 5e9e7c60698ebcbe4a774283bad54c6bcf675a7f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ac297ca95c
commit
14ddbedbd2
29
meta/recipes-devtools/python/python3-pluggy_1.2.0.bb
Normal file
29
meta/recipes-devtools/python/python3-pluggy_1.2.0.bb
Normal file
@@ -0,0 +1,29 @@
|
||||
SUMMARY = "Plugin and hook calling mechanisms for python"
|
||||
HOMEPAGE = "https://github.com/pytest-dev/pluggy"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
|
||||
|
||||
SRC_URI[sha256sum] = "d12f0c4b579b15f5e054301bb226ee85eeeba08ffec228092f8defbaa3a4c4b3"
|
||||
|
||||
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
|
||||
RDEPENDS:${PN} += "${PYTHON_PN}-importlib-metadata \
|
||||
${PYTHON_PN}-more-itertools \
|
||||
"
|
||||
|
||||
inherit pypi ptest python_setuptools_build_meta
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
${PYTHON_PN}-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/testing
|
||||
cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user