Commit 74b4537c authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'fix_opencv_subpackage_dependencies' into 'master'

Fix sub-packages dependency specification

See merge request !462
parents 99d198fc 41c84867
Pipeline #47331 passed with stage
in 10 minutes and 16 seconds
......@@ -46,7 +46,7 @@ build:
run_exports:
# https://abi-laboratory.pro/index.php?view=timeline&l=opencv
# Things seem to change every patch versions, mostly the dnn module
- {{ pin_subpackage('libopencv', max_pin='x.x.x') }}
- libopencv
requirements:
build:
......@@ -88,7 +88,6 @@ requirements:
run:
# Don't depend on python in the run section
# py-opencv will depend on python
- {{ pin_compatible('harfbuzz') }} # [unix]
......@@ -179,17 +178,13 @@ outputs:
- name: py-opencv
build:
run_exports:
# Should we even have this???
# don't pin the python version so hard.
# Actually, I have found pretty good compatibility in the python
# package
- {{ pin_subpackage('py-opencv') }}
- py-opencv
requirements:
# There is no build script, but I just want it to think
# that it needs python and numpy at build time
host:
- python
- numpy
- python {{ python }}
- numpy {{ numpy }}
run:
- python
- {{ pin_compatible('numpy') }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment