At this point, adding Python 2 use to new packages is a major regression. Furthermore, the ebuild inherits eclass without using it and misses dependency on Python. If you can't get the docs to work with Python 3, remove them completely.
This could be fixed by just bumping the version, see https://bugs.gentoo.org/774264 Release 3.4.4 - Feb 2021 Release 3.4.4 is a minor release including bug fixes and configuration improvements Changes The "master" branch on GitHub has been renamed "release" (GitHub #1218 #1219) The CMake configuration has been updated to allow use as a sub-project (GitHub #1206) Removed obsolete references to hbr from examples/farViewer (GitHub #1217) Bug Fixes Fixed bug with sparse PatchTables and irregular face-varying seams (GitHub #1203) Fixed loss of precision when using double precision stencil tables (GitHub #1207) Fixed reset of Far::TopologyRefiner::GetMaxLevel() after call to Unrefine() (GitHub #1208) Fixed linking with -ldl on unix systems (GitHub #1196) Fixed naming and installation of macOS frameworks (GitHub #1194 #1201) Fixed GL version and extension processing and dynamic loading on macOS (GitHub #1216) Fixed FindDocutils.cmake to be more robust (GitHub #1213 #1220) Fixed errors using build_scripts/build_osd.py with Python3 (GitHub #1206)
(In reply to Anton Kochkov from comment #1) > This could be fixed by just bumping the version, see > https://bugs.gentoo.org/774264 > I don't think that bit is right -- I've just tried bumping it but docs (at least documentation/processTutorials.py) still need Python 2. I'll drop doc support for now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4dfe173407c47cbd202d3fd062f949a11b31e12 commit e4dfe173407c47cbd202d3fd062f949a11b31e12 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-09 04:16:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-09 04:21:09 +0000 media-libs/opensubdiv: add 3.4.4 Drops docs support as it requires Python 2. Closes: https://bugs.gentoo.org/774264 Closes: https://bugs.gentoo.org/815172 Signed-off-by: Sam James <sam@gentoo.org> media-libs/opensubdiv/Manifest | 1 + media-libs/opensubdiv/opensubdiv-3.4.4.ebuild | 85 +++++++++++++++++++++++++++ 2 files changed, 86 insertions(+)
Unable to check for sanity: > no match for package: media-libs/opensubdiv-3.4.4
amd64 stable. Closing.