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

Bug 472054

Summary: media-libs/mesa: should use REQUIRED_USE for python
Product: Gentoo Linux Reporter: Jonathan Callen (RETIRED) <jcallen>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: kentnl, nikoli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 500368    

Description Jonathan Callen (RETIRED) gentoo-dev 2013-06-02 01:14:30 UTC
Because media-libs/mesa dies in pkg_setup when PYTHON_TARGETS and PYTHON_SINGLE_TARGET are not set appropriately, the ebuild should set REQUIRED_USE appropriately.  The python-single-r1 eclass provides a variable with the appropriate expression, so the only change to the ebuild required is to add ${PYTHON_REQUIRED_USE} to REQUIRED_USE.

(The reason the eclass doesn't do this itself is so that the ebuild can make that requirement itself conditional on another USE flag, such as "python? ( ${PYTHON_REQUIRED_USE}").
Comment 1 Nikoli 2013-12-31 10:47:37 UTC
May be you can provide patch?
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-02-24 19:43:10 UTC
Fixed in 9.2.5-r1 and 10.0.3