Skip to content

Commit ba36bdd

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 ba36bdd

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

ci/constants.py

Lines changed: 9 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',
@@ -96,9 +97,15 @@ class TargetPython(Enum):
9697
'sympy',
9798
'vlc',
9899
])
100+
BROKEN_RECIPES_PYTHON2 = set([
101+
])
102+
# to be created via https://github.com/kivy/python-for-android/issues/1514
103+
BROKEN_RECIPES_PYTHON3 = set([
104+
])
99105

100106
BROKEN_RECIPES = {
101107
TargetPython.python2: BROKEN_RECIPES_PYTHON2,
108+
TargetPython.python2legacy: BROKEN_RECIPES_PYTHON2LEGACY,
102109
TargetPython.python3: BROKEN_RECIPES_PYTHON3,
103110
}
104111
# recipes that were already built will be skipped

0 commit comments

Comments
 (0)