Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195992 - [EBUILD] dev-python/pyrex-0.9.6.2 version bump
Summary: [EBUILD] dev-python/pyrex-0.9.6.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL: http://http://www.cosc.canterbury.ac....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-15 23:01 UTC by René 'Necoro' Neumann
Modified: 2007-12-12 15:29 UTC (History)
1 user (show)

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


Attachments
pyrex-0.9.6.2.ebuild (pyrex-0.9.6.2.ebuild,934 bytes, text/plain)
2007-10-15 23:02 UTC, René 'Necoro' Neumann
Details
Workaround patch for setuptools bug (pyrex-setuptools-workaround.patch,575 bytes, patch)
2007-10-15 23:08 UTC, René 'Necoro' Neumann
Details | Diff
build.log of the bug fixed with patch (build.log,4.93 KB, text/plain)
2007-10-15 23:11 UTC, René 'Necoro' Neumann
Details
fixed setuptools-workaround returning the result of swig_sources (pyrex-setuptools-workaround-r1.patch,582 bytes, patch)
2007-12-10 00:00 UTC, Klaus Zimmermann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2007-10-15 23:01:31 UTC
Pyrex is a language for writing Python extension modules. The version 0.9.6.2 (and 0.9.6.1) fixes some errors found in version 0.9.6.
One of the bugs fixed is the one described in bug #195354.
Comment 1 René 'Necoro' Neumann 2007-10-15 23:02:40 UTC
Created attachment 133576 [details]
pyrex-0.9.6.2.ebuild

This ebuild also includes a patch. So it is not a vanilla bump ;)
Comment 2 René 'Necoro' Neumann 2007-10-15 23:08:26 UTC
Created attachment 133578 [details, diff]
Workaround patch for setuptools bug

Even though pyrex-0.9.6.2 fixes the bugs in bug #195354 and bug #195466, installation of pyrex packages with setuptools still fails, because setuptools calls a method with a wrong number of arguments (as it was right in <pyrex-0.9.6). This patch allows the call of the function with only two parameters.
Comment 3 René 'Necoro' Neumann 2007-10-15 23:11:23 UTC
Created attachment 133579 [details]
build.log of the bug fixed with patch

Just for documentation reasons: The exception which occurs, if the patch given is not applied :)
Comment 4 Ali Polatel (RETIRED) gentoo-dev 2007-11-04 09:01:22 UTC
pyrex-0.9.6.3 is in CVS, thanks for the patch ;)
Comment 5 Klaus Zimmermann 2007-12-09 23:56:32 UTC
The setuptools-workaround.patch breaks distutils, since the result of swig_sources must be returned. (Hit me when building pytables-2.0.2.)
Comment 6 Klaus Zimmermann 2007-12-10 00:00:45 UTC
Created attachment 138129 [details, diff]
fixed setuptools-workaround returning the result of swig_sources

This patch superseds the pyrex-setuptools-workaround.patch and contains the aforementioned fix.
Comment 7 Ali Polatel (RETIRED) gentoo-dev 2007-12-12 15:29:44 UTC
(In reply to comment #6)
> Created an attachment (id=138129) [edit]
> fixed setuptools-workaround returning the result of swig_sources
> 
> This patch superseds the pyrex-setuptools-workaround.patch and contains the
> aforementioned fix.
> 

Thanks, I've bumped pyrex to 0.9.6.4 today, this version uses the fixed patch.