<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">The opencv-python package needs to clone a subrepo of opencv4 as part of the build. See:<div><br></div><div><a href="https://pypi.org/project/opencv-python/">https://pypi.org/project/opencv-python/</a></div><div><a href="https://github.com/skvark/opencv-python">https://github.com/skvark/opencv-python</a></div><div><br></div><div>How should this be done within a Portfile? Effectively, `git clone <a href="https://github.com/opencv/opencv.git">https://github.com/opencv/opencv.git</a>` must be run in the pre-build stage.</div><div><br></div><div>It must be a proper git repo—installing the opencv4 port isn’t enough.</div></body></html>