Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 604106

Summary: dev-libs/gobject-introspection python USE flag handling issues
Product: Gentoo Linux Reporter: Mart Raudsepp <leio>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 595886    

Description Mart Raudsepp gentoo-dev 2016-12-30 01:34:28 UTC
During reviewing 3.22 stuff, I noticed gobject-introspection gained PYTHON_COMPAT for some python3 versions. As a result, I actually upgraded to supposedly supporting multiple versions, but what it ended up installing on the filesystem is still just python2.7 *.pyo's alongside the *.py's in /usr/lib64/gobject-introspection/giscanner/ (so not even a parallel installable site-packages location).
I think this is all used internally by g-ir-scanner and co. If that's true, then we should only be having a PYTHON_SINGLE_TARGET here, shouldn't we?
Comment 1 Mart Raudsepp gentoo-dev 2017-03-18 15:49:37 UTC
Turns out python-single-r1.eclass and co can't sensibly handle avoiding defining only PYTHON_SINGLE_TARGETS without it going to too ugly PYTHON_USEDEPS mapping stuff. So this works as designed by python eclasses and I didn't know it, having not seen a conversion to python-single-r1 closely before.