Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77042 - dev-python/pyrex distutils extension fails with Python 2.4
Summary: dev-python/pyrex distutils extension fails with Python 2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-07 09:35 UTC by Jacob Smullyan
Modified: 2005-01-07 12:52 UTC (History)
0 users

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


Attachments
dev-python/pyrex ebuild with patch for python 2.4 (pyrex-0.9.3-r1.ebuild,1002 bytes, text/plain)
2005-01-07 09:36 UTC, Jacob Smullyan
Details
patch for pyrex (used by ebuild) (pyrex-0.9.3-python24_distutils.patch,622 bytes, patch)
2005-01-07 09:38 UTC, Jacob Smullyan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Smullyan 2005-01-07 09:35:51 UTC
Packages that use pyrex and use the pyrex distutils extension -- for instance, dev-python/pyprotocols-0.9.3 -- will fail on install with a distutils error, because the method signature of distutils.build_ext.swig_sources changed in Python 2.4.  The ebuild I'm about to attach patches pyrex 0.9.3 (what is it about 0.9.3?) with a patch Bob Ippolito posted to the pyrex list: 

http://lists.copyleft.no/pipermail/pyrex/2004-December/001083.html

that fixes this problem.

Reproducible: Always
Steps to Reproduce:
1. Install python-2.4 and try to emerge pyprotocols.
Comment 1 Jacob Smullyan 2005-01-07 09:36:46 UTC
Created attachment 47866 [details]
dev-python/pyrex ebuild with patch for python 2.4
Comment 2 Jacob Smullyan 2005-01-07 09:38:09 UTC
Created attachment 47867 [details, diff]
patch for pyrex (used by ebuild)

This patch should, btw, work with Python 2.3 as well as Python 2.4.
Comment 3 Rob Cakebread (RETIRED) gentoo-dev 2005-01-07 12:52:46 UTC
Thanks Jacob, added to CVS. I tested it with 2.3.4 and 2.4, no problems.