Changeset 81310
- Timestamp:
- 07/29/11 01:17:25 (4 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 3 deleted
- 1 edited
-
py-numeric/Portfile (modified) (1 diff)
-
py25-numeric (deleted)
-
py26-numeric (deleted)
-
py27-numeric (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-numeric/Portfile
r80749 r81310 2 2 # $Id$ 3 3 4 PortSystem 1.05 PortGroup python241.04 PortSystem 1.0 5 PortGroup python 1.0 6 6 7 name py-numeric 8 version 24.2 9 revision 2 10 categories python devel math 11 maintainers dh 12 platforms darwin 13 description fast numerical array language for python 14 long_description Numerical Python adds a fast, compact, \ 15 multidimensional array language facility to Python. 7 name py-numeric 8 version 24.2 9 revision 2 10 categories-append devel math 11 platforms darwin 12 maintainers jmr openmaintainer 13 description fast numerical array language for python 16 14 17 homepage http://www.pfdubois.com/numpy/ 18 master_sites sourceforge:project/numpy/Old%20Numeric/${version}/ freebsd 19 distname Numeric-${version} 20 checksums md5 2ae672656e06716a149acb048cca3093 15 long_description \ 16 Numerical Python adds a fast, compact, \ 17 multidimensional array language facility to Python. 21 18 22 patchfiles patch-ranf.c.diff \ 23 patch-Src-arrayobject.c.diff \ 24 patch-Packages-dotblas-_dotblas.c.diff \ 25 patch-changes.txt.diff 26 27 platform darwin 8 { 28 build.env CC=/usr/bin/gcc-4.0 19 homepage http://numpy.scipy.org/ 20 master_sites sourceforge:project/numpy/Old%20Numeric/${version}/ \ 21 freebsd 22 distname Numeric-${version} 23 24 checksums md5 2ae672656e06716a149acb048cca3093 \ 25 sha1 72869ef80c12630a9a125ba10c96093b6ae16aff \ 26 rmd160 c9502db28663558c535e236392c9beddec9743bb 27 28 python.versions 24 25 26 27 29 30 if {$name != $subport} { 31 patchfiles patch-ranf.c.diff \ 32 patch-Src-arrayobject.c.diff \ 33 patch-Packages-dotblas-_dotblas.c.diff \ 34 patch-changes.txt.diff 35 36 build.env CC=${configure.cc} 37 38 platform macosx { 39 post-patch { 40 copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py 41 } 42 } 43 44 platform puredarwin { 45 post-patch { 46 copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py 47 } 48 } 49 50 test.run yes 51 test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*] 52 test.cmd ${python.bin} Test/test.py 53 test.target 54 55 56 post-destroot { 57 set docdir ${prefix}/share/doc/${subport} 58 59 eval xinstall -d \ 60 ${destroot}${docdir}/dotblas \ 61 ${destroot}${docdir}/MA \ 62 ${destroot}${docdir}/RNG 63 64 xinstall -W ${worksrcpath} README changes.txt \ 65 ${destroot}${docdir} 66 67 xinstall -m 0644 ${worksrcpath}/Packages/dotblas/doc/README.html \ 68 ${destroot}${docdir}/dotblas 69 70 xinstall -m 0644 -W ${worksrcpath}/Packages/MA Legal.htm changes.txt \ 71 ${destroot}${docdir}/MA 72 73 xinstall -m 0644 ${worksrcpath}/Packages/RNG/Legal.htm \ 74 ${destroot}${docdir}/RNG 75 76 copy ${worksrcpath}/Demo ${destroot}${docdir} 77 copy ${worksrcpath}/Packages/MA/Demo ${destroot}${docdir}/MA 78 } 29 79 } 30 80 31 platform macosx { 32 post-patch { 33 file copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py 34 } 35 } 36 37 platform puredarwin { 38 post-patch { 39 file copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py 40 } 41 } 42 43 test.run yes 44 test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*] 45 test.cmd ${python.bin} Test/test.py 46 test.target 47 48 set doc ${destroot}${prefix}/share/doc/${name} 49 post-destroot { 50 xinstall -d -m 755 ${doc}/dotblas ${doc}/MA ${doc}/RNG 51 xinstall -W ${worksrcpath} README changes.txt ${doc} 52 xinstall -m 644 ${worksrcpath}/Packages/dotblas/doc/README.html \ 53 ${doc}/dotblas 54 xinstall -m 644 -W ${worksrcpath}/Packages/MA Legal.htm changes.txt \ 55 ${doc}/MA 56 xinstall -m 644 ${worksrcpath}/Packages/RNG/Legal.htm ${doc}/RNG 57 file copy ${worksrcpath}/Demo ${doc} 58 file copy ${worksrcpath}/Packages/MA/Demo ${doc}/MA 59 } 60 81 livecheck.type none
Note: See TracChangeset
for help on using the changeset viewer.

