[84336] trunk/dports/python

ram at macports.org ram at macports.org
Thu Sep 22 14:09:07 PDT 2011


Revision: 84336
          http://trac.macports.org/changeset/84336
Author:   ram at macports.org
Date:     2011-09-22 14:09:04 -0700 (Thu, 22 Sep 2011)
Log Message:
-----------
python/py*-scipy: unify

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

Removed Paths:
-------------
    trunk/dports/python/py25-scipy/
    trunk/dports/python/py26-scipy/
    trunk/dports/python/py27-scipy/
    trunk/dports/python/py31-scipy/
    trunk/dports/python/py32-scipy/

Modified: trunk/dports/python/py-scipy/Portfile
===================================================================
--- trunk/dports/python/py-scipy/Portfile	2011-09-22 20:54:12 UTC (rev 84335)
+++ trunk/dports/python/py-scipy/Portfile	2011-09-22 21:09:04 UTC (rev 84336)
@@ -1,14 +1,16 @@
+# -*- 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
+PortGroup               python 1.0
 
 name                    py-scipy
 version                 0.9.0
+revision                1
 categories              python
 platforms               darwin
 license                 BSD
-maintainers             nomaintainer
+maintainers             ram openmaintainer
 description             An opensource library of scientific tools for Python
 long_description        ${description}
 
@@ -20,8 +22,12 @@
                         sha1 a586b10d0613cd61dbfcfd42f3d2609062cd10b8 \
                         rmd160 2aef8c3413ba9c7731d078b27eef1e03419de606
 
-depends_lib-append      port:py-numpy \
-                        port:py-nose \
+python.versions         24 25 26 27 31 32
+
+if {${subport} != ${name}} {
+
+depends_lib-append      port:py${python.version}-numpy \
+                        port:py${python.version}-nose \
                         port:SuiteSparse \
                         port:swig-python
 
@@ -31,9 +37,6 @@
 
 destroot.env-append     CCFLAGS="-I${prefix}/include -L${prefix}/lib"
 
-python.add_archflags    no
-universal_variant       no
-
 patchfiles              scipy_complex.patch
 post-patch {
   reinplace "s|include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/sparse/linalg/dsolve/umfpack/umfpack.i
@@ -111,6 +114,11 @@
   default_variants      +gcc44
 }
 
+}
+
+python.add_archflags    no
+universal_variant       no
+
 livecheck.type          regex
 livecheck.url           http://sourceforge.net/projects/scipy/files/
 livecheck.regex         "files\/scipy\/(\\d+(?:\\.\\d+)*)\/scipy"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110922/bcca91f4/attachment-0001.html>


More information about the macports-changes mailing list