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

Bug 518862

Summary: x11-libs/xpyb should set PYTHON_REQUIRED_USE
Product: Gentoo Linux Reporter: Paweł Stankowski <aambitny>
Component: [OLD] DevelopmentAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 530652    

Description Paweł Stankowski 2014-08-02 20:38:15 UTC
I've disabled use flag globally and I enable it only for packages that won't work with python 3. It works ok with most of packages - they ask me to add proper USE flag during calculation state. However emerging xpyb causes compilation error instead.

Reproducible: Always

Steps to Reproduce:
1. disable python_targets_python2_7 use flag for x11-libs/xpyb package
2. try to emerge it
Actual Results:  
 * No Python implementation selected for the build. Please add one
 * of the following values to your PYTHON_TARGETS (in make.conf):
 * 
 * python2_6 python2_7


Expected Results:  
Python dependency should be checked during compilation. It may be achieved by adding this line to ebuild:
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
Comment 1 Pacho Ramos gentoo-dev 2014-11-25 16:40:07 UTC
+  25 Nov 2014; Pacho Ramos <pacho@gentoo.org> xpyb-1.3.1-r3.ebuild:
+  Add missing REQUIRED_USE= (#518862 by Paweł Stankowski)
+