[oe] [meta-python][PATCH] python3-pyatspi: restrict with GTK2DISTROFEATURES

Martin Jansa martin.jansa at gmail.com
Tue Sep 3 09:16:01 UTC 2019


* fixes:
  NOTE: Resolving any missing task queue dependencies
  ERROR: Nothing PROVIDES 'gtk+' (but meta-oe/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb DEPENDS on or otherwise requires it)
  gtk+ was skipped: one of 'x11 directfb' needs to be in DISTRO_FEATURES
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'python3-pyatspi', 'gtk+']

  Summary: There was 1 WARNING message shown.
  Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb b/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb
index 6d80c10915..c60d40e3a2 100644
--- a/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb
@@ -11,6 +11,10 @@ SRC_URI = "git://github.com/GNOME/pyatspi2.git;protocol=https;branch=gnome-3-32"
 SRCREV = "dc4565208fca00da06b972915a080ad3c63f640d"
 S = "${WORKDIR}/git" 
 
+# Same restriction as gtk+
+inherit distro_features_check
+ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
+
 inherit pkgconfig autotools python3native
 
 FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyatspi/*"
-- 
2.17.1



More information about the Openembedded-devel mailing list