On Mon May 25, 2020 at 09:29:38AM +0100, Stuart Henderson wrote: > On 2020/05/24 23:13, Rafael Sadowski wrote: > > CVSROOT: /cvs > > Module name: ports > > Changes by: [email protected] 2020/05/24 23:13:53 > > > > Modified files: > > graphics/opencv: Makefile > > graphics/opencv/pkg: PLIST-main > > > > Log message: > > Enable python3 libs in opencv > > > > Requested and tested by solene@ > > Doesn't this need py3-numpy at runtime?
I guess that would make sense, thnaks! > > Is the py2 one really used for anything? If not can it just be moved to > 3-only rather than using this non-standard "py2+3 in the same package" setup? Puhh, I've been thinking about it, too. Unfortunately opencv build depends on py2-only (at first glace) -- Python 2: -- Interpreter: /usr/local/bin/python2.7 (ver 2.7.18) -- Libraries: /usr/local/lib/libpython2.7.so.0.0 (ver 2.7.18) -- numpy: /usr/local/lib/python2.7/site-packages/numpy/core/include (ver 1.16.5) -- install path: lib/python2.7/site-packages/cv2/python-2.7 -- -- Python 3: -- Interpreter: /usr/local/bin/python3 (ver 3.7.7) -- Libraries: /usr/local/lib/libpython3.7m.so.0.0 (ver 3.7.7) -- numpy: /usr/local/lib/python3.7/site-packages/numpy/core/include (ver 1.16.5) -- install path: lib/python3.7/site-packages/cv2/python-3.7 -- -- Python (for build): /usr/local/bin/python2.7 ... I'll take a closer look at it.
