Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604106 - dev-libs/gobject-introspection python USE flag handling issues
Summary: dev-libs/gobject-introspection python USE flag handling issues
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Blocks: gnome-3.22
  Show dependency tree
Reported: 2016-12-30 01:34 UTC by Mart Raudsepp
Modified: 2017-03-18 15:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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.