diff options
Diffstat (limited to 'recipes-devtools/python/python-dbus_1.2.14.bb')
-rw-r--r-- | recipes-devtools/python/python-dbus_1.2.14.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-dbus_1.2.14.bb b/recipes-devtools/python/python-dbus_1.2.14.bb index 409e9a3..3ac6c27 100644 --- a/recipes-devtools/python/python-dbus_1.2.14.bb +++ b/recipes-devtools/python/python-dbus_1.2.14.bb @@ -30,3 +30,5 @@ do_install_append() { # Remove files that clash with python3-dbus; their content is same rm ${D}${includedir}/dbus-1.0/dbus/dbus-python.h ${D}${libdir}/pkgconfig/dbus-python.pc } + +PNBLACKLIST[python-dbus] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}" |