python3-tenacity: new recipe version 9.1.2

Moved the recipe from meta-homeassistant
  - all credits to them
Added ptest
  - skip one test that fails on qemu

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jan Vermaete
2025-11-25 19:08:43 +01:00
committed by Khem Raj
parent 0856c56132
commit 5489b73633
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
SUMMARY = "Retry code until it succeeds"
HOMEPAGE = "https://github.com/jd/tenacity"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=175792518e4ac015ab6696d16c4f607e"
SRC_URI[sha256sum] = "1169d376c297e7de388d18b4481760d478b0e99a777cad3a9c86e556f4b697cb"
SRC_URI:append = "file://0001-ptest-skip-a-test-that-does-not-pass-on-qemu.patch"
DEPENDS += "python3-setuptools-scm-native"
inherit pypi python_setuptools_build_meta ptest-python-pytest
PYPI_PACKAGE = "tenacity"
RDEPENDS:${PN}-ptest += "\
python3-tornado \
python3-typeguard \
"