[81310] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Jul 29 01:17:25 PDT 2011


Revision: 81310
          http://trac.macports.org/changeset/81310
Author:   jmr at macports.org
Date:     2011-07-29 01:17:25 -0700 (Fri, 29 Jul 2011)
Log Message:
-----------
unify py*-numeric

Modified Paths:
--------------
    trunk/dports/python/py-numeric/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-numeric/
    trunk/dports/python/py26-numeric/
    trunk/dports/python/py27-numeric/

Modified: trunk/dports/python/py-numeric/Portfile
===================================================================
--- trunk/dports/python/py-numeric/Portfile	2011-07-29 08:04:09 UTC (rev 81309)
+++ trunk/dports/python/py-numeric/Portfile	2011-07-29 08:17:25 UTC (rev 81310)
@@ -1,60 +1,81 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
-PortGroup python24 1.0
+PortSystem      1.0
+PortGroup       python 1.0
 
-name			py-numeric
-version			24.2
-revision		2
-categories		python devel math
-maintainers		dh
-platforms		darwin
-description		fast numerical array language for python
-long_description	Numerical Python adds a fast, compact, \
-				multidimensional array language facility to Python.
+name            py-numeric
+version         24.2
+revision        2
+categories-append   devel math
+platforms       darwin
+maintainers     jmr openmaintainer
+description     fast numerical array language for python
 
-homepage		http://www.pfdubois.com/numpy/
-master_sites	sourceforge:project/numpy/Old%20Numeric/${version}/ freebsd
-distname		Numeric-${version}
-checksums		md5 2ae672656e06716a149acb048cca3093
+long_description \
+    Numerical Python adds a fast, compact, \
+    multidimensional array language facility to Python.
 
-patchfiles		patch-ranf.c.diff \
-				patch-Src-arrayobject.c.diff \
-				patch-Packages-dotblas-_dotblas.c.diff \
-				patch-changes.txt.diff
-	
-platform darwin	8 {
-	build.env	CC=/usr/bin/gcc-4.0
-}
+homepage        http://numpy.scipy.org/
+master_sites    sourceforge:project/numpy/Old%20Numeric/${version}/ \
+                freebsd
+distname        Numeric-${version}
 
-platform macosx {
-	post-patch {
-		file copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
-	}
-}
+checksums       md5 2ae672656e06716a149acb048cca3093 \
+                sha1 72869ef80c12630a9a125ba10c96093b6ae16aff \
+                rmd160 c9502db28663558c535e236392c9beddec9743bb
 
-platform puredarwin {
-	post-patch {
-		file copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py
-	}
-}
+python.versions 24 25 26 27
 
-test.run		yes
-test.env		PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
-test.cmd		${python.bin} Test/test.py
-test.target
-
-set doc			${destroot}${prefix}/share/doc/${name}
-post-destroot {
-	xinstall -d -m 755 ${doc}/dotblas ${doc}/MA ${doc}/RNG
-	xinstall -W ${worksrcpath} README changes.txt ${doc}
-	xinstall -m 644 ${worksrcpath}/Packages/dotblas/doc/README.html \
-		${doc}/dotblas
-	xinstall -m 644 -W ${worksrcpath}/Packages/MA Legal.htm changes.txt \
-		${doc}/MA
-	xinstall -m 644 ${worksrcpath}/Packages/RNG/Legal.htm ${doc}/RNG
-	file copy ${worksrcpath}/Demo ${doc}
-	file copy ${worksrcpath}/Packages/MA/Demo ${doc}/MA
+if {$name != $subport} {
+    patchfiles      patch-ranf.c.diff \
+                    patch-Src-arrayobject.c.diff \
+                    patch-Packages-dotblas-_dotblas.c.diff \
+                    patch-changes.txt.diff
+    
+    build.env       CC=${configure.cc}
+    
+    platform macosx {
+        post-patch {
+            copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
+        }
+    }
+    
+    platform puredarwin {
+        post-patch {
+            copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py
+        }
+    }
+    
+    test.run        yes
+    test.env        PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
+    test.cmd        ${python.bin} Test/test.py
+    test.target
+    
+    
+    post-destroot {
+        set docdir ${prefix}/share/doc/${subport}
+    
+        eval xinstall -d \
+            ${destroot}${docdir}/dotblas \
+            ${destroot}${docdir}/MA \
+            ${destroot}${docdir}/RNG
+    
+        xinstall -W ${worksrcpath} README changes.txt \
+            ${destroot}${docdir}
+    
+        xinstall -m 0644 ${worksrcpath}/Packages/dotblas/doc/README.html \
+            ${destroot}${docdir}/dotblas
+    
+        xinstall -m 0644 -W ${worksrcpath}/Packages/MA Legal.htm changes.txt \
+            ${destroot}${docdir}/MA
+    
+        xinstall -m 0644 ${worksrcpath}/Packages/RNG/Legal.htm \
+            ${destroot}${docdir}/RNG
+    
+        copy ${worksrcpath}/Demo ${destroot}${docdir}
+        copy ${worksrcpath}/Packages/MA/Demo ${destroot}${docdir}/MA
+    }
 }
 
+livecheck.type   none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110729/bc372770/attachment.html>


More information about the macports-changes mailing list