Revision
89481
Author
macsforever2000@macports.org
Date
2012-01-31 13:04:17 -0800 (Tue, 31 Jan 2012)

Log Message

py-scikits-module: unify.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/dports/python/py-scikits-module/Portfile (89463 => 89481)


--- 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