1 | # $Id: Portfile 46465 2009-02-05 08:54:01Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python26 1.0 |
---|
5 | |
---|
6 | name py26-numarray |
---|
7 | version 1.5.2 |
---|
8 | categories python devel math |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | description array manipulation and computational library for python |
---|
12 | long_description \ |
---|
13 | Numarray provides array manipulation and computational \ |
---|
14 | capabilities similar to those found in IDL, Matlab, or \ |
---|
15 | Octave. Using numarray, it is possible to write many \ |
---|
16 | efficient numerical data processing applications \ |
---|
17 | directly in Python without using any C, C++ or Fortran code. |
---|
18 | |
---|
19 | homepage http://www.stsci.edu/resources/software_hardware/numarray |
---|
20 | master_sites sourceforge:numpy |
---|
21 | distname numarray-${version} |
---|
22 | checksums sha1 17f6c4bb5f0d97e93923b8ca4f55fccc1ee985e9 |
---|
23 | |
---|
24 | # |
---|
25 | # py26-numarray does not understand setup.py --no-user-cfg from PortGroup |
---|
26 | # |
---|
27 | |
---|
28 | build.cmd ${python.bin} setup.py |
---|
29 | build.args --gencode |
---|
30 | |
---|
31 | destroot.cmd ${python.bin} setup.py |
---|
32 | |
---|
33 | variant smp description {Specify this to try to exploit multiple processors. A work in progress ...} { |
---|
34 | build.args --smp |
---|
35 | destroot.args --smp |
---|
36 | } |
---|
37 | |
---|
38 | post-destroot { |
---|
39 | xinstall -m 644 -W ${worksrcpath} Doc/Announce.txt \ |
---|
40 | Doc/Repackaging.txt Doc/INSTALL.txt Doc/Design.txt \ |
---|
41 | Doc/UsersGuide.txt LICENSE.txt README.txt \ |
---|
42 | ${destroot}${prefix}/share/doc/${name} |
---|
43 | file delete ${destroot}${prefix}/share/doc/${name}/examples |
---|
44 | file copy ${worksrcpath}/Examples \ |
---|
45 | ${destroot}${prefix}/share/doc/${name}/examples |
---|
46 | } |
---|
47 | |
---|
48 | livecheck.regex "<title>Old Numarray (.*) released.*</title>" |
---|