Skip to contentSkip to conversation

python3-pyatspi: restrict with GTK2DISTROFEATURES

PATCH New Martin Jansa 1 participant 1 message Sep 3, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pyatspi: restrict with GTK2DISTROFEATURES

* 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.

---
 meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb +4 -0
index 6d80c10915..c60d40e3a2 100644
@@ -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/*"
Signature · 1 line
2.17.1