Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393679 - dev-python/numpy-1.6.1: Add patch for python3.*
Summary: dev-python/numpy-1.6.1: Add patch for python3.*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 382007 388411
  Show dependency tree
 
Reported: 2011-12-08 22:21 UTC by Johan Bergström
Modified: 2011-12-17 06:27 UTC (History)
1 user (show)

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


Attachments
numpy-1.6.1-import_umath.patch (numpy-1.6.1-import_umath.patch,2.19 KB, patch)
2011-12-08 22:21 UTC, Johan Bergström
Details | Diff
cython-test.patch addressing partiall filled cdef type structs (cython-test.patch,2.28 KB, patch)
2011-12-09 22:32 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.