[meta-python][PATCH 1/2] python3-pytest-timeout: Add runtime dependencies

Leon Anavi <[email protected]>
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
Add a DESCRIPTION and extend the runtime dependencies of the recipe
for pytest-timeout, a pytest plugin to abort hanging tests.

Signed-off-by: Leon Anavi <[email protected]>
---
 .../python/python3-pytest-timeout_2.4.0.bb        | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb
index 6d7901f5e7..c30e7a1ddd 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb
@@ -1,13 +1,18 @@
-SUMMARY = "py.test plugin to abort hanging tests"
+SUMMARY = "pytest plugin to abort hanging tests"
+DESCRIPTION = "pytest plugin to abort hanging tests"
 HOMEPAGE = "https://github.com/pytest-dev/pytest-timeout/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d8048cd156eda3df2e7f111b0ae9ceff"
 
 SRC_URI[sha256sum] = "7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a"
 
-inherit pypi python_setuptools_build_meta
-
-RDEPENDS:${PN} = "python3-pytest"
-
 PYPI_PACKAGE = "pytest_timeout"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += "\
+    python3-core \
+    python3-pytest \
+    python3-pexpect \
+"
-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.