From 9ad545c39f42d86d98c2166a28c3b60bb902e051 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 16 Nov 2025 10:04:30 -0800 Subject: [PATCH] python3-python-dotenv: Add missing rdep on click module and coreutils Needed for ptests to pass Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-python-dotenv_1.2.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb b/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb index 58784fcf2e..22b976dd9c 100644 --- a/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb @@ -11,12 +11,14 @@ SRC_URI += "file://0001-test_main.py-skip-two-test-when-running-as-root.patch" inherit pypi python_setuptools_build_meta ptest-python-pytest # Uncomment this line to enable all the optional features. -#PACKAGECONFIG ?= "cli" +PACKAGECONFIG ?= "" +PACKAGECONFIG:append = "${@bb.utils.contains('PTEST_ENABLED', '1', ' cli', '', d)}" PACKAGECONFIG[cli] = ",,,python3-click" PYPI_PACKAGE = "python_dotenv" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN}-ptest += "\ + coreutils \ python3-sh \ "