Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119305 - new ebuild request: dev-python/numpy
Summary: new ebuild request: dev-python/numpy
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:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 119468 119469
  Show dependency tree
 
Reported: 2006-01-17 09:38 UTC by Alok Singhal
Modified: 2006-02-06 16:23 UTC (History)
2 users (show)

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


Attachments
ebuild for numpy-0.9.2 (numpy-0.9.2.ebuild,483 bytes, text/plain)
2006-01-17 09:39 UTC, Alok Singhal
Details
numpy-0.9.4.ebuild (numpy-0.9.4.ebuild,484 bytes, application/octet-stream)
2006-01-31 13:45 UTC, Toon Verstraelen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alok Singhal 2006-01-17 09:38:20 UTC
Numpy (http://numeric.scipy.org/) is the new "multidimensional-array object" module for python - it deprecates both Numpy and numarray.  Scipy, matplotlib etc., already support numpy and numpy is (hopefully) going to eliminate the confusion over different and sometimes incompatible array modules that exist for Python nowadays.

I copied numarray-1.5.0.ebuild to my portage overlay, renamed it to numpy-0.9.2.ebuild and made some changes (basically to make it recognize the installed version of atlas).  The ebuild works for me, but I am not sure if it is "correct".  In particular, handling of lapack and blas could be improved.

I cannot access numpy website right now, so I have kept the LICENSE field as "BSD", but it might be something else.
Comment 1 Alok Singhal 2006-01-17 09:39:17 UTC
Created attachment 77364 [details]
ebuild for numpy-0.9.2
Comment 2 Pierre 2006-01-19 14:44:25 UTC
(In reply to comment #1)
> Created an attachment (id=77364) [edit]
> ebuild for numpy-0.9.2

Seems to work on amd64 as well, for the few basic tests I ran. TBC nevertheless.
Quick question: as scipy is in the sci-libs branch, shouldn't numpy be as well ?
Comment 3 Alok Singhal 2006-01-23 09:02:17 UTC
(In reply to comment #2)
> Quick question: as scipy is in the sci-libs branch, shouldn't numpy be as well
> ?
> 

Well, numarray and Numeric, both of which are python array modules, are in dev-python.  Hence I put numpy ebuild in dev-python instead of sci-libs.  It's updo the developers to decide where to put the ebuild though---for many of the packages, there is no "definite" single category anyway.
Comment 4 Toon Verstraelen 2006-01-31 13:45:29 UTC
Created attachment 78595 [details]
numpy-0.9.4.ebuild

Version bump
Comment 5 Toon Verstraelen 2006-01-31 14:22:54 UTC
Hi I've tested this numpy-0.94 ebuild as a replacement for the Numeric package and it works fine. I'm writing a lot of python/Numeric code for my PhD. All the unit test were successfull after upgrading the code to numpy.
Comment 6 Toon Verstraelen 2006-01-31 14:25:46 UTC
added to cc
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2006-02-06 16:23:40 UTC
Adding to portage as dev-python/numpy. thanks for the ebuild. i suppose the depends are the other way around because those ebuilds are actually being changed to use numpy instead.
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2006-02-06 16:23:57 UTC
closing.