Skip to content

Commit 5da0c8c

Browse files
committed
Make no-ast-str.patch conditional on Kivy version.
Only apply no-ast-str.patch for Kivy versions below 3.0, since Kivy 3 no longer needs it.
1 parent 869c74b commit 5da0c8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pythonforandroid/recipes/kivy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class KivyRecipe(PyProjectRecipe):
4343
patches = [
4444
("sdl-gl-swapwindow-nogil.patch", is_kivy_affected_by_deadlock_issue),
4545
("use_cython.patch", is_kivy_less_than_3),
46-
"no-ast-str.patch"
46+
("no-ast-str.patch", is_kivy_less_than_3),
4747
]
4848

4949
@property

0 commit comments

Comments
 (0)