Revision
107394
Author
jmr@macports.org
Date
2013-06-26 19:27:17 -0700 (Wed, 26 Jun 2013)

Log Message

py-scikits-statsmodels: fix setuptools dep type, disable livecheck in subports

Modified Paths

Diff

Modified: trunk/dports/python/py-scikits-statsmodels/Portfile (107393 => 107394)


--- trunk/dports/python/py-scikits-statsmodels/Portfile	2013-06-27 02:22:55 UTC (rev 107393)
+++ trunk/dports/python/py-scikits-statsmodels/Portfile	2013-06-27 02:27:17 UTC (rev 107394)
@@ -28,16 +28,15 @@
 checksums           rmd160  dbc48424d42f6f6215e78f0ffed0f48cf21bd758 \
                     sha256  504a4f6ccb657c1fab21c6cea5bc53a698bebf72f226dbf0f13374f7f371a7d4
 
-python.default_version  27
 python.versions     26 27 32
 
 if {$subport != $name} {
+    depends_build   port:py${python.version}-setuptools
     depends_lib-append  \
                     port:py${python.version}-numpy \
                     port:py${python.version}-scipy \
                     port:py${python.version}-pandas \
                     port:py${python.version}-cython \
-                    port:py${python.version}-setuptools \
                     port:py${python.version}-scikits-module
 
     post-patch {
@@ -48,8 +47,10 @@
         # scikits/__init__.py is provided by scikits-module
         file delete ${destroot}${python.pkgd}/scikits/__init__.py
     }
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "statsmodels-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "statsmodels-(\\d+(?:\\.\\d+)*)${extract.suffix}"