[OE-core] [meta-python][PATCH] python3-importlib-metadata: revert RDEPEND python3-misc only for target and nativesdk"

Nicola Lunghi nick83ola at gmail.com
Tue Nov 19 16:11:12 UTC 2019


This commit: fcda3fb1a3fbfac075325482074898dfb7138da7
  python3-importlib-metadata: RDEPEND python3-misc only for target and nativesdk

Was actually mascherading an error in the python3 recipe
(missing RPROVIDES for python3-misc-native) that has been fixed in commit

python3: add python3-misc-native to RPROVIDES

in oe-core.

Revert it to restore the previous state of the recipe.

(also this commit was introducing an error:
  += with class target was overriding the RDEPENDS for every target instead
  of appending to it. the right patch would have been:

  RDEPENDS_${PN}_append_class-target = " python3-misc"
  RDEPENDS_${PN}_append_class-nativesdk = " python3-misc"
)

Signed-off-by: Nicola Lunghi <nick83ola at gmail.com>
---
 .../recipes-devtools/python/python3-importlib-metadata_0.23.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb b/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
index 851d703c9..4c53d5fbb 100644
--- a/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
+++ b/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
@@ -1,5 +1,4 @@
 inherit pypi setuptools3
 require python-importlib-metadata.inc
 
-RDEPENDS_${PN}_class-target += "python3-misc"
-RDEPENDS_${PN}_class-nativesdk += "python3-misc"
+RDEPENDS_${PN} += "python3-misc"
-- 
2.20.1



More information about the Openembedded-core mailing list