[89663] trunk/dports/python

macsforever2000 at macports.org macsforever2000 at macports.org
Sun Feb 5 21:09:16 PST 2012


Revision: 89663
          http://trac.macports.org/changeset/89663
Author:   macsforever2000 at macports.org
Date:     2012-02-05 21:09:13 -0800 (Sun, 05 Feb 2012)
Log Message:
-----------
py-sfepy: unify

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

Added Paths:
-----------
    trunk/dports/python/py-sfepy/

Removed Paths:
-------------
    trunk/dports/python/py26-sfepy/

Modified: trunk/dports/python/py-sfepy/Portfile
===================================================================
--- trunk/dports/python/py26-sfepy/Portfile	2012-02-05 23:25:37 UTC (rev 89658)
+++ trunk/dports/python/py-sfepy/Portfile	2012-02-06 05:09:13 UTC (rev 89663)
@@ -2,9 +2,9 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup python26      1.0
+PortGroup               python 1.0
 
-name                    py26-sfepy
+name                    py-sfepy
 version                 2011.1
 categories-append       science
 platforms               darwin
@@ -17,26 +17,31 @@
 homepage                http://code.google.com/p/sfepy/
 master_sites            googlecode:sfepy
 distname                sfepy-release-${version}
+worksrcdir              ${distname}
 extract.suffix          .tgz
 
 checksums               md5     f00f3a96363ae5c48ce006874fede995 \
                         sha1    918b58dcfcb6854e5edd331cc9254b3d9d7cf725 \
                         rmd160  a3194c891a297a09c0af62fe95a6d1b551257497
 
-depends_lib-append      port:gmsh \
-                        port:py26-ipython \
-                        port:py26-matplotlib \
-                        port:py26-mayavi \
-                        port:py26-numpy \
-                        port:py26-parsing \
-                        port:py26-pexpect \
-                        port:py26-pysparse \
-                        port:py26-scikits-umfpack \
-                        port:py26-scipy \
-                        port:py26-sphinx \
-                        port:py26-sympy \
-                        port:py26-tables \
+python.versions         25 26 27
+python.default_version  25
+
+if {$subport != $name} {
+    depends_lib-append  port:gmsh \
+                        port:py${python.version}-ipython \
+                        port:py${python.version}-matplotlib \
+                        port:py${python.version}-mayavi \
+                        port:py${python.version}-numpy \
+                        port:py${python.version}-parsing \
+                        port:py${python.version}-pexpect \
+                        port:py${python.version}-pysparse \
+                        port:py${python.version}-scikits-umfpack \
+                        port:py${python.version}-scipy \
+                        port:py${python.version}-sphinx \
+                        port:py${python.version}-sympy \
+                        port:py${python.version}-tables \
                         port:SuiteSparse \
                         port:swig-python
+}
 
-worksrcdir              ${distname}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120205/94970a52/attachment.html>


More information about the macports-changes mailing list