wok-current view python-pygame/stuff/config.patch @ rev 20664

Up code2 (3995)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 15 17:26:52 2019 +0100 (2019-01-15)
parents
children
line source
1 Index: config_unix.py
2 ===================================================================
3 --- config_unix.py (revision 2567)
4 +++ config_unix.py (working copy)
5 @@ -174,7 +174,7 @@
7 for d in DEPS[1:]:
8 if not d.found:
9 - if not confirm("""
10 + if "-auto" not in sys.argv and not confirm("""
11 Warning, some of the pygame dependencies were not found. Pygame can still
12 compile and install, but games that depend on those missing dependencies
13 will not run. Would you like to continue the configuration?"""):
14 Index: config_msys.py
15 ===================================================================
16 --- config_msys.py (revision 2567)
17 +++ config_msys.py (working copy)
18 @@ -283,7 +283,7 @@
20 for d in DEPS[1:]:
21 if not d.found:
22 - if not confirm("""
23 + if "-auto" not in sys.argv and not confirm("""
24 Warning, some of the pygame dependencies were not found. Pygame can still
25 compile and install, but games that depend on those missing dependencies
26 will not run. Would you like to continue the configuration?"""):