python3-python-dotenv: Add missing rdep on click module and coreutils
PATCH v2 1/1 python3-python-dotenv: Add missing rdep on click module and coreutils
Needed for ptests to pass
---
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(-)
meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb +3 -1
@@ -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 \ "
Quoted 23 lines · Khem Raj via lists.openembedded.org
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(-)(quoted diff) +0
-0python3-python-dotenv_1.2.1.bb b/meta-python/recipes-devtools/python/ python3-python-dotenv_1.2.1.bb
index58784fcf2e..a63bd7ae28100644meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb +0
-0@@ -11,12 +11,14 @@ SRC_URI +="file://0001-test_main.py-skip-two-test-when-running-as-root.patch"
inherit pypipython_setuptools_build_metaptest-python-pytest# Uncomment this line to enable all the optional features.
meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb +2
-1-#PACKAGECONFIG ?= "cli" +PACKAGECONFIG ?= "" +PACKAGECONFIG:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest',
Quoted 2 lines
' cli', '', d)}"
Should this use PTEST_ENABLED instead in case there's a native version of this recipe in future?
Quoted 24 lines · Anuj Mittal
Quoted 19 lines · Khem Raj via lists.openembedded.org
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(-)(quoted diff) +0
-0python3-python-dotenv_1.2.1.bb b/meta-python/recipes-devtools/python/ python3-python-dotenv_1.2.1.bb
index58784fcf2e..a63bd7ae28100644meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb +0
-0@@ -11,12 +11,14 @@ SRC_URI +="file://0001-test_main.py-skip-two-test-when-running-as-root.patch"
inherit pypipython_setuptools_build_metaptest-python-pytest
Quoted 10 lines
Quoted 6 lines
# Uncomment this line to enable all the optional features.
meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb +2
-1-#PACKAGECONFIG ?= "cli" +PACKAGECONFIG ?= "" +PACKAGECONFIG:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest',' cli', '', d)}"
Should this use
PTEST_ENABLEDinstead in case there's a native version of this recipe in future?
yes, that is a better check