Skip to content

Commit c61cc84

Browse files
committed
Add python2legacy to constants.py and move python2's broken recipes to python2legacy
We add python2legacy to be able to test the pygame bootstrap with the rebuild_updated_recipes.py script (it will be implemented in following commit), in case that we modify some pygame related recipe. Also we move the python2's broken recipes to python2legacy because all that where detected with python2legacy not with the current python2
1 parent db53ef6 commit c61cc84

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

ci/constants.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ class TargetPython(Enum):
55
python2 = 0
66
python3crystax = 1
77
python3 = 2
8+
python2legacy = 3
89

910

1011
# recipes that currently break the build
1112
# a recipe could be broken for a target Python and not for the other,
1213
# hence we're maintaining one list per Python target
13-
BROKEN_RECIPES_PYTHON2 = set([
14+
BROKEN_RECIPES_PYTHON2LEGACY = set([
1415
# pythonhelpers.h:12:18: fatal error: string: No such file or directory
1516
'atom',
1617
# https://github.com/kivy/python-for-android/issues/550
@@ -50,7 +51,7 @@ class TargetPython(Enum):
5051
'omemo',
5152
# requires `libpq-dev` system dependency e.g. for `pg_config` binary
5253
'psycopg2',
53-
'pygame',
54+
# 'pygame',
5455
# most likely some setup in the Docker container, because it works in host
5556
'pyjnius', 'pyopenal',
5657
'pyproj',
@@ -66,6 +67,7 @@ class TargetPython(Enum):
6667
'zeroconf',
6768
'zope',
6869
])
70+
# to be created via https://github.com/kivy/python-for-android/issues/1514
6971
BROKEN_RECIPES_PYTHON3 = set([
7072
'brokenrecipe',
7173
# enum34 is not compatible with Python 3.6 standard library
@@ -96,9 +98,13 @@ class TargetPython(Enum):
9698
'sympy',
9799
'vlc',
98100
])
101+
# to be created via https://github.com/kivy/python-for-android/issues/XXXX
102+
BROKEN_RECIPES_PYTHON2 = set([
103+
])
99104

100105
BROKEN_RECIPES = {
101106
TargetPython.python2: BROKEN_RECIPES_PYTHON2,
107+
TargetPython.python2legacy: BROKEN_RECIPES_PYTHON2LEGACY,
102108
TargetPython.python3: BROKEN_RECIPES_PYTHON3,
103109
}
104110
# recipes that were already built will be skipped

0 commit comments

Comments
 (0)