Needed for ptests to pass

Signed-off-by: Khem Raj <[email protected]>
---
v2: Add coreutils dep for printenv utility used in ptests

 .../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..a63bd7ae28 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('DISTRO_FEATURES', 'ptest', ' 
cli', '', d)}"
 PACKAGECONFIG[cli] = ",,,python3-click"

 PYPI_PACKAGE = "python_dotenv"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"

 RDEPENDS:${PN}-ptest += "\
+    coreutils \
     python3-sh \
 "
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#121810): 
https://lists.openembedded.org/g/openembedded-devel/message/121810
Mute This Topic: https://lists.openembedded.org/mt/116352888/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to