Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318903 - net-zope/zope-interface-3.6.1 unnecessarily forces python 3
Summary: net-zope/zope-interface-3.6.1 unnecessarily forces python 3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 19:04 UTC by Harald van Dijk (RETIRED)
Modified: 2011-06-19 20:29 UTC (History)
2 users (show)

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 Harald van Dijk (RETIRED) gentoo-dev 2010-05-07 19:04:35 UTC
DEPEND="dev-python/setuptools
    net-zope/zope-fixers"

zope-interface doesn't need python 3, but zope-fixers does. If zope-fixers can be made to install without it, then great, otherwise, could you use something like

DEPEND="dev-python/setuptools
    || ( net-zope/zope-fixers !dev-lang/python:3.1 )"

?
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2010-08-23 17:19:19 UTC
Fixed.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2010-08-25 21:35:43 UTC
Reverted and re-opening, as this caused problems (#334443)
Comment 3 Jan Pobrislo 2011-02-02 11:28:31 UTC
zope-fixers are fixes for python3, so they need to be installed if and only if package is installed for python3.

only solution that comes to my mind is to add python3 to USE and depend only if it's set.

PYTHON_DEPEND supports USE conditionals, so this approach should work.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-19 20:29:02 UTC
This bug has been worked around some time ago.