Skip to content

Commit

Permalink
Add python2legacy to constants.py and move python2's broken recipes t…
Browse files Browse the repository at this point in the history
…o 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
  • Loading branch information
opacam committed Feb 10, 2019
1 parent db53ef6 commit ba36bdd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ci/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ class TargetPython(Enum):
python2 = 0
python3crystax = 1
python3 = 2
python2legacy = 3


# recipes that currently break the build
# a recipe could be broken for a target Python and not for the other,
# hence we're maintaining one list per Python target
BROKEN_RECIPES_PYTHON2 = set([
BROKEN_RECIPES_PYTHON2LEGACY = set([
# pythonhelpers.h:12:18: fatal error: string: No such file or directory
'atom',
# https://github.com/kivy/python-for-android/issues/550
Expand Down Expand Up @@ -50,7 +51,7 @@ class TargetPython(Enum):
'omemo',
# requires `libpq-dev` system dependency e.g. for `pg_config` binary
'psycopg2',
'pygame',
# 'pygame',
# most likely some setup in the Docker container, because it works in host
'pyjnius', 'pyopenal',
'pyproj',
Expand Down Expand Up @@ -96,9 +97,15 @@ class TargetPython(Enum):
'sympy',
'vlc',
])
BROKEN_RECIPES_PYTHON2 = set([
])
# to be created via https://github.com/kivy/python-for-android/issues/1514
BROKEN_RECIPES_PYTHON3 = set([
])

BROKEN_RECIPES = {
TargetPython.python2: BROKEN_RECIPES_PYTHON2,
TargetPython.python2legacy: BROKEN_RECIPES_PYTHON2LEGACY,
TargetPython.python3: BROKEN_RECIPES_PYTHON3,
}
# recipes that were already built will be skipped
Expand Down

0 comments on commit ba36bdd

Please sign in to comment.