diff mbox series

[meta-python,3/4] python3-kivy: Set KIVY_NO_ARGS=1

Message ID 20250801231332.4167568-3-raj.khem@gmail.com
State New
Headers show
Series None | expand

Commit Message

Khem Raj Aug. 1, 2025, 11:13 p.m. UTC
This fails to compile with latest setuptools3

[ERROR  ] [Core        ] option --verbose not recognized
Kivy Usage: setup.py [KIVY OPTION...] [-- PROGRAM OPTIONS]::

    Options placed after a '-- ' separator, will not be touched by kivy,
    and instead passed to your program.

    Set KIVY_NO_ARGS=1 in your environment or before you import Kivy to
    disable Kivy's argument parser.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-python/recipes-devtools/python/python3-kivy_2.3.1.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.3.1.bb b/meta-python/recipes-devtools/python/python3-kivy_2.3.1.bb
index 4cdc773ba6..a2602a9a81 100644
--- a/meta-python/recipes-devtools/python/python3-kivy_2.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-kivy_2.3.1.bb
@@ -39,6 +39,9 @@  export KIVY_GRAPHICS
 KIVY_CROSS_SYSROOT = "${RECIPE_SYSROOT}"
 export KIVY_CROSS_SYSROOT
 
+KIVY_NO_ARGS = "1"
+export KIVY_NO_ARGS
+
 REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data"
 
 ANY_OF_DISTRO_FEATURES = "x11 wayland"