[89481] trunk/dports/python

macsforever2000 at macports.org macsforever2000 at macports.org
Tue Jan 31 13:04:18 PST 2012


Revision: 89481
          http://trac.macports.org/changeset/89481
Author:   macsforever2000 at macports.org
Date:     2012-01-31 13:04:17 -0800 (Tue, 31 Jan 2012)
Log Message:
-----------
py-scikits-module: unify.

Modified Paths:
--------------
    trunk/dports/python/py-scikits-module/Portfile

Added Paths:
-----------
    trunk/dports/python/py-scikits-module/

Removed Paths:
-------------
    trunk/dports/python/py26-scikits-module/
    trunk/dports/python/py27-scikits-module/

Modified: trunk/dports/python/py-scikits-module/Portfile
===================================================================
--- trunk/dports/python/py26-scikits-module/Portfile	2012-01-30 15:37:10 UTC (rev 89463)
+++ trunk/dports/python/py-scikits-module/Portfile	2012-01-31 21:04:17 UTC (rev 89481)
@@ -2,11 +2,11 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-scikits-module
+name                py-scikits-module
 version             0.1
-maintainers         mnick
+maintainers         mnick stromnov
 
 description         provides the files common to all scikits
 long_description    ${description}
@@ -15,14 +15,21 @@
 
 homepage            http://scikits.appspot.com
 
-# Nothing to see here, move along
-distfiles
-build {}
+supported_archs     noarch
 
-destroot {
-    set scikits_dir ${destroot}${python.pkgd}/scikits
-    file mkdir ${scikits_dir}
-    file copy ${portpath}/${filesdir}/__init__.py ${scikits_dir}
+python.versions        24 25 26 27
+python.default_version 24
+
+if {${subport} != ${name}} {
+    # Nothing to see here, move along
+    distfiles
+    build {}
+
+    destroot {
+        set scikits_dir ${destroot}${python.pkgd}/scikits
+        file mkdir ${scikits_dir}
+        file copy ${portpath}/${filesdir}/__init__.py ${scikits_dir}
+    }
+
+    livecheck.type      none
 }
-
-livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120131/99d02425/attachment.html>


More information about the macports-changes mailing list