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

Bug 442824

Summary: dev-python/python-distutils-extra missing python3 support
Product: Gentoo Linux Reporter: Rick Harris <rickfharris>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rick Harris 2012-11-11 23:02:05 UTC
Packages that use distutils-extra that also support python3, fail to install because we don't install distutils-extra with python3 support.

Example failure:
python3.2 setup.py build -b build-3.2
Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    from DistUtilsExtra.command import *
ImportError: No module named DistUtilsExtra.command

Versions affected are 2.33, 2.34, 2.35, 2.36 and 2.37.
Python3 is known not to work with version 2.23.

Recommend the following change be made from:
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5 3.*"

To:
PYTHON_DEPEND="2:2.7 3:3.2"
SUPPORT_PYTHON_ABIS="1"
Comment 1 Patrick Lauer gentoo-dev 2012-11-16 02:50:30 UTC
+  16 Nov 2012; Patrick Lauer <patrick@gentoo.org>
+  python-distutils-extra-2.37.ebuild:
+  Adding py3 capability #442824