Skip to content

Commit 215a1bd

Browse files
committed
[ci] Enable the opencv recipe for rebuild_updated_recipes
Also, we slightly modify the opencv recipe to force build the opencv recipe in CI tests so this way we will make sure that the recently applied fix works as expected for a recipe which requires a long compilation time
1 parent 0be7b20 commit 215a1bd

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

ci/constants.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ class TargetPython(Enum):
3939
'x3dh',
4040
'pynacl',
4141
'doubleratchet',
42-
# The opencv recipe fails to pass travis tests due to the long processing
43-
# when building it and the lack of console output, so, it's only broken
44-
# for travis, see: https://github.com/kivy/python-for-android/pull/1661
45-
'opencv',
4642
'omemo',
4743
# requires `libpq-dev` system dependency e.g. for `pg_config` binary
4844
'psycopg2',
@@ -72,11 +68,6 @@ class TargetPython(Enum):
7268
'secp256k1',
7369
'ffpyplayer',
7470
'icu',
75-
# https://github.com/kivy/python-for-android/issues/1354
76-
# The opencv recipe fails to pass travis tests due to the long processing
77-
# when building it and the lack of console output, so, it's only broken
78-
# for travis, see: https://github.com/kivy/python-for-android/pull/1661
79-
'opencv',
8071
# requires `libpq-dev` system dependency e.g. for `pg_config` binary
8172
'psycopg2',
8273
'protobuf_cpp',

pythonforandroid/recipes/opencv/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
from os.path import join
22
import sh
33
from pythonforandroid.recipe import NDKRecipe
4-
from pythonforandroid.toolchain import (
5-
current_directory,
6-
shprint,
7-
)
4+
from pythonforandroid.util import current_directory
5+
from pythonforandroid.logger import shprint
86
from multiprocessing import cpu_count
97

108

0 commit comments

Comments
 (0)