Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519082 - app-text/gnome-doc-utils should set PYTHON_REQUIRED_USE
Summary: app-text/gnome-doc-utils should set PYTHON_REQUIRED_USE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-04 22:20 UTC by Paweł Stankowski
Modified: 2014-09-07 13:36 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-04 22:20:41 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. It doesn't work well with this package.

Reproducible: Always

Steps to Reproduce:
Steps to Reproduce:
1. disable python_targets_python2_7 use flag for x11-libs/xpyb package
2. try to emerge it
Actual Results:  
No warning during calculation phase and then compilation fails because of no compatible python target.

Expected Results:  
Emerging should fail during calculation phase. It may be achieved by adding this line to ebuild:
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
Comment 1 Pacho Ramos gentoo-dev 2014-09-07 13:36:25 UTC
+  07 Sep 2014; Pacho Ramos <pacho@gentoo.org> -gnome-doc-utils-0.20.10.ebuild,
+  gnome-doc-utils-0.20.10-r1.ebuild:
+  Set PYTHON_REQUIRED_USE (#519082 by Paweł Stankowski), drop old.
+