While working on pygame reverse deps to make them python3 only, I hit some packages, like moviepy, that require opencv, even if moviepy will be python3 only package, we need to temporally allow opencv to have numpy-python2 support until we port all openvc reverse deps to python3 only.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dbf3b3c61635735ec32d0f47d45003968a277e5 commit 2dbf3b3c61635735ec32d0f47d45003968a277e5 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2019-12-25 16:20:16 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2019-12-25 16:57:15 +0000 media-libs/opencv: Needs python_optimize, add python 3.8 support Also needs to support numpy-python2 until reverse deps are handled Bug: https://bugs.gentoo.org/703760 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Pacho Ramos <pacho@gentoo.org> media-libs/opencv/opencv-4.1.2-r3.ebuild | 502 +++++++++++++++++++++++++++++++ 1 file changed, 502 insertions(+)
On my system the issue seems to be that opencv *does not* depend on numpy-python2, but on numpy instead, which no longer supports python2 in current versions, so I run into a blocker that portage cannot resolve on its own.
That's because that commit was reverted. > commit 9658bbc6ca13834811125bcbd477033d09ab27c8 > Date: Thu Dec 26 15:42:19 2019 +0100 > > media-libs/opencv: [QA] Revert "Needs python_optimize, add python 3.8 support" > > * We need to bifurcate the py2/py3 depgraph of numpy atomically, > in order to avoid misleading and weird blocker warnings. > > This reverts commit 2dbf3b3c61635735ec32d0f47d45003968a277e5.
Has this been fixed? I just updated my system without >=numpy-1.17 and numpy-python2 being package.mask-ed, and found no more blockers.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83780dade6becfbff566eb2e26a0ece5b1284063 commit 83780dade6becfbff566eb2e26a0ece5b1284063 Author: Ross Charles Campbell <rossbridger.cc@gmail.com> AuthorDate: 2020-09-29 14:47:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-10-07 17:55:00 +0000 media-libs/opencv: version bump to 4.4.0 Currently the following improvements are made: - Added python 3.{8,9} support. - Added LTO (Link Time Optimization) support. - Added OVIS (Ogre Vision Module) support. - Renewed wrapped headers list for multilib. - No longer need to download external files at compile time. Closes: https://bugs.gentoo.org/745378 Closes: https://bugs.gentoo.org/744097 Closes: https://bugs.gentoo.org/718038 Closes: https://bugs.gentoo.org/702642 Closes: https://bugs.gentoo.org/703760 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17307 Signed-off-by: Sam James <sam@gentoo.org> media-libs/opencv/Manifest | 3 + ...pencv-4.4.0-disable-native-cpuflag-detect.patch | 26 + media-libs/opencv/metadata.xml | 3 + media-libs/opencv/opencv-4.4.0.ebuild | 546 +++++++++++++++++++++ profiles/base/package.use.mask | 5 + 5 files changed, 583 insertions(+)