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

Bug 393679

Summary: dev-python/numpy-1.6.1: Add patch for python3.*
Product: Gentoo Linux Reporter: Johan Bergström <bugs>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 382007, 388411    
Attachments: numpy-1.6.1-import_umath.patch
cython-test.patch addressing partiall filled cdef type structs

Description Johan Bergström 2011-12-08 22:21:12 UTC
Created attachment 295227 [details, diff]
numpy-1.6.1-import_umath.patch

There's a bug in bumpy which manifests itself in a cython test. Arfrever has been in contact with upstream and a patch has been committed. I'm hereby attaching the patch here so we hopefully can get a test suite for cython that doesn't fail. Yay!

What i've done (on amd64, use_python="2.4 2.5 2.6 2.7 3.1 3.2"),
python versions installed: 2.4.6, 2.5.4-r4, 2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2

without patch:
 - built numpy-1.6.1-r1 for all versions. all tests pass
 - build cython-0.15.1 for all versions. tests fail on 3.1, 3.2

with patch:

 - built numpy-1.6.1-r1 for all versions. all tests pass
 - build cython-0.15.1 for all versions. all tests pass

Attaching patch here, just add it with epatch.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-12-09 22:30:22 UTC
following in jberg's footsteps;

FEATURES test set;
After re-emerging std gentoo versions of python;

gentoo64 numpy # emerge =dev-python/numpy-1.6.1-r1
>>> Emerging (1 of 1) dev-python/numpy-1.6.1-r1
>>> Installing (1 of 1) dev-python/numpy-1.6.1-r1

std version of numpy emerged using the patch which takes fine. Now

Have made a patch that fully rids the python2.7 of the 2 partial structs.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-12-09 22:32:26 UTC
Created attachment 295325 [details, diff]
cython-test.patch addressing partiall filled cdef type structs
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2011-12-17 06:27:47 UTC
Both fixes now in cvs. Thanks.