gpgme: disable python support (until upstream fixes 3.12 compatibility)

The only consumer in oe-core was dnf, and latest dnf releases no longer
use it. There are no consumers in meta-oe.

gpgme's python support is generally a pain to support, and lags
behind upstream python versions. It was enabled in

commit fc6c81da79
Author: Mark Hatle <mark.hatle@windriver.com>
Date:   Tue Mar 7 12:54:33 2017 -0600

    gpgme: Fix issue building for the target

which wasn't prompted by any consumer requiring python,
but rather to correct build errors in absence of specific
configuration passed in.

(From OE-Core rev: 6d82ce8c16e724d5bba088b3a3d05c1690e47862)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2023-12-15 08:52:04 +01:00
committed by Richard Purdie
parent 398b979449
commit 143686fe48

View File

@@ -43,7 +43,7 @@ BINCONFIG = "${bindir}/gpgme-config"
# support. Since these bindings are currently not needed, we can disable them.
DEFAULT_LANGUAGES = ""
DEFAULT_LANGUAGES:class-target = "cpp"
LANGUAGES ?= "${DEFAULT_LANGUAGES} python"
LANGUAGES ?= "${DEFAULT_LANGUAGES}"
PYTHON_INHERIT = "${@bb.utils.contains('LANGUAGES', 'python', 'setuptools3-base', '', d)}"