Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518862 - x11-libs/xpyb should set PYTHON_REQUIRED_USE
Summary: x11-libs/xpyb should set PYTHON_REQUIRED_USE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 530652
  Show dependency tree
 
Reported: 2014-08-02 20:38 UTC by Paweł Stankowski
Modified: 2014-11-25 16:40 UTC (History)
0 users

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


Attachments

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